统计代码优化

This commit is contained in:
shixiaoman
2021-12-07 20:21:25 +08:00
parent 95c8da8c1c
commit df51b0a57f
4 changed files with 14 additions and 4 deletions

View File

@@ -54,6 +54,7 @@
</template>
<script>
import moment from "moment";
import {
listAutoYoy,
} from "@/api/ecology/river-statis";
@@ -82,8 +83,9 @@
},
{
title: "时间",
dataIndex: "monitorTime",
dataIndex: "samplingTime",
sorter: true,
customRender: ({text})=> moment(text,"YYYY/MM").format("YYYY-MM")
},
{
title: "水质目标",