Commit df16262d authored by lizehua's avatar lizehua

修改指标页面

parent 8ce14d89
...@@ -44,10 +44,6 @@ const getColumns = () => { ...@@ -44,10 +44,6 @@ const getColumns = () => {
dataIndex: 'type', dataIndex: 'type',
key: 'type', key: 'type',
width: '10%', width: '10%',
render: text => {
if (text === 'alarm_type_trouble') { return '故障告警'; }
if (text === 'alarm_type_fire') { return '火灾报警'; }
},
className: 'uant-table-thead' className: 'uant-table-thead'
}, },
{ {
...@@ -76,13 +72,8 @@ const getColumns = () => { ...@@ -76,13 +72,8 @@ const getColumns = () => {
{ {
title: '恢复时间', title: '恢复时间',
dataIndex: 'recoveryDate', dataIndex: 'recoveryDate',
key: 'recoveryDate' + 'fireEquipmentCode', key: 'recoveryDate',
width: '10%', width: '10%',
render: text => {
if (text) {
moment(text).format('YYYY-MM-DD HH:mm:ss');
}
},
className: 'uant-table-thead' className: 'uant-table-thead'
} }
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment