| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- import { BasicColumn } from '/@/components/Table';
- import { FormSchema } from '/@/components/Table';
- export const boardData = [
- {
- label: '存在风险情况数量',
- value: '10',
- },
- {
- label: '低风险',
- value: '27',
- },
- {
- label: '一般风险',
- value: '27',
- },
- {
- label: '较高风险',
- value: '27',
- },
- {
- label: '高风险',
- value: '27',
- },
- ];
- // 实时数据相关
- export const columns: BasicColumn[] = [
- {
- title: '序号',
- align: 'center',
- width: 80,
- customRender: ({ index }: { index: number }) => `${index + 1}`,
- },
- {
- 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: 'CH4(%)',
- dataIndex: 'ch4Val',
- width: 100,
- },
- {
- title: 'C2H4(ppm)',
- dataIndex: 'c2h4Val',
- width: 100,
- },
- {
- title: 'C2H2(ppm)',
- dataIndex: 'c2h2Val',
- width: 100,
- },
- {
- title: 'O2(%)',
- dataIndex: 'o2Val',
- width: 100,
- },
- {
- title: '爆炸危险性',
- dataIndex: 'explosionHazard',
- width: 100,
- },
- {
- title: '处置意见',
- dataIndex: 'suggestion',
- width: 100,
- },
- {
- title: '预警时间',
- dataIndex: 'createTime',
- width: 100,
- },
- {
- title: '是否解决',
- dataIndex: 'isResolved',
- width: 100,
- },
- ];
- export const searchFormSchema: FormSchema[] = [
- {
- field: 'mineName',
- label: '所属执法处',
- component: 'Select',
- componentProps: {
- options: [
- { label: '执法一处', value: '0' },
- { label: '执法二处', value: '1' },
- { label: '执法三处', value: '2' },
- ],
- },
- colProps: { span: 6 },
- },
- {
- field: 'mineName',
- label: '所属区域',
- component: 'Select',
- componentProps: {
- options: [
- { label: '执法一处', value: '0' },
- { label: '执法二处', value: '1' },
- { label: '执法三处', value: '2' },
- ],
- },
- colProps: { span: 6 },
- },
- {
- field: 'mineName',
- label: '煤矿名称',
- component: 'Input',
- colProps: { span: 6 },
- },
- {
- field: 'mineNameAbbr',
- label: '煤矿简称',
- component: 'Input',
- colProps: { span: 6 },
- },
- {
- field: 'productStatus',
- label: '生产状态',
- component: 'Select',
- componentProps: {
- options: [
- { label: '拟建矿井', value: '0' },
- { label: '正常生产矿井', value: '1' },
- { label: '长期停产矿井', value: '2' },
- ],
- },
- colProps: { span: 6 },
- },
- {
- field: 'riskLevel',
- label: '自燃情况',
- component: 'Select',
- componentProps: {
- options: [
- { label: 'Ⅰ类容易自燃', value: '0' },
- { label: 'Ⅱ类自燃', value: '1' },
- { label: 'Ⅲ类不易自燃', value: '2' },
- ],
- },
- colProps: { span: 6 },
- },
- ];
- export const minesData = [
- {
- orderNo: 101, // 序号
- enforcement: '执法一处', // 区域
- mineName: '神木市三江', // 煤矿名称
- sealedName: '采空区密闭', // 密闭名称
- coalSeam: 'XX煤层', // 所属煤层
- riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
- COVal: 24, // CO浓度(ppm)
- CH4Val: 0, // CH4浓度(%)
- C2H2Val: 0, // C2H2浓度(ppm)
- O2Val: 20, // O2浓度(%)
- temperature: 35, // 温度(℃)
- pressureDiff: 50, // 压差(Pa)
- leakage: '气体涌出', // 是否漏风
- fireHazard: '低风险', // 自然发火隐患
- unsealing: '不可启封', // 密闭启封判定
- explosionHazard: '低风险', // 爆炸危险性
- updateTime: '2025-11-17 15:00:40', // 更新时间
- alertTime: '2025-11-17 15:00:40',
- interPressure: '10',
- outerPressure: '20',
- },
- {
- orderNo: 102, // 序号
- enforcement: '执法一处', // 区域
- mineName: '神木市三江', // 煤矿名称
- sealedName: '采空区密闭', // 密闭名称
- coalSeam: 'XX煤层', // 所属煤层
- riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
- COVal: 24, // CO浓度(ppm)
- CH4Val: 0, // CH4浓度(%)
- C2H2Val: 0, // C2H2浓度(ppm)
- O2Val: 20, // O2浓度(%)
- temperature: 35, // 温度(℃)
- pressureDiff: 50, // 压差(Pa)
- leakage: '气体涌出', // 是否漏风
- fireHazard: '低风险', // 自然发火隐患
- unsealing: '不可启封', // 密闭启封判定
- explosionHazard: '低风险', // 爆炸危险性
- updateTime: '2025-11-17 15:00:40', // 更新时间
- alertTime: '2025-11-17 15:00:40',
- interPressure: '10',
- outerPressure: '20',
- },
- {
- orderNo: 103, // 序号
- enforcement: '执法一处', // 区域
- mineName: '神木市三江', // 煤矿名称
- sealedName: '采空区密闭', // 密闭名称
- coalSeam: 'XX煤层', // 所属煤层
- riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
- COVal: 24, // CO浓度(ppm)
- CH4Val: 0, // CH4浓度(%)
- C2H2Val: 0, // C2H2浓度(ppm)
- O2Val: 20, // O2浓度(%)
- temperature: 35, // 温度(℃)
- pressureDiff: 50, // 压差(Pa)
- leakage: '气体涌出', // 是否漏风
- fireHazard: '低风险', // 自然发火隐患
- unsealing: '不可启封', // 密闭启封判定
- explosionHazard: '低风险', // 爆炸危险性
- updateTime: '2025-11-17 15:00:40', // 更新时间
- alertTime: '2025-11-17 15:00:40',
- interPressure: '10',
- outerPressure: '20',
- },
- ];
- export const historicalMinesData = [
- {
- orderNo: 101, // 序号
- enforcement: '执法一处', // 区域
- mineName: '神木市三江', // 煤矿名称
- sealedName: '采空区密闭', // 密闭名称
- coalSeam: 'XX煤层', // 所属煤层
- riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
- COVal: 24, // CO浓度(ppm)
- CH4Val: 0, // CH4浓度(%)
- C2H2Val: 0, // C2H2浓度(ppm)
- O2Val: 20, // O2浓度(%)
- temperature: 35, // 温度(℃)
- pressureDiff: 50, // 压差(Pa)
- leakage: '气体涌出', // 是否漏风
- fireHazard: '低风险', // 自然发火隐患
- unsealing: '不可启封', // 密闭启封判定
- explosionHazard: '低风险', // 爆炸危险性
- updateTime: '2025-12-22 15:00:40', // 更新时间
- alertTime: '2025-11-17 15:00:40',
- interPressure: '10',
- outerPressure: '20',
- },
- {
- orderNo: 102, // 序号
- enforcement: '执法一处', // 区域
- mineName: '神木市三江', // 煤矿名称
- sealedName: '采空区密闭', // 密闭名称
- coalSeam: 'XX煤层', // 所属煤层
- riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
- COVal: 24, // CO浓度(ppm)
- CH4Val: 0, // CH4浓度(%)
- C2H2Val: 0, // C2H2浓度(ppm)
- O2Val: 20, // O2浓度(%)
- temperature: 35, // 温度(℃)
- pressureDiff: 50, // 压差(Pa)
- leakage: '气体涌出', // 是否漏风
- fireHazard: '低风险', // 自然发火隐患
- unsealing: '不可启封', // 密闭启封判定
- explosionHazard: '低风险', // 爆炸危险性
- updateTime: '2025-12-22 15:00:40', // 更新时间
- alertTime: '2025-11-17 15:00:40',
- interPressure: '10',
- outerPressure: '20',
- },
- {
- orderNo: 103, // 序号
- enforcement: '执法一处', // 区域
- mineName: '神木市三江', // 煤矿名称
- sealedName: '采空区密闭', // 密闭名称
- coalSeam: 'XX煤层', // 所属煤层
- riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
- COVal: 24, // CO浓度(ppm)
- CH4Val: 0, // CH4浓度(%)
- C2H2Val: 0, // C2H2浓度(ppm)
- O2Val: 20, // O2浓度(%)
- temperature: 35, // 温度(℃)
- pressureDiff: 50, // 压差(Pa)
- leakage: '气体涌出', // 是否漏风
- fireHazard: '低风险', // 自然发火隐患
- unsealing: '不可启封', // 密闭启封判定
- explosionHazard: '低风险', // 爆炸危险性
- updateTime: '2025-12-22 15:00:40', // 更新时间
- alertTime: '2025-11-17 15:00:40',
- interPressure: '10',
- outerPressure: '20',
- },
- ];
|