Commit f4ae93da authored by 吴俊凯's avatar 吴俊凯

重点设备列表绑定修改

parent d96d9e61
...@@ -26,22 +26,34 @@ const matchEquipmentTableColumns = self => { ...@@ -26,22 +26,34 @@ const matchEquipmentTableColumns = self => {
render: (text, record, index) => `${index + 1}` render: (text, record, index) => `${index + 1}`
}, },
{ {
title: '编号', title: '装备编号',
dataIndex: 'code', dataIndex: 'specificCode',
key: 'code', key: 'specificCode',
width: '30%' width: '15%'
}, },
{ {
title: '名称', title: '名称',
dataIndex: 'name', dataIndex: 'name',
key: 'name', key: 'name',
width: '30%' width: '15%'
},
{
title: 'IOT编码',
dataIndex: 'iotCode',
key: 'iotCode',
width: '15%'
},
{
title: '系统名称',
dataIndex: 'systemName',
key: 'systemName',
width: '15%'
}, },
{ {
title: '位置', title: '位置',
dataIndex: 'address', dataIndex: 'address',
key: 'address', key: 'address',
width: '40%' width: '15%'
} }
]; ];
}; };
......
...@@ -30,28 +30,47 @@ const fireStationTableColumns = self => { ...@@ -30,28 +30,47 @@ const fireStationTableColumns = self => {
render: (text, record, index) => `${index + 1}` render: (text, record, index) => `${index + 1}`
}, },
{ {
title: '编号', title: '装备编号',
dataIndex: 'code', dataIndex: 'specificCode',
key: 'code', key: 'specificCode',
width: '10%' width: '10%'
}, },
{ {
title: '名称', title: '名称',
dataIndex: 'name', dataIndex: 'name',
key: 'name', key: 'name',
width: '25%' width: '15%'
},
{
title: '状态',
dataIndex: 'isbind',
key: 'isbind',
width: '10%',
render: text => text === 'YES' ? '已绑定设备' : ''
},
{
title: 'IOT编码',
dataIndex: 'iotCode',
key: 'iotCode',
width: '10%'
}, },
{ {
title: '所属区域', title: '所属区域',
dataIndex: 'riskSourceName', dataIndex: 'riskSourceName',
key: 'riskSourceName', key: 'riskSourceName',
width: '25%' width: '15%'
},
{
title: '系统名称',
dataIndex: 'systemName',
key: 'systemName',
width: '10%'
}, },
{ {
title: '位置', title: '位置',
dataIndex: 'address', dataIndex: 'address',
key: 'address', key: 'address',
width: '24%' width: '15%'
}, },
{ {
title: '配套设备', title: '配套设备',
......
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