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