| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717 |
- import { reactive, ref } from 'vue';
- import { BasicColumn } from '/@/components/Table';
- import echarts from '/@/utils/lib/echarts';
- export const monitorNav = [
- {
- title: '一通三防综合管控',
- isShow: true,
- },
- {
- title: '通风监测与管控',
- isShow: false,
- },
- {
- title: '防灭火监测与管控',
- isShow: false,
- },
- {
- title: '防尘监测与管控',
- isShow: false,
- },
- ];
- export const echartsOption = reactive({
- tooltip: { trigger: 'axis', axisPointer: { lineStyle: { color: '#fff' } } },
- legend: {
- top: '-5',
- icon: 'rect',
- data: ['风量', '风速'],
- right: '10px',
- textStyle: { fontSize: 12, color: '#fff' },
- },
- grid: { x: 50, y: 50, x2: 12, y2: 40, bottom: '25', top: '10' },
- xAxis: {
- type: 'category',
- boundaryGap: false,
- axisLine: { lineStyle: { color: '#8EAFB9' } },
- axisLabel: { color: '#ffffffcc' },
- splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
- data: [],
- },
- yAxis: [
- {
- type: 'value',
- name: 'm³/min',
- axisTick: {
- show: false,
- },
- axisLine: { lineStyle: { show: true, color: '#8EAFB9' } },
- axisLabel: { margin: 10, fontSize: 12, color: '#ffffffcc' },
- splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
- },
- ],
- series: [
- {
- name: '风量',
- type: 'bar',
- smooth: true,
- lineStyle: { width: 2 },
- yAxisIndex: 0,
- // markLine: {
- // data: [{ yAxis: 0, name: '需风量' }],
- // },
- areaStyle: {
- color: new echarts.graphic.LinearGradient(
- 0,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: 'rgba(185,150,248,0.3)',
- },
- {
- offset: 0.8,
- color: 'rgba(185,150,248,0)',
- },
- ],
- false
- ),
- shadowColor: 'rgba(0, 0, 0, 0.1)',
- shadowBlur: 10,
- },
- itemStyle: { color: '#B996F8' },
- data: [],
- },
- {
- name: '风速',
- type: 'line',
- smooth: true,
- lineStyle: { width: 2 },
- yAxisIndex: 0,
- // markLine: {
- // data: [{ yAxis: 0, name: '需风量' }],
- // },
- areaStyle: {
- color: new echarts.graphic.LinearGradient(
- 0,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: 'rgba(3, 194, 236, 0.3)',
- },
- {
- offset: 0.8,
- color: 'rgba(3, 194, 236, 0)',
- },
- ],
- false
- ),
- shadowColor: 'rgba(0, 0, 0, 0.1)',
- shadowBlur: 10,
- },
- itemStyle: { color: '#03C2EC' },
- data: [],
- },
- ],
- });
- 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 dustMonitorColumns: BasicColumn[] = [
- {
- title: '名称',
- dataIndex: 'strname',
- width: 100,
- align: 'center',
- },
- {
- title: '全尘(mg/m³)',
- dataIndex: 'smokeval',
- width: 70,
- align: 'center',
- },
- {
- title: '呼尘(mg/m³)',
- dataIndex: 'warnFlag',
- width: 70,
- align: 'center',
- },
- {
- title: '操作',
- dataIndex: 'action',
- width: 50,
- 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: 120,
- align: 'center',
- },
- ];
- export const windowColumns: BasicColumn[] = [
- {
- title: '名称',
- dataIndex: 'strname',
- width: 100,
- align: 'center',
- },
- {
- title: '过风量',
- dataIndex: 'forntm3',
- width: 80,
- align: 'center',
- },
- {
- title: '过风面积',
- dataIndex: 'forntArea',
- width: 80,
- align: 'center',
- },
- {
- title: '操作',
- dataIndex: 'action',
- width: 120,
- align: 'center',
- },
- ];
- export const windColumns: BasicColumn[] = [
- {
- title: '名称',
- dataIndex: 'strname',
- width: 100,
- align: 'center',
- },
- {
- title: '风量',
- dataIndex: 'm³',
- width: 80,
- align: 'center',
- },
- {
- title: '操作',
- dataIndex: 'action',
- width: 80,
- align: 'center',
- },
- ];
- export const dustFanParam = [
- {
- title: '输出电流 (A)',
- code: '',
- },
- {
- title: '输出电压 (V)',
- code: '',
- },
- {
- title: '排灰功率 (kW)',
- code: '',
- },
- {
- title: '运行频率 (Hz)',
- code: '',
- },
- {
- title: '漏风率 (%)',
- code: '',
- },
- {
- title: '工作噪声 (dB(A))',
- code: '',
- },
- {
- title: '震动速度 (mm/s)',
- code: '',
- },
- {
- title: '气液比(mm/s)',
- code: '',
- },
- ];
- export const dustMonitor = ref([
- {
- title: '处理风量',
- unit: '(m³/min)',
- code: '',
- },
- {
- title: '总粉尘除尘效率',
- unit: '(%)',
- code: '',
- },
- {
- title: '进口粉尘允许浓度',
- unit: '(g/m³)',
- code: '',
- },
- {
- title: '呼吸性粉尘除尘效率',
- unit: '(%)',
- code: '',
- },
- ]);
- export const dustFanSetting = ref([
- {
- title: '除尘器频率设置(Hz)',
- code: 'dustFrequency',
- type: 'input',
- inputNum: 0,
- },
- {
- title: '清灰时间(ms)',
- code: 'clearDust',
- type: 'input',
- inputNum: 0,
- },
- {
- title: '清灰周期(s)',
- code: 'clearCycle',
- type: 'input',
- inputNum: 0,
- },
- ]);
- export const beamTubeColumns = [
- {
- gasval: '甲烷(%)',
- ch2val: '乙烯(ppm)',
- },
- {
- o2val: '氧气(%)',
- chval: '乙炔(ppm)',
- },
- {
- coval: '一氧化碳(ppm)',
- co2val: '二氧化碳(%)',
- },
- ];
- export const groutColumns = [
- {
- flowRate: '流量(m³/min)',
- pressure: '压力(Pa)',
- },
- ];
- export const dustColumns: BasicColumn[] = [
- {
- title: '名称',
- dataIndex: 'strname',
- width: 80,
- align: 'center',
- },
- {
- title: '压力(Pa)',
- dataIndex: 'netStatus',
- width: 50,
- align: 'center',
- },
- {
- title: '流量(mg/㎡)',
- dataIndex: 'netStatus',
- width: 50,
- align: 'center',
- },
- {
- title: '连接状态',
- dataIndex: 'netStatus',
- width: 50,
- align: 'center',
- },
- {
- title: '操作',
- dataIndex: 'action',
- width: 50,
- align: 'center',
- },
- ];
- 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 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 (%)',
- code: 'T0',
- },
- {
- title: '甲烷浓度T1 (%)',
- code: 'T1',
- },
- {
- title: '甲烷浓度T2 (%)',
- code: 'T2',
- },
- {
- title: '二氧化碳浓度 (%)',
- code: 'CO2',
- },
- {
- title: '瓦斯抽采浓度 (%)',
- code: 'gasC',
- },
- {
- title: '瓦斯抽采混量 (m³/min)',
- code: 'gasMixMass',
- },
- {
- title: '瓦斯抽采纯量 (m³/min)',
- code: 'gasMass',
- },
- {
- title: '残余瓦斯含量 (m³/t)',
- code: 'gasMass',
- },
- {
- title: '累计抽采量 (m³)',
- code: 'gasTotalMass',
- },
- {
- title: '风压 (kPa)',
- code: 'windPressure',
- },
- ];
- export const gasParamData = [
- {
- title: '走向长度 (m)',
- code: 'lenH',
- },
- {
- title: '倾向长度 (m)',
- code: 'lenDip',
- },
- {
- title: '煤层厚度 (m)',
- code: 'thickness',
- },
- {
- title: '煤层倾角 (°)',
- code: 'angleDip',
- },
- {
- title: '吸附常数a (cm³/gdaf)',
- code: 'adsorbA',
- },
- {
- title: '吸附常数b (MPa-l)',
- code: 'adsorbB',
- },
- {
- title: '水分Mad (%)',
- code: 'waterMad',
- },
- {
- title: '灰分Ad (%)',
- code: 'dustAd',
- },
- {
- title: '挥发分Vdaf (%)',
- code: 'volatilizeAd',
- },
- {
- title: '孔隙率 (m³)',
- code: 'poreRate',
- },
- {
- title: '真相对密度',
- code: 'trueDensity',
- },
- {
- title: '视相对密度',
- code: 'apparentDensity',
- },
- ];
- export const currentGasMonitor = [
- {
- title: '原始瓦斯含量 (m³/t)',
- code: 'gasOriginalMass',
- },
- {
- title: '残余瓦斯含量 (m³/t)',
- code: 'gasRemnantMass',
- },
- {
- title: '残存瓦斯含量 (m³/t)',
- code: 'gasSurviveMass',
- },
- {
- title: '瓦斯压力 (MPa)',
- code: 'gasTotalMass',
- },
- {
- title: '煤层厚度 (m)',
- code: 'currentThickness',
- },
- {
- title: '煤层倾角 (°)',
- code: 'currentAngleDip',
- },
- {
- title: '地质构造',
- code: 'geologicStructure',
- },
- ];
- export const gasPumpValve = [
- {
- title: '1#智能阀门',
- code: 'valve1Val',
- inputNum: 0,
- },
- {
- title: '2#智能阀门',
- code: 'valve2Val',
- inputNum: 0,
- },
- {
- title: '3#智能阀门',
- code: 'valve3Val',
- inputNum: 0,
- },
- {
- title: '4#智能阀门',
- code: 'valve4Val',
- inputNum: 0,
- },
- {
- title: '5#智能阀门',
- code: 'valve5Val',
- inputNum: 0,
- },
- ];
- export const highTensionNum = 3;
- export const lowTensionNum = 1;
- export const gasExtractionUnit = [
- {
- title: '负压 (kPa)',
- code: 'nPressure',
- },
- {
- title: 'CH4 (%)',
- code: 'CH4 ',
- },
- {
- title: '流量 (m³/min)',
- code: 'flowRate',
- },
- {
- title: '纯量 (m³/min)',
- code: 'scalarRate',
- },
- // {
- // title: '累计抽采量 (m³)',
- // code: 'unitTotalMass',
- // },
- ];
- export const gasPump = [
- {
- title: '1#抽采泵',
- code: 'extractionPump1',
- value: '0',
- ctrCode: 'gasPump1Open',
- },
- {
- title: '1#抽采泵',
- code: 'extractionPump1',
- value: '0',
- ctrCode: 'gasPump2Open',
- },
- ];
- export const gasPumpCtr = reactive({
- gasPump1Open: '0',
- gasPump2Open: '0',
- });
|