import { BasicColumn } from '/@/components/Table'; export const columnsType: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '检测地点', dataIndex: 'jcdd', key: 'jcdd', width: 260, align: 'center', }, { title: '检测次数', dataIndex: 'checkNum', key: 'checkNum', align: 'center', }, { title: 'O₂(%)', dataIndex: 'o2', key: 'o2', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'co', key: 'co', align: 'center', }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, { title: 'CH₄(%)', dataIndex: 'ch4', key: 'ch4', align: 'center', }, { title: '巡检员', dataIndex: 'checkPerson', key: 'checkPerson', align: 'center', }, // { // title: '检查时间', // dataIndex: 'checkTime', // key: 'checkTime', // align: 'center', // }, ]; //宝德 export const columnBd: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '监测地点', dataIndex: 'jcdd', key: 'jcdd', width: 260, align: 'center', }, { title: 'CH₄(%)', dataIndex: 'ch4', key: 'ch4', align: 'center', }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, ]; //石圪台 export const columnSgt: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '监测地点', dataIndex: 'jcdd', key: 'jcdd', width: 260, align: 'center', }, { title: 'CH₄(%)', dataIndex: 'ch4', key: 'ch4', align: 'center', }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'co', key: 'co', align: 'center', }, { title: 'O₂(%)', dataIndex: 'o2', key: 'o2', align: 'center', }, { title: '温度(°C)', dataIndex: 't', key: 't', align: 'center', }, { title: '瓦检员', dataIndex: 'checkPerson', key: 'checkPerson', align: 'center', }, ]; //寸草塔二矿 export const columnCctr: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '监测地点', dataIndex: 'jcdd', key: 'jcdd', width: 260, align: 'center', }, { title: 'CH₄(%)', dataIndex: 'ch4', key: 'ch4', align: 'center', }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'co', key: 'co', align: 'center', }, { title: 'O₂(%)', dataIndex: 'o2', key: 'o2', align: 'center', }, { title: 'T(°C)', dataIndex: 't', key: 't', align: 'center', }, ]; //寸草塔矿 export const columnCct: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '检查地点', dataIndex: 'jcdd', key: 'jcdd', align: 'center', }, { title: '检查次数', dataIndex: 'checkNum', key: 'checkNum', align: 'center', }, { title: '检查时间', dataIndex: 'jcsj', key: 'jcsj', align: 'center', }, { title: 'CH₄(%)', children: [ { title: '光瓦测量值(%)', dataIndex: 'ch4gw', key: 'ch4gw', align: 'center', }, { title: '便携仪/传感器测量值(%)', dataIndex: 'ch4bxy', key: 'ch4bxy', align: 'center', }, ] }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'co', key: 'co', align: 'center', }, { title: 'O₂(%)', dataIndex: 'o2', key: 'o2', align: 'center', }, { title: 'T(°C)', dataIndex: 't', key: 't', align: 'center', }, { title: '瓦检员', dataIndex: 'checkPerson', key: 'checkPerson', align: 'center', }, ]; //乌兰木伦 export const columnWlml: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '检查地点', dataIndex: 'jcdd', key: 'jcdd', width: 260, align: 'center', }, { title: 'CH₄(%)', dataIndex: 'ch4', key: 'ch4', align: 'center', }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'co', key: 'co', align: 'center', }, { title: 'O₂(%)', dataIndex: 'o2', key: 'o2', align: 'center', }, { title: 'T(°C)', dataIndex: 't', key: 't', align: 'center', }, { title: '检查人', dataIndex: 'checkPerson', key: 'checkPerson', align: 'center', }, ]; //柳塔 export const columnLt: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '检查地点', dataIndex: 'jcdd', key: 'jcdd', width: 260, align: 'center', }, { title: '三班最大值', children:[ { title: '检查时间', dataIndex: 'ch4CheckTime', key: 'ch4CheckTime', align: 'center', }, { title: 'CH₄(%)', dataIndex: 'ch4', key: 'ch4', align: 'center', }, { title: '检查时间', dataIndex: 'co2CheckTime', key: 'co2CheckTime', align: 'center', }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, { title: '检查时间', dataIndex: 'coCheckTime', key: 'coCheckTime', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'co', key: 'co', align: 'center', }, { title: '检查时间', dataIndex: 'tCheckTime', key: 'tCheckTime', align: 'center', }, { title: 'T(°C)', dataIndex: 't', key: 't', align: 'center', }, ] }, { title: '三班最小值', children:[ { title: '检查时间', dataIndex: 'o2CheckTime', key: 'o2CheckTime', align: 'center', }, { title: 'O₂(%)', dataIndex: 'o2', key: 'o2', align: 'center', }, ] }, ]; //榆家梁 export const columnYjl: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '监测地点', dataIndex: 'jcdd', key: 'jcdd', width: 260, align: 'center', }, { title: 'CH₄(%)', dataIndex: 'ch4', key: 'ch4', align: 'center', }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'co', key: 'co', align: 'center', }, { title: 'O₂(%)', dataIndex: 'o2', key: 'o2', align: 'center', }, { title: 'T(°C)', dataIndex: 't', key: 't', align: 'center', }, { title: '检查人', dataIndex: 'checkPerson', key: 'checkPerson', align: 'center', }, ]; //补连塔 export const columnBlt: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '监测地点', dataIndex: 'jcdd', key: 'jcdd', width: 260, align: 'center', }, { title: 'CH₄(%)', children: [ { title: '传感器显示值', dataIndex: 'ch4cgq', key: 'ch4cgq', align: 'center', }, { title: '光瓦测量值', dataIndex: 'ch4gw', key: 'ch4gw', align: 'center', }, { title: '便携仪测量值', dataIndex: 'ch4bxy', key: 'ch4bxy', align: 'center', }, ] }, { title: 'CO₂(%)', dataIndex: 'co2', key: 'co2', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'co', key: 'co', align: 'center', }, { title: 'O₂(%)', dataIndex: 'o2', key: 'o2', align: 'center', }, { title: '温度(°C)', dataIndex: 't', key: 't', align: 'center', }, { title: '检查人', dataIndex: 'checkPerson', key: 'checkPerson', align: 'center', }, ]; export const columnsGas1: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '监测地点', dataIndex: 'jcdd', key: 'jcdd', width: 180, align: 'center', }, { title: '夜班', children: [ { title: 'CH₄‌(%)', dataIndex: 'ch4Night', key: 'ch4Night', align: 'center', }, { title: 'CO₂‌(%)', dataIndex: 'co2Night', key: 'co2Night', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coNight', key: 'coNight', align: 'center', }, { title: 'O₂‌(%)', dataIndex: 'o2Night', key: 'o2Night', align: 'center', }, { title: 'T(°C)', dataIndex: 'tNight', key: 'tNight', align: 'center', }, ] }, { title: '早班', children: [ { title: 'CH₄‌(%)', dataIndex: 'ch4Early', key: 'ch4Early', align: 'center', }, { title: 'CO₂‌(%)', dataIndex: 'co2Early', key: 'co2Early', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coEarly', key: 'coEarly', align: 'center', }, { title: 'O₂‌(%)', dataIndex: 'o2Early', key: 'o2Early', align: 'center', }, { title: 'T(°C)', dataIndex: 'tEarly', key: 'tEarly', align: 'center', }, ] }, { title: '中班', children: [ { title: 'CH₄‌(%)', dataIndex: 'ch4Noon', key: 'ch4Noon', align: 'center', }, { title: 'CO₂‌(%)', dataIndex: 'co2Noon', key: 'co2Noon', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coNoon', key: 'coNoon', align: 'center', }, { title: 'O₂‌(%)', dataIndex: 'o2Noon', key: 'o2Noon', align: 'center', }, { title: 'T(°C)', dataIndex: 'tNoon', key: 'tNoon', align: 'center', }, ] }, ]; export const columnsGas2: BasicColumn[] = [ { title: '序号', width: 60, align: 'center', customRender: ({ index }: { index: number }) => `${index + 1}` }, { title: '监测地点', dataIndex: 'jcdd', key: 'jcdd', width: 130, align: 'center', }, { title: '煤层', dataIndex: 'mc', width: 80, key: 'mc', align: 'center', }, { title: '夜班', children: [ { title: 'CH₄‌(%)', dataIndex: 'ch4Night', key: 'ch4Night', align: 'center', }, { title: 'CO₂‌(%)', dataIndex: 'co2Night', key: 'co2Night', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coNight', key: 'coNight', width: 80, align: 'center', }, { title: 'O₂‌(%)', dataIndex: 'o2Night', key: 'o2Night', align: 'center', }, { title: 'T(°C)', dataIndex: 'tNight', key: 'tNight', align: 'center', }, { title: '巡检员', dataIndex: 'checkPersonNight', key: 'checkPersonNight', align: 'center', }, ] }, { title: '早班', children: [ { title: 'CH₄‌(%)', dataIndex: 'ch4Early', key: 'ch4Early', align: 'center', }, { title: 'CO₂‌(%)', dataIndex: 'co2Early', key: 'co2Early', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coEarly', key: 'coEarly', width: 80, align: 'center', }, { title: 'O₂‌(%)', dataIndex: 'o2Early', key: 'o2Early', align: 'center', }, { title: 'T(°C)', dataIndex: 'tEarly', key: 'tEarly', align: 'center', }, { title: '巡检员', dataIndex: 'checkPersonEarly', key: 'checkPersonEarly', align: 'center', }, ] }, { title: '中班', children: [ { title: 'CH₄‌(%)', dataIndex: 'ch4Noon', key: 'ch4Noon', align: 'center', }, { title: 'CO₂‌(%)', dataIndex: 'co2Noon', key: 'co2Noon', align: 'center', }, { title: 'CO(ppm)', dataIndex: 'coNoon', key: 'coNoon', width: 80, align: 'center', }, { title: 'O₂‌(%)', dataIndex: 'o2Noon', key: 'o2Noon', align: 'center', }, { title: 'T(°C)', dataIndex: 'tNoon', key: 'tNoon', align: 'center', }, { title: '巡检员', dataIndex: 'checkPersonNoon', key: 'checkPersonNoon', align: 'center', }, ] }, ];