Browse Source

表格映射类型的展现

dev
wenlele 2 years ago
parent
commit
edb3a07dca
  1. 11
      web/client/src/sections/install/containers/system.jsx

11
web/client/src/sections/install/containers/system.jsx

@ -224,10 +224,19 @@ const Example = (props) => {
) )
} }
}, },
{
title: '映射类型',
dataIndex: "mappingClass",
key: 'mappingClass',
render: (_, row) => {
let data = { wisdom: '智慧类', monitor: '监测类', other: '其他' }
return data[row.mappingClass]
}
},
{ {
title: '关联时间', title: '关联时间',
dataIndex: "createTime", dataIndex: "createTime",
key: 'time', key: 'createTime',
render: (_, row) => { render: (_, row) => {
return moment(row.createTime).format("YYYY-MM-DD HH:mm:ss") return moment(row.createTime).format("YYYY-MM-DD HH:mm:ss")
} }

Loading…
Cancel
Save