|
@@ -0,0 +1,456 @@
|
|
|
+import { reactive, markRaw, defineAsyncComponent } from 'vue';
|
|
|
+import { BasicColumn, FormSchema } from '/@/components/Table';
|
|
|
+import echarts from '/@/utils/lib/echarts';
|
|
|
+import type { EChartsOption } from 'echarts';
|
|
|
+import { getAssetURL } from '/@/utils/ui';
|
|
|
+
|
|
|
+//内外因火灾菜单列表
|
|
|
+export const typeMenuList = [{ name: '内因火灾' }, { name: '外因火灾' }];
|
|
|
+//菜单列表
|
|
|
+export const menuList = [
|
|
|
+ { name: '综采工作面1', warn: '低风险', type: 'on' },
|
|
|
+ { name: '密闭工作面1', warn: '低风险', type: 'on' },
|
|
|
+ { name: '其他工作面1', warn: '低风险', type: 'on' },
|
|
|
+];
|
|
|
+
|
|
|
+//当前加载组件
|
|
|
+export const componentName = {
|
|
|
+ fireWork: markRaw(defineAsyncComponent(() => import('./fire/fireWork.vue'))),
|
|
|
+ closeWall: markRaw(defineAsyncComponent(() => import('./fire/closeWall.vue'))),
|
|
|
+ otherMonitor: markRaw(defineAsyncComponent(() => import('./fire/otherMonitor.vue'))),
|
|
|
+ mainWell: markRaw(defineAsyncComponent(() => import('./fire/mainWell.vue'))),
|
|
|
+ subStation: markRaw(defineAsyncComponent(() => import('./fire/subStation.vue'))),
|
|
|
+ otherOut: markRaw(defineAsyncComponent(() => import('./fire/otherOut.vue'))),
|
|
|
+};
|
|
|
+
|
|
|
+//工作面
|
|
|
+//顶部区域数据
|
|
|
+export const topList = [
|
|
|
+ {
|
|
|
+ id: 0,
|
|
|
+ label: '最高温度(°C)',
|
|
|
+ imgSrc: true,
|
|
|
+ value: 10,
|
|
|
+ text: '',
|
|
|
+ list: [],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ label: '最低温度(°C)',
|
|
|
+ imgSrc: true,
|
|
|
+ value: 20,
|
|
|
+ text: '',
|
|
|
+ list: [],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ label: '平均温度(°C)',
|
|
|
+ imgSrc: true,
|
|
|
+ value: 15,
|
|
|
+ text: '',
|
|
|
+ list: [],
|
|
|
+ },
|
|
|
+ { id: 3, imgSrc: false, label: '', value: null, text: '无自然发火征兆和隐患', list: [] },
|
|
|
+ {
|
|
|
+ id: 4,
|
|
|
+ imgSrc: false,
|
|
|
+ label: '回风隅角',
|
|
|
+ value: null,
|
|
|
+ text: '',
|
|
|
+ list: [
|
|
|
+ { id: 0, label: 'O2', value: 0 },
|
|
|
+ { id: 1, label: 'CO', value: 0 },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+];
|
|
|
+
|
|
|
+//光钎测温测点编号列表
|
|
|
+export const pointList = [
|
|
|
+ { label: '测点1', value: 0 },
|
|
|
+ { label: '测点2', value: 1 },
|
|
|
+];
|
|
|
+
|
|
|
+//光钎图表数据
|
|
|
+export const echartDataGq = {
|
|
|
+ maxData: [45, 42, 43, 46, 44, 41, 42, 45, 47, 46, 48],
|
|
|
+ minData: [25, 22, 23, 26, 24, 21, 22, 25, 27, 26, 28],
|
|
|
+ aveValue: [35, 32, 33, 36, 34, 31, 32, 35, 37, 36, 38],
|
|
|
+ xData: [
|
|
|
+ '2023-09-12 11:22',
|
|
|
+ '2023-09-12 11:23',
|
|
|
+ '2023-09-12 11:24',
|
|
|
+ '2023-09-12 11:25',
|
|
|
+ '2023-09-12 11:26',
|
|
|
+ '2023-09-12 11:27',
|
|
|
+ '2023-09-12 11:28',
|
|
|
+ '2023-09-12 11:29',
|
|
|
+ '2023-09-12 11:30',
|
|
|
+ '2023-09-12 11:31',
|
|
|
+ '2023-09-12 11:32',
|
|
|
+ ],
|
|
|
+};
|
|
|
+
|
|
|
+//束管监测-测点编号列表
|
|
|
+export const pointList1 = [
|
|
|
+ { label: '测点1', value: 0 },
|
|
|
+ { label: '测点2', value: 1 },
|
|
|
+];
|
|
|
+
|
|
|
+//束管监测选项列表
|
|
|
+export const contentList = [
|
|
|
+ {
|
|
|
+ id: 0,
|
|
|
+ list: [
|
|
|
+ {
|
|
|
+ id: '0-0',
|
|
|
+ title: 'O2',
|
|
|
+ label: '浓度 : ',
|
|
|
+ value: 10,
|
|
|
+ label1: '时间 : ',
|
|
|
+ time: '2023-09-12 14:00',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: '0-1',
|
|
|
+ title: 'C2H4',
|
|
|
+ label: '浓度 : ',
|
|
|
+ value: 10,
|
|
|
+ label1: '时间 : ',
|
|
|
+ time: '2023-09-12 14:01',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ list: [
|
|
|
+ {
|
|
|
+ id: '1-0',
|
|
|
+ title: 'CO',
|
|
|
+ label: '浓度 : ',
|
|
|
+ value: 20,
|
|
|
+ label1: '时间 : ',
|
|
|
+ time: '2023-09-12 14:02',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: '1-1',
|
|
|
+ title: 'CH4',
|
|
|
+ label: '浓度 : ',
|
|
|
+ value: 20,
|
|
|
+ label1: '时间 : ',
|
|
|
+ time: '2023-09-12 14:03',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ list: [
|
|
|
+ {
|
|
|
+ id: '2-0',
|
|
|
+ title: 'CO2',
|
|
|
+ label: '浓度 : ',
|
|
|
+ value: 30,
|
|
|
+ label1: '时间 : ',
|
|
|
+ time: '2023-09-12 14:04',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: '2-1',
|
|
|
+ title: 'C2H2',
|
|
|
+ label: '浓度 : ',
|
|
|
+ value: 30,
|
|
|
+ label1: '时间 : ',
|
|
|
+ time: '2023-09-12 14:05',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+];
|
|
|
+
|
|
|
+//束管监测-图表数据
|
|
|
+export const echartDataSg = {
|
|
|
+ xData: [
|
|
|
+ '2023-09-12 13:40',
|
|
|
+ '2023-09-12 13:41',
|
|
|
+ '2023-09-12 13:42',
|
|
|
+ '2023-09-12 13:43',
|
|
|
+ '2023-09-12 13:44',
|
|
|
+ '2023-09-12 13:45',
|
|
|
+ '2023-09-12 13:46',
|
|
|
+ '2023-09-12 13:47',
|
|
|
+ ],
|
|
|
+ yData: [42, 38, 41, 43, 40, 45, 44, 47, 43],
|
|
|
+};
|
|
|
+
|
|
|
+//密闭参数列表
|
|
|
+export const mbList = [
|
|
|
+ {
|
|
|
+ label: 'O2',
|
|
|
+ label1: '浓度',
|
|
|
+ label2: '时间',
|
|
|
+ label3: '位置',
|
|
|
+ nd: 4.45,
|
|
|
+ time1: '2023-09-12 15:04',
|
|
|
+ address: '综采工作面45联巷密闭',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: 'CO',
|
|
|
+ label1: '浓度',
|
|
|
+ label2: '时间',
|
|
|
+ label3: '位置',
|
|
|
+ nd: 2.2,
|
|
|
+ time1: '2023-09-12 15:04',
|
|
|
+ address: '综采工作面45联巷密闭',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: 'CO2',
|
|
|
+ label1: '浓度',
|
|
|
+ label2: '时间',
|
|
|
+ label3: '位置',
|
|
|
+ nd: 0.28,
|
|
|
+ time1: '2023-09-12 15:04',
|
|
|
+ address: '综采工作面45联巷密闭',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: 'CH4',
|
|
|
+ label1: '浓度',
|
|
|
+ label2: '时间',
|
|
|
+ label3: '位置',
|
|
|
+ nd: 0.29,
|
|
|
+ time1: '2023-09-12 15:04',
|
|
|
+ address: '综采工作面45联巷密闭',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: 'DP',
|
|
|
+ label1: '浓度',
|
|
|
+ label2: '时间',
|
|
|
+ label3: '位置',
|
|
|
+ nd: 0,
|
|
|
+ time1: '2023-09-12 15:04',
|
|
|
+ address: '综采工作面45联巷密闭',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: 'T',
|
|
|
+ label1: '浓度',
|
|
|
+ label2: '时间',
|
|
|
+ label3: '位置',
|
|
|
+ nd: 16.48,
|
|
|
+ time1: '2023-09-12 15:04',
|
|
|
+ address: '综采工作面45联巷密闭',
|
|
|
+ },
|
|
|
+];
|
|
|
+
|
|
|
+//其他工作面table列
|
|
|
+export const columnsOther = [
|
|
|
+ { rowIndex: 1, dataIndex: 'info', title: '监测位置', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 2, dataIndex: 'wd', title: '甲烷浓度(℃)', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 3, dataIndex: 'tempmax', title: '一氧化碳(℃)', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 4, dataIndex: 'tempmin', title: '二氧化碳(℃)', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 5, dataIndex: 'info.netStatus', title: '氧气', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 6, dataIndex: 'info.warnStatus', title: '温度', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 7, dataIndex: 'createTime', title: '检测人', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 8, dataIndex: 'createTime1', title: '日期', type: '1', align: 'center' },
|
|
|
+];
|
|
|
+
|
|
|
+//外因火灾-工作面顶部区域数据
|
|
|
+export const topOutList = [
|
|
|
+ {
|
|
|
+ id: 0,
|
|
|
+ imgSrc: true,
|
|
|
+ label: '最高温度(°C)',
|
|
|
+ value: 17.69,
|
|
|
+ text: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ imgSrc: true,
|
|
|
+ label: '最低温度(°C)',
|
|
|
+ value: 14.26,
|
|
|
+ text: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ imgSrc: true,
|
|
|
+ label: '平均温度(°C)',
|
|
|
+ value: 16.78,
|
|
|
+ text: '',
|
|
|
+ },
|
|
|
+ { id: 3, imgSrc: false, label: '', value: null, text: '无自然发火征兆和隐患' },
|
|
|
+ {
|
|
|
+ id: 4,
|
|
|
+ imgSrc: false,
|
|
|
+ label: '',
|
|
|
+ value: null,
|
|
|
+ text: '井下消防材料库',
|
|
|
+ },
|
|
|
+];
|
|
|
+
|
|
|
+//外因火灾-中间区域标题数据
|
|
|
+export const tabList = [
|
|
|
+ { id: 0, label: '烟雾传感器监测', details: '设备类型名称' },
|
|
|
+ { id: 1, label: '火焰传感器监测', details: '设备类型名称' },
|
|
|
+ { id: 2, label: '自动喷淋灭火装置监测', details: '设备类型名称' },
|
|
|
+];
|
|
|
+
|
|
|
+//外因火灾-传感器table列
|
|
|
+export const columns = [
|
|
|
+ { rowIndex: 1, dataIndex: 'pointName', title: '名称', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 2, dataIndex: 'isOpen', title: '状态', type: '1', align: 'center' },
|
|
|
+ { rowIndex: 3, dataIndex: 'time', title: '时间', type: '1', align: 'center' },
|
|
|
+];
|
|
|
+
|
|
|
+//外因火灾温度监测-测点列表
|
|
|
+export const pointOutList = [
|
|
|
+ { label: '测点1', value: 0 },
|
|
|
+ { label: '测点2', value: 1 },
|
|
|
+];
|
|
|
+
|
|
|
+//外因火灾温度监测-图表数据
|
|
|
+export const echartDataWd = {
|
|
|
+ xData: [
|
|
|
+ '2023-09-13 10:15',
|
|
|
+ '2023-09-13 10:16',
|
|
|
+ '2023-09-13 10:17',
|
|
|
+ '2023-09-13 10:18',
|
|
|
+ '2023-09-13 10:19',
|
|
|
+ '2023-09-13 10:20',
|
|
|
+ '2023-09-13 10:21',
|
|
|
+ '2023-09-13 10:22',
|
|
|
+ ],
|
|
|
+ maxData: [32, 33, 31, 33, 34, 36, 35, 37],
|
|
|
+ minData: [13, 15, 14, 12, 16, 15, 17, 19],
|
|
|
+ aveaData: [21, 24, 23, 22, 26, 24, 25, 23],
|
|
|
+};
|
|
|
+
|
|
|
+//井下消防材料库列表
|
|
|
+export const dataList = [
|
|
|
+ {
|
|
|
+ fq: '1防区',
|
|
|
+ btnText: '开启灭火器',
|
|
|
+ label: '喷气',
|
|
|
+ value: '正常',
|
|
|
+ contentList: [
|
|
|
+ {
|
|
|
+ id: 0,
|
|
|
+ imgSrc: getAssetURL('fire/fire.svg'),
|
|
|
+ label: '喷气',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ imgSrc: getAssetURL('fire/smoke.svg'),
|
|
|
+ label: '喷气1',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ imgSrc: getAssetURL('fire/fire.svg'),
|
|
|
+ label: '喷气2',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 3,
|
|
|
+ imgSrc: getAssetURL('fire/warn.svg'),
|
|
|
+ label: '喷气3',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ fq: '2防区',
|
|
|
+ btnText: '开启灭火器',
|
|
|
+ label: '喷气',
|
|
|
+ value: '正常',
|
|
|
+ contentList: [
|
|
|
+ {
|
|
|
+ id: 0,
|
|
|
+ imgSrc: getAssetURL('fire/fire.svg'),
|
|
|
+ label: '喷气',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ imgSrc: getAssetURL('fire/smoke.svg'),
|
|
|
+ label: '喷气1',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ imgSrc: getAssetURL('fire/fire.svg'),
|
|
|
+ label: '喷气2',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 3,
|
|
|
+ imgSrc: getAssetURL('fire/warn.svg'),
|
|
|
+ label: '喷气3',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ fq: '3防区',
|
|
|
+ btnText: '开启灭火器',
|
|
|
+ label: '喷气',
|
|
|
+ value: '正常',
|
|
|
+ contentList: [
|
|
|
+ {
|
|
|
+ id: 0,
|
|
|
+ imgSrc: getAssetURL('fire/fire.svg'),
|
|
|
+ label: '喷气',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ imgSrc: getAssetURL('fire/smoke.svg'),
|
|
|
+ label: '喷气1',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ imgSrc: getAssetURL('fire/fire.svg'),
|
|
|
+ label: '喷气2',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 3,
|
|
|
+ imgSrc: getAssetURL('fire/warn.svg'),
|
|
|
+ label: '喷气3',
|
|
|
+ value: '正常',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+];
|
|
|
+
|
|
|
+//外应火灾井下消防材料库标题列表1
|
|
|
+export const tabList1 = [
|
|
|
+ { id: 0, label: '综采工作面温度监测', details: '设备类型名称' },
|
|
|
+ { id: 1, label: '掘进工作面监测', details: '设备类型名称' },
|
|
|
+ { id: 2, label: '运输系统烟雾传感器监测', details: '设备类型名称' },
|
|
|
+ { id: 3, label: '机电硐室及配电点温度监测', details: '设备类型名称' },
|
|
|
+];
|
|
|
+//综采温度table列
|
|
|
+export const columnWd = [
|
|
|
+ { rowIndex: 1, dataIndex: 'nodePlacement', title: '测点位置', align: 'center', width: '210px', type: '1' },
|
|
|
+ { rowIndex: 2, dataIndex: 'detectValue', title: '温度(℃)', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 3, dataIndex: 'warningMsg', title: '预警级别', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 4, dataIndex: 'dateTime', title: '时间', align: 'center', type: '1' },
|
|
|
+];
|
|
|
+//掘进监测table列
|
|
|
+export const columnsJj = [
|
|
|
+ { rowIndex: 1, dataIndex: 'name', title: '测点位置', align: 'center', width: '180px', type: '1' },
|
|
|
+ { rowIndex: 2, dataIndex: 'co', title: 'CO浓度(%)', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 3, dataIndex: 'wd', title: '温度(℃)', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 4, dataIndex: 'warningMsg', title: '预警级别', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 5, dataIndex: 'dateTime', title: '时间', align: 'center', width: '180px', type: '1' },
|
|
|
+];
|
|
|
+//运输烟雾table列
|
|
|
+export const columnsYw = [
|
|
|
+ { rowIndex: 1, dataIndex: 'nodePlacement', title: '测点位置', align: 'center', width: '180px', type: '1' },
|
|
|
+ { rowIndex: 2, dataIndex: 'detectValue', title: '温度(℃)', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 3, dataIndex: 'warningMsg', title: '预警级别', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 4, dataIndex: 'dateTime', title: '时间', align: 'center', width: '180px', type: '1' },
|
|
|
+];
|
|
|
+//机电硐室table列
|
|
|
+export const columnsJd = [
|
|
|
+ { rowIndex: 1, dataIndex: 'nodePlacement', title: '测点位置', align: 'center', width: '180px', type: '1' },
|
|
|
+ { rowIndex: 2, dataIndex: 'detectValue', title: '温度(℃)', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 3, dataIndex: 'warningMsg', title: '预警级别', align: 'center', type: '1' },
|
|
|
+ { rowIndex: 4, dataIndex: 'dateTime', title: '时间', align: 'center', width: '180px', type: '1' },
|
|
|
+];
|