物联设备摄像头设备标识不需要填写

This commit is contained in:
曹磊 2026-04-24 15:50:13 +08:00
parent 15af90f66f
commit 214e6c8134
2 changed files with 10 additions and 0 deletions

View File

@ -138,6 +138,7 @@ function getTableAction(record) {
{
label: '设备标识',
onClick: handleEdit.bind(null, record),
ifShow: record.deviceType != 'SURVEILLANCECAMERA'
},
];
}

View File

@ -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: '时间',