import { BasicColumn } from '/@/components/Table'; export const gaspatrolColumnsTwo: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '地点', dataIndex: 'strInstallPos', key: 'strInstallPos', align: 'center', }, { title: '第一次', children: [ { title: 'CH4(%)', dataIndex: 'ch4One', key: 'ch4One', align: 'center', }, { title: 'CO2(%)', dataIndex: 'co2One', key: 'co2One', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coOne', key: 'coOne', align: 'center', }, { title: 'O2(%)', dataIndex: 'o2One', key: 'o2One', align: 'center', }, { title: '温度(°C)', dataIndex: 'tOne', key: 'tOne', align: 'center', }, { title: '时间', dataIndex: 'timeOne', key: 'timeOne', align: 'center', }, ] }, { title: '第二次', children: [ { title: 'CH4(%)', dataIndex: 'ch4Two', key: 'ch4Two', align: 'center', }, { title: 'CO2(%)', dataIndex: 'co2Two', key: 'co2Two', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coTwo', key: 'coTwo', align: 'center', }, { title: 'O2(%)', dataIndex: 'o2Two', key: 'o2Two', align: 'center', }, { title: '温度(°C)', dataIndex: 'tTwo', key: 'tTwo', align: 'center', }, { title: '时间', dataIndex: 'timeTwo', key: 'timeTwo', align: 'center', }, ] }, { title: '瓦检员', dataIndex: 'checkPerson', key: 'checkPerson', align: 'center', }, { title: '操作', dataIndex: 'action', width: 120, align: 'center', slots: { customRender: 'action' }, }, ]; export const gaspatrolColumnsOne : BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '地点', dataIndex: 'strInstallPos', key: 'strInstallPos', align: 'center', }, { title: 'CH4(%)', dataIndex: 'ch4One', key: 'ch4One', align: 'center', }, { title: 'CO2(%)', dataIndex: 'co2One', key: 'co2One', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coOne', key: 'coOne', align: 'center', }, { title: 'O2(%)', dataIndex: 'o2One', key: 'o2One', align: 'center', }, { title: '温度(°C)', dataIndex: 'tOne', key: 'tOne', align: 'center', }, { title: '时间', dataIndex: 'timeOne', key: 'timeOne', align: 'center', }, { title: '瓦检员', dataIndex: 'checkPerson', key: 'checkPerson', align: 'center', }, { title: '操作', dataIndex: 'action', width: 200, align: 'center', slots: { customRender: 'action' }, }, ];