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