|
@@ -2,28 +2,21 @@ import { reactive, ref } from 'vue';
|
|
|
import { BasicColumn } from '/@/components/Table';
|
|
|
import echarts from '/@/utils/lib/echarts';
|
|
|
import * as THREE from 'three';
|
|
|
+import { ModuleDataChart } from '/@/views/vent/deviceManager/configurationTable/types';
|
|
|
|
|
|
export const monitorNav = [
|
|
|
{
|
|
|
- title: '一通三防综合管控',
|
|
|
+ title: '达标评判监测',
|
|
|
isShow: true,
|
|
|
},
|
|
|
{
|
|
|
- title: '通风监测与管控',
|
|
|
- isShow: false,
|
|
|
- },
|
|
|
- {
|
|
|
- title: '防灭火监测与管控',
|
|
|
- isShow: false,
|
|
|
- },
|
|
|
- {
|
|
|
- title: '防尘监测与管控',
|
|
|
- isShow: false,
|
|
|
- },
|
|
|
- {
|
|
|
- title: '瓦斯防治监测与管控',
|
|
|
+ title: '历史曲线',
|
|
|
isShow: false,
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '防灭火监测与管控',
|
|
|
+ // isShow: false,
|
|
|
+ // },
|
|
|
];
|
|
|
|
|
|
export const echartsOption = reactive({
|
|
@@ -126,431 +119,56 @@ export const echartsOption = reactive({
|
|
|
],
|
|
|
});
|
|
|
|
|
|
-export const ventParam = [
|
|
|
- {
|
|
|
- title: '允许超出风量(m³/min)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '瓦斯浓度限值(%)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '瓦斯持续超限时间(s)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '风量调控策略',
|
|
|
- value: '1',
|
|
|
- type: 'radio',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const warningConfig = reactive({
|
|
|
- header: ['设备名称', '预警信息', '时间'],
|
|
|
- data: [
|
|
|
- ['火焰6', '严重报警', '03-05'],
|
|
|
- ['测点43', '一般预警', '03-05'],
|
|
|
- ['CO23', '一般预警', '03-05'],
|
|
|
- ['测点6', '超高预警', '03-05'],
|
|
|
- ['测点65', '超高预警', '03-05'],
|
|
|
- ['温度4', '一般预警', '03-05'],
|
|
|
- ['测点61', '一般预警', '03-05'],
|
|
|
- ['测点87', '一般信息', '03-05'],
|
|
|
- ],
|
|
|
- index: false,
|
|
|
- headerBGC: '#3d9dd45d',
|
|
|
- oddRowBGC: '#009acd10',
|
|
|
- evenRowBGC: '#009acd05',
|
|
|
- align: ['center', 'center', 'center'],
|
|
|
-});
|
|
|
-
|
|
|
-export const locationConfig = reactive({
|
|
|
- header: ['人名', '所在位置', '距离'],
|
|
|
- data: [],
|
|
|
- index: false,
|
|
|
- columnWidth: [100, 200, 80],
|
|
|
- headerBGC: '#3d9dd45d',
|
|
|
- oddRowBGC: '#009acd10',
|
|
|
- evenRowBGC: '#009acd05',
|
|
|
- align: ['center', 'center', 'center'],
|
|
|
-});
|
|
|
-
|
|
|
-export const sensorColumns: BasicColumn[] = [
|
|
|
- {
|
|
|
- title: '名称',
|
|
|
- dataIndex: 'strname',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '实时值',
|
|
|
- dataIndex: 'smokeval',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '报警',
|
|
|
- dataIndex: 'warnFlag',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const gateColumns: BasicColumn[] = [
|
|
|
- {
|
|
|
- title: '名称',
|
|
|
- dataIndex: 'strname',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '前门状态',
|
|
|
- dataIndex: 'frontGateOpen',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '后门状态',
|
|
|
- dataIndex: 'rearGateOpen',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '操作',
|
|
|
- dataIndex: 'action',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const windowColumns: BasicColumn[] = [
|
|
|
- {
|
|
|
- title: '名称',
|
|
|
- dataIndex: 'strname',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '过风量',
|
|
|
- dataIndex: 'forntm3',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '操作',
|
|
|
- dataIndex: 'action',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const windColumns: BasicColumn[] = [
|
|
|
- {
|
|
|
- title: '名称',
|
|
|
- dataIndex: 'strname',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '风量',
|
|
|
- dataIndex: 'm3',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '操作',
|
|
|
- dataIndex: 'action',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const dustColumns: BasicColumn[] = [
|
|
|
- {
|
|
|
- title: '名称',
|
|
|
- dataIndex: 'strname',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '链接状态',
|
|
|
- dataIndex: 'netStatus',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '操作',
|
|
|
- dataIndex: 'action',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const beamTubeColumns = [
|
|
|
- {
|
|
|
- gasval: '甲烷(%)',
|
|
|
- ch2val: '乙烯(ppm)',
|
|
|
- },
|
|
|
- {
|
|
|
- o2val: '氧气(%)',
|
|
|
- chval: '乙炔(ppm)',
|
|
|
- },
|
|
|
- {
|
|
|
- coval: '一氧化碳(ppm)',
|
|
|
- co2val: '二氧化碳(%)',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const groutColumns = [
|
|
|
- {
|
|
|
- flowRate: '流量(m³/min)',
|
|
|
- pressure: '压力(Pa)',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const nitrogenColumns = [
|
|
|
- {
|
|
|
- cumulativeFlow: '流量(m³/min)',
|
|
|
- nitrogenPressure: '压力(Pa)',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const sprayColumns: BasicColumn[] = [
|
|
|
- {
|
|
|
- title: '名称',
|
|
|
- dataIndex: 'strname',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '连接状态',
|
|
|
- dataIndex: 'netStatus',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '启停',
|
|
|
- dataIndex: 'action',
|
|
|
- width: 80,
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const disasterParam = ref([
|
|
|
- {
|
|
|
- title: '触发灾变传感器',
|
|
|
- value: '1',
|
|
|
- type: 'select',
|
|
|
- options: [
|
|
|
- {
|
|
|
- label: 'CO与烟雾',
|
|
|
- value: '1',
|
|
|
- },
|
|
|
- {
|
|
|
- label: 'CO',
|
|
|
- value: '2',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '烟雾',
|
|
|
- value: '3',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- title: 'CO浓度限值(ppm)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
- {
|
|
|
- title: 'CO报警持续时间(s)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '烟雾报警持续时间(s)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
-]);
|
|
|
-
|
|
|
-export const compressorMonitor = [
|
|
|
- {
|
|
|
- title: '总吸风量',
|
|
|
- code: 'windQuantity2',
|
|
|
- unit: 'm³/min',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '总供风量',
|
|
|
- code: 'windQuantity1',
|
|
|
- unit: 'm³/min',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '局扇频率',
|
|
|
- code: 'fHz',
|
|
|
- unit: 'Hz',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '进风风窗当前面积',
|
|
|
- code: 'jinArea',
|
|
|
- unit: '㎡',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '回风风窗当前面积',
|
|
|
- code: 'huiArea',
|
|
|
- unit: '㎡',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const compressorParam = [
|
|
|
- {
|
|
|
- title: 'O2浓度限值',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
- {
|
|
|
- title: 'CO浓度限值',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const compressorDeviceParam = [
|
|
|
- {
|
|
|
- title: '局扇频率调节(Hz)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '进风风窗当前面积(㎡)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '回风风窗当前面积(㎡)',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const coalMachineDustParam = [
|
|
|
- {
|
|
|
- title: '内喷雾压力',
|
|
|
- value: '',
|
|
|
- unit: 'Pa',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '内喷雾流量',
|
|
|
- value: '',
|
|
|
- unit: 'm³/min',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '外喷雾压力',
|
|
|
- value: '',
|
|
|
- unit: 'Pa',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '外喷雾流量',
|
|
|
- value: '',
|
|
|
- unit: 'm³/min',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const beltMachineDustParam = [
|
|
|
- {
|
|
|
- title: '全尘',
|
|
|
- value: '',
|
|
|
- unit: 'mg/m³',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '呼尘',
|
|
|
- value: '',
|
|
|
- unit: 'mg/m³',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '内喷雾压力',
|
|
|
- value: '',
|
|
|
- unit: 'Pa',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '内喷雾流量',
|
|
|
- value: '',
|
|
|
- unit: 'm³/min',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '外喷雾压力',
|
|
|
- value: '',
|
|
|
- unit: 'Pa',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '外喷雾流量',
|
|
|
- value: '',
|
|
|
- type: 'input',
|
|
|
- unit: 'm³/min',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const dustConfig = reactive({
|
|
|
- header: ['编号', '位置', '触发', '故障诊断'],
|
|
|
- data: [
|
|
|
- ['001', '0m', '是', '正常'],
|
|
|
- ['002', '2m', '是', '正常'],
|
|
|
- ['003', '4m', '是', '正常'],
|
|
|
- ['004', '6m', '是', '正常'],
|
|
|
- ['005', '8m', '是', '正常'],
|
|
|
- ['006', '10m', '是', '正常'],
|
|
|
- ['007', '12m', '是', '正常'],
|
|
|
- ],
|
|
|
- index: false,
|
|
|
- headerBGC: '#3d9dd45d',
|
|
|
- oddRowBGC: '#009acd10',
|
|
|
- evenRowBGC: '#009acd05',
|
|
|
- align: ['center', 'center', 'center', 'center'],
|
|
|
-});
|
|
|
-
|
|
|
export const gasMonitor = [
|
|
|
{
|
|
|
- title: '甲烷浓度T0 (%)',
|
|
|
+ title: '工作面编号',
|
|
|
code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '甲烷浓度T1 (%)',
|
|
|
+ title: '所属采区',
|
|
|
code: 'T1',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '甲烷浓度T2 (%)',
|
|
|
+ title: '开采煤层',
|
|
|
code: 'T2',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '二氧化碳浓度 (%)',
|
|
|
+ title: '工作面走向长度',
|
|
|
code: 'CO2',
|
|
|
+ unit: 'm',
|
|
|
},
|
|
|
{
|
|
|
- title: '瓦斯抽采浓度 (%)',
|
|
|
+ title: '工作面切眼长度',
|
|
|
code: 'gasC',
|
|
|
+ unit: 'm',
|
|
|
},
|
|
|
{
|
|
|
- title: '瓦斯抽采混量 (m³/min)',
|
|
|
+ title: '工作面煤炭储量',
|
|
|
code: 'gasMixMass',
|
|
|
+ unit: 'm³/t',
|
|
|
},
|
|
|
{
|
|
|
- title: '瓦斯抽采纯量 (m³/min)',
|
|
|
+ title: '原始瓦斯储量',
|
|
|
code: 'gasMass',
|
|
|
+ unit: 'm³/t',
|
|
|
},
|
|
|
{
|
|
|
- title: '残余瓦斯含量 (m³/t)',
|
|
|
+ title: '工作面瓦斯含量',
|
|
|
code: 'gasMass',
|
|
|
+ unit: 'm³/t',
|
|
|
},
|
|
|
{
|
|
|
- title: '累计抽采量 (m³)',
|
|
|
+ title: '预抽瓦斯标量 (m³)',
|
|
|
code: 'gasTotalMass',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '风压 (kPa)',
|
|
|
+ title: '抽采单元数量',
|
|
|
code: 'windPressure',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
];
|
|
|
|
|
@@ -638,74 +256,47 @@ export const currentGasMonitor = [
|
|
|
|
|
|
export const gasPumpValve = [
|
|
|
{
|
|
|
- title: '1#智能阀门',
|
|
|
- code: 'valve1Val',
|
|
|
- inputNum: 0,
|
|
|
- },
|
|
|
- {
|
|
|
- title: '2#智能阀门',
|
|
|
- code: 'valve2Val',
|
|
|
- inputNum: 0,
|
|
|
- },
|
|
|
- {
|
|
|
- title: '3#智能阀门',
|
|
|
- code: 'valve3Val',
|
|
|
- inputNum: 0,
|
|
|
+ title: '开抽日期',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '4#智能阀门',
|
|
|
- code: 'valve4Val',
|
|
|
- inputNum: 0,
|
|
|
+ title: '支管抽采负压',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '5#智能阀门',
|
|
|
- code: 'valve5Val',
|
|
|
- inputNum: 0,
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
-export const highTensionNum = 3;
|
|
|
-export const lowTensionNum = 1;
|
|
|
-export const gasExtractionUnit = [
|
|
|
- {
|
|
|
- title: '负压 (kPa)',
|
|
|
- code: 'nPressure',
|
|
|
+ title: '支管抽采流量',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: 'CH4 (%)',
|
|
|
- code: 'CH4 ',
|
|
|
+ title: '抽采管路气体温度',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '流量 (m³/min)',
|
|
|
- code: 'flowRate',
|
|
|
+ title: '抽采管路甲烷浓度',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '纯量 (m³/min)',
|
|
|
- code: 'scalarRate',
|
|
|
+ title: '抽采管路一氧化碳浓度',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
- // {
|
|
|
- // title: '累计抽采量 (m³)',
|
|
|
- // code: 'unitTotalMass',
|
|
|
- // },
|
|
|
-];
|
|
|
-export const gasPump = [
|
|
|
{
|
|
|
- title: '1#抽采泵',
|
|
|
- code: 'extractionPump1',
|
|
|
- value: '0',
|
|
|
- ctrCode: 'gasPump1Open',
|
|
|
+ title: '累计流量',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
{
|
|
|
- title: '1#抽采泵',
|
|
|
- code: 'extractionPump1',
|
|
|
- value: '0',
|
|
|
- ctrCode: 'gasPump2Open',
|
|
|
+ title: '累计纯量',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
},
|
|
|
];
|
|
|
-export const gasPumpCtr = reactive({
|
|
|
- gasPump1Open: '0',
|
|
|
- gasPump2Open: '0',
|
|
|
-});
|
|
|
+
|
|
|
export const gasUnitDetail = [
|
|
|
{
|
|
|
title: '开始日期',
|
|
@@ -763,24 +354,225 @@ export function getBezierControlPoint(A = { x: 1, y: 1 }, alpha_degrees = 45, d
|
|
|
return C;
|
|
|
}
|
|
|
|
|
|
-function getBezierLine() {
|
|
|
- const curve = new THREE.CubicBezierCurve(new THREE.Vector2(-10, 0), new THREE.Vector2(-5, 15), new THREE.Vector2(20, 15), new THREE.Vector2(10, 0));
|
|
|
+export const headerBadges = ref([
|
|
|
+ {
|
|
|
+ value: 'T1',
|
|
|
+ desc: '瓦斯总储量',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 'T2',
|
|
|
+ desc: '抽采达标量',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 'T3',
|
|
|
+ desc: '累计抽采量',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 'T4',
|
|
|
+ desc: '预抽比率',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 'T5',
|
|
|
+ desc: '已抽时间',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+]);
|
|
|
|
|
|
- const points = curve.getPoints(50);
|
|
|
- const geometry = new THREE.BufferGeometry().setFromPoints(points);
|
|
|
+export const gasUnitBarOption: ModuleDataChart = {
|
|
|
+ type: 'bar_cylinder',
|
|
|
+ readFrom: '',
|
|
|
+ legend: { show: false },
|
|
|
+ xAxis: [{ show: true }],
|
|
|
+ yAxis: [{ show: true, name: '', position: 'left' }],
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ readFrom: 'arrayDev',
|
|
|
+ xprop: 'strinstallpos',
|
|
|
+ yprop: 'val',
|
|
|
+ label: '',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+};
|
|
|
|
|
|
- const material = new THREE.LineBasicMaterial({ color: 0xff0000 });
|
|
|
+export const mockData = {
|
|
|
+ id: 4,
|
|
|
+ objType: '氧气',
|
|
|
+ arrayDev: [
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元1',
|
|
|
+ val: '1.76',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元2',
|
|
|
+ val: '0.08',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元3',
|
|
|
+ val: '0.30',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元4',
|
|
|
+ val: '0.67',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元5',
|
|
|
+ val: '0.67',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+};
|
|
|
+
|
|
|
+export const gasUnitPieOption: ModuleDataChart = {
|
|
|
+ type: 'pie',
|
|
|
+ readFrom: '',
|
|
|
+ legend: { show: false },
|
|
|
+ xAxis: [{ show: true }],
|
|
|
+ yAxis: [{ show: true, name: '', position: 'left' }],
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ readFrom: 'arrayDev',
|
|
|
+ xprop: 'strinstallpos',
|
|
|
+ yprop: 'val',
|
|
|
+ label: '',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+};
|
|
|
|
|
|
- // Create the final object to add to the scene
|
|
|
- const curveObject = new THREE.Line(geometry, material);
|
|
|
- return curveObject;
|
|
|
-}
|
|
|
+export const mockPieData = {
|
|
|
+ id: 4,
|
|
|
+ objType: '氧气',
|
|
|
+ arrayDev: [
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元1',
|
|
|
+ val: '1.76',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元2',
|
|
|
+ val: '0.08',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元3',
|
|
|
+ val: '0.30',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元4',
|
|
|
+ val: '0.67',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ strinstallpos: '抽采单元5',
|
|
|
+ val: '0.67',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+};
|
|
|
|
|
|
-function getShape() {
|
|
|
- const A = { x: 0.417, y: -0.24 };
|
|
|
- const B = { x: 0.702, y: -0.24 };
|
|
|
- const C = { x: 0.417, y: 0.018 };
|
|
|
+export const unitHeaderBadges = ref([
|
|
|
+ {
|
|
|
+ value: 'T1',
|
|
|
+ desc: '单元瓦斯总储量',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 'T2',
|
|
|
+ desc: '单元抽采达标量',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 'T3',
|
|
|
+ desc: '单元累计抽采纯量',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 'T4',
|
|
|
+ desc: '单元预抽比率',
|
|
|
+ code: '',
|
|
|
+ },
|
|
|
+]);
|
|
|
|
|
|
- const A1 = { x: 0.948, y: -0.24 };
|
|
|
- const B1 = { x: 0.678, y: 0.467 };
|
|
|
-}
|
|
|
+export const unitBaseInfo = [
|
|
|
+ {
|
|
|
+ title: '单元名称',
|
|
|
+ code: 'T0',
|
|
|
+ unit: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '煤炭储量',
|
|
|
+ code: 'T1',
|
|
|
+ unit: 'm³/t',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '瓦斯储量',
|
|
|
+ code: 'T2',
|
|
|
+ unit: 'm³/t',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '钻孔施工长度',
|
|
|
+ code: 'CO2',
|
|
|
+ unit: 'm',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '单元瓦斯含量',
|
|
|
+ code: 'gasC',
|
|
|
+ unit: 'm³/t',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '单元原始瓦斯压力',
|
|
|
+ code: 'gasMixMass',
|
|
|
+ unit: 'Pa',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '抽采钻孔管径',
|
|
|
+ code: 'gasMass',
|
|
|
+ unit: 'm',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '抽采单元汇总管径',
|
|
|
+ code: 'gasMass',
|
|
|
+ unit: 'm',
|
|
|
+ },
|
|
|
+];
|
|
|
+
|
|
|
+export const unitMonitor = [
|
|
|
+ {
|
|
|
+ title: '瓦斯总储量',
|
|
|
+ code: 'T0',
|
|
|
+ unit: 'm³/t',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '抽采达标量',
|
|
|
+ code: 'T1',
|
|
|
+ unit: 'm³/t',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '累计抽采纯量',
|
|
|
+ code: 'T2',
|
|
|
+ unit: 'm³/t',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '当前抽采率',
|
|
|
+ code: 'CO2',
|
|
|
+ unit: '%',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '试试抽采率',
|
|
|
+ code: 'gasC',
|
|
|
+ unit: '%',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '实时抽采浓度',
|
|
|
+ code: 'gasMixMass',
|
|
|
+ unit: 'ppm',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '实时抽采负压',
|
|
|
+ code: 'gasMass',
|
|
|
+ unit: 'Pa',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '参与瓦斯压力',
|
|
|
+ code: 'gasMass',
|
|
|
+ unit: 'Pa',
|
|
|
+ },
|
|
|
+];
|