hldy_yunwei_vue/src/views/device/manager/components/log/log.data.ts

79 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-03-30 18:20:25 +08:00
import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
//列表数据
export const columns: BasicColumn[] = [
2026-03-30 18:20:25 +08:00
{
title: '区域编码',
align: "center",
dataIndex: 'nuId',
customRender:({record})=>{
if(record.nuId==null || record.nuId==''){
return "-";
}else{
return record.nuId;
}
},
width: 100
2026-03-30 18:20:25 +08:00
},
{
title: '区域名称',
align: "center",
dataIndex: 'nuName',
customRender:({record})=>{
if(record.nuName==null || record.nuName==''){
return "-";
}else{
return record.nuName;
}
},
},
2026-04-15 18:00:12 +08:00
{
title: '设备名称',
align: "center",
dataIndex: 'deviceName',
width: 100
},
2026-03-30 18:20:25 +08:00
{
title: '设备类型',
align: "center",
dataIndex: 'deviceType_dictText',
width: 100
2026-03-30 18:20:25 +08:00
},
{
title: '设备型号',
align: "center",
dataIndex: 'deviceModel',
},
{
title: '设备标识',
align: "center",
dataIndex: 'sn',
2026-03-30 18:20:25 +08:00
},
{
title: '生产厂家',
align: "center",
dataIndex: 'factory',
},
{
title: '操作时间',
2026-03-30 18:20:25 +08:00
align: "center",
dataIndex: 'optDate',
width: 150
2026-03-30 18:20:25 +08:00
},
{
title: '操作类型',
2026-03-30 18:20:25 +08:00
align: "center",
dataIndex: 'optType',
2026-03-30 18:20:25 +08:00
width: 100
},
2026-04-20 21:19:13 +08:00
{
title: '备注',
align: "center",
dataIndex: 'remarks',
width: 200
},
2026-03-30 18:20:25 +08:00
];
export const searchFormSchema: FormSchema[] = [];