物联设备摄像头设备标识不需要填写
This commit is contained in:
parent
15af90f66f
commit
214e6c8134
|
|
@ -138,6 +138,7 @@ function getTableAction(record) {
|
|||
{
|
||||
label: '设备标识',
|
||||
onClick: handleEdit.bind(null, record),
|
||||
ifShow: record.deviceType != 'SURVEILLANCECAMERA'
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -112,6 +112,15 @@ export const previewColumns: BasicColumn[] = [
|
|||
title: '设备标识',
|
||||
align: "center",
|
||||
dataIndex: 'sn',
|
||||
customRender:({record})=>{
|
||||
if(record.sn==null){
|
||||
if(record.deviceType == 'SURVEILLANCECAMERA'){
|
||||
return "集成录像机自动获取";
|
||||
}
|
||||
}else{
|
||||
return record.sn;
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '时间',
|
||||
|
|
|
|||
Loading…
Reference in New Issue