| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- 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' },
- },
- ];
|