统计代码优化
This commit is contained in:
@@ -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: "水质目标",
|
||||
|
||||
Reference in New Issue
Block a user