饮用水水期代码bug修复

This commit is contained in:
710356044
2021-11-25 20:25:23 +08:00
parent e796d2b837
commit 07f7cf6b66
2 changed files with 25 additions and 9 deletions

View File

@@ -1,6 +1,5 @@
import moment from "moment"
const tableColumns = [
{ title: "断面名称", dataIndex: "place", sorter: true, },
{ title: "断面代码", dataIndex: "sectionCode", sorter: true, },
{ title: "水源名称", dataIndex: "sourceWaterName", sorter: true, },
@@ -11,7 +10,7 @@ const tableColumns = [
{ title: "本月取水量", dataIndex: "waterWithdrawal", sorter: true, },
{ title: "采样时间", dataIndex: "reportTime", sorter: true, customRender: ({text}) => moment(text, "YYYY/MM/DD HH:mm:ss").format("YYYY/MM/DD")},
{ title: "水期代码", dataIndex: "waterPhaseCode",sorter: true,
scopedSlots:{customRender:'action' }
slots:{customRender:'waterCode' }
},
{ title: "水温", dataIndex: "waterTemperature", sorter: true, },
// {title: "采样时间",dataIndex: "monitorTime",sorter: true,},