import { BasicColumn } from '/@/components/Table'; import { alarmCellRender } from '/@/views/monitor/sealedMonitor/monitor.data'; export const boardData = [ { label: '存在风险情况数量', value: '10', }, { label: '低风险', value: '27', }, { label: '一般风险', value: '27', }, { label: '较高风险', value: '27', }, { label: '高风险', value: '27', }, ]; // 实时数据相关 export const columns: BasicColumn[] = [ { title: '区域', dataIndex: 'areaName', width: 100, }, { title: '煤矿名称', dataIndex: 'mineName', width: 200, }, { title: '密闭名称', dataIndex: 'devicePos', width: 100, }, { title: '所属煤层', dataIndex: 'coalSeamName', width: 100, }, { title: '自燃倾向性', dataIndex: 'coalSeamLevel', width: 100, }, { title: 'CO浓度(ppm)', dataIndex: 'coVal', width: 100, }, { title: 'CO日增率(%)', dataIndex: 'coRzl', width: 100, }, { title: 'O2浓度(%)', dataIndex: 'o2Val', width: 100, }, { title: '温度(℃)', dataIndex: 'temperature', width: 100, }, { title: '温差(℃)', dataIndex: 'temperatureDiff', width: 100, }, { title: '风险分析', dataIndex: 'alarmName', width: 100, customRender({ record }) { return alarmCellRender(record); }, }, { title: '预警时间', dataIndex: 'createTime', width: 100, }, { title: '是否解决', customRender: () => '未解决', width: 100, }, ];