import {BasicColumn} from '/@/components/Table'; import {FormSchema} from '/@/components/Table'; //列表数据 export const departColumns: BasicColumn[] = [ { title: '机构编码', align: "center", dataIndex: 'orgCode', width: 150 }, { title: '机构名称', align: "center", dataIndex: 'departName', }, { title: '设备类型', align: "center", dataIndex: 'deviceType_dictText', width: 150 }, { title: '设备型号', align: "center", dataIndex: 'deviceModel', width: 150 }, { title: '生产厂家', align: "center", dataIndex: 'factory', width: 150 }, { title: '设备维度', align: "center", dataIndex: 'dimension', width: 150 }, { title: '采购数量', align: "center", dataIndex: 'purchaseQuantity', width: 150 }, ]; export const nuColumns: BasicColumn[] = [ { title: '机构编码', align: "center", dataIndex: 'orgCode', width: 100 }, { title: '机构名称', align: "center", dataIndex: 'departName', }, { title: '区域编码', align: "center", dataIndex: 'nuId', customRender:({record})=>{ if(record.nuId==null || record.nuId==''){ return "-"; }else{ return record.nuId; } }, width: 120 }, { title: '区域名称', align: "center", dataIndex: 'nuName', customRender:({record})=>{ if(record.nuName==null || record.nuName==''){ return "-"; }else{ return record.nuName; } }, }, { title: '设备类型', align: "center", dataIndex: 'deviceType_dictText', width: 150 }, { title: '设备型号', align: "center", dataIndex: 'deviceModel', width: 150 }, { title: '生产厂家', align: "center", dataIndex: 'factory', width: 150 }, { title: '设备维度', align: "center", dataIndex: 'dimension', width: 100 }, { title: '采购数量', align: "center", dataIndex: 'purchaseQuantity', width: 100 }, ]; export const searchFormSchema: FormSchema[] = [];