|
@@ -1,5 +1,6 @@
|
|
|
// import { truncateSync } from 'fs-extra';
|
|
|
import { Config } from '../../deviceManager/configurationTable/types';
|
|
|
+import { fanControlState1 } from '../../monitorManager/fanLocalMonitor1/fanLocal.data';
|
|
|
// import { BDdustMock, BDfireMock } from './configurable.data.bd';
|
|
|
import { getThemifyImagesURL } from '/@/utils/ui';
|
|
|
|
|
@@ -347,7 +348,7 @@ export const testConfigVent: Config[] = [
|
|
|
showStyle: {
|
|
|
size: 'width:460px;height:260px;',
|
|
|
version: '原版',
|
|
|
- position: 'bottom:15px;left:15px;',
|
|
|
+ position: 'bottom:0px;left:15px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -427,7 +428,7 @@ export const testConfigVent: Config[] = [
|
|
|
showStyle: {
|
|
|
size: 'width:460px;height:260px;',
|
|
|
version: '原版',
|
|
|
- position: 'bottom:15px;left:495px;',
|
|
|
+ position: 'bottom:0px;left:495px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -510,7 +511,7 @@ export const testConfigVent: Config[] = [
|
|
|
showStyle: {
|
|
|
size: 'width:460px;height:260px;',
|
|
|
version: '原版',
|
|
|
- position: 'bottom:15px;left:975px;',
|
|
|
+ position: 'bottom:0px;left:975px;',
|
|
|
},
|
|
|
},
|
|
|
// {
|
|
@@ -1087,9 +1088,9 @@ export const testConfigDustGreen: Config[] = [
|
|
|
// mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:390px;height:800px;',
|
|
|
+ size: 'width:420px;height:780px;',
|
|
|
version: '新版',
|
|
|
- position: 'top:15px;left:15px',
|
|
|
+ position: 'top:0px;left:15px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -1150,9 +1151,9 @@ export const testConfigDustGreen: Config[] = [
|
|
|
// mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:625px;height:260px;',
|
|
|
+ size: 'width:580px;height:260px;',
|
|
|
version: '新版',
|
|
|
- position: 'bottom:15px;left:450px;',
|
|
|
+ position: 'bottom:0px;left:450px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -1227,7 +1228,7 @@ export const testConfigDustGreen: Config[] = [
|
|
|
showStyle: {
|
|
|
size: 'width:390px;height:260px;',
|
|
|
version: '新版',
|
|
|
- position: 'bottom:15px;right:420px;',
|
|
|
+ position: 'bottom:0px;right:450px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -1291,9 +1292,9 @@ export const testConfigDustGreen: Config[] = [
|
|
|
// mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:390px;height:530px;',
|
|
|
+ size: 'width:420px;height:530px;',
|
|
|
version: '新版',
|
|
|
- position: 'top:15px;right:15px;',
|
|
|
+ position: 'top:0px;right:15px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -1358,9 +1359,9 @@ export const testConfigDustGreen: Config[] = [
|
|
|
// mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:390px;height:260px;',
|
|
|
+ size: 'width:420px;height:260px;',
|
|
|
version: '新版',
|
|
|
- position: 'bottom:15px;right:15px;',
|
|
|
+ position: 'bottom:0px;right:15px;',
|
|
|
},
|
|
|
},
|
|
|
];
|
|
@@ -1960,9 +1961,9 @@ export const testConfigFireGreen: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:390px;height:400px;',
|
|
|
+ size: 'width:420px;height:400px;',
|
|
|
version: '原版',
|
|
|
- position: 'top:15px;left:15px',
|
|
|
+ position: 'top:0px;left:15px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -2047,9 +2048,9 @@ export const testConfigFireGreen: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:390px;height:400px;',
|
|
|
+ size: 'width:420px;height:350px;',
|
|
|
version: '原版',
|
|
|
- position: 'top:430px;left:15px;',
|
|
|
+ position: 'top:415px;left:15px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -2110,7 +2111,7 @@ export const testConfigFireGreen: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:945px;height:260px;',
|
|
|
+ size: 'width:990px;height:260px;',
|
|
|
version: '原版',
|
|
|
position: 'bottom:15px;left:450px;',
|
|
|
},
|
|
@@ -2247,9 +2248,9 @@ export const testConfigFireGreen: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:390px;height:510px;',
|
|
|
+ size: 'width:420px;height:510px;',
|
|
|
version: '原版',
|
|
|
- position: 'top:15px;right:15px',
|
|
|
+ position: 'top:0px;right:15px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -2313,7 +2314,7 @@ export const testConfigFireGreen: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:460px;height:260px;',
|
|
|
+ size: 'width:420px;height:260px;',
|
|
|
version: '原版',
|
|
|
position: 'bottom:15px;right:15px',
|
|
|
},
|
|
@@ -2910,8 +2911,8 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
{
|
|
|
readFrom: 'ventData',
|
|
|
echartOption: {
|
|
|
- colorList:['#ff0000', '#ff7700', '#d8b66f', '#dbbf2e', '#61b4c5'],
|
|
|
- }
|
|
|
+ colorList: ['#ff0000', '#ff7700', '#d8b66f', '#dbbf2e', '#61b4c5'],
|
|
|
+ },
|
|
|
},
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
@@ -3148,7 +3149,7 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
{
|
|
|
deviceType: 'fusionManageInfo',
|
|
|
moduleName: '火灾监测预警',
|
|
|
- pageType: 'fusion-warn-green',
|
|
|
+ pageType: 'fireInfos',
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
show: false,
|
|
@@ -3183,7 +3184,7 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
board: [
|
|
|
{
|
|
|
type: 'K',
|
|
|
- readFrom: 'ventWarn',
|
|
|
+ readFrom: 'fireInfos',
|
|
|
layout: 'label-top',
|
|
|
items: [
|
|
|
{
|
|
@@ -3205,7 +3206,18 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [
|
|
|
{
|
|
|
- readFrom: 'dz_card',
|
|
|
+ readFrom: 'fireInfos',
|
|
|
+ leftTitle: {
|
|
|
+ address: '监测位置',
|
|
|
+ gradewarn: '预警等级',
|
|
|
+ smoke: '煤自燃阶段',
|
|
|
+ },
|
|
|
+ rightTitle: {
|
|
|
+ temp: '温度',
|
|
|
+ smokeing: '烟雾',
|
|
|
+ fire: '火焰',
|
|
|
+ comax: 'CO最大值(ppm)',
|
|
|
+ },
|
|
|
},
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
@@ -3219,7 +3231,7 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
{
|
|
|
deviceType: 'fusionManageInfo',
|
|
|
moduleName: '粉尘监测预警',
|
|
|
- pageType: 'fusion-warn-green',
|
|
|
+ pageType: 'dustInfo',
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
show: false,
|
|
@@ -3256,7 +3268,52 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [
|
|
|
{
|
|
|
- readFrom: 'dz_dust',
|
|
|
+ readFrom: 'dustInfo',
|
|
|
+ echartOption: {
|
|
|
+ colorList: [
|
|
|
+ ['rgba(63, 124, 136, 1)', 'rgba(77, 193, 211, 1)'],
|
|
|
+ ['rgba(145, 129, 47, 1)', 'rgba(211, 184, 46, 1)'],
|
|
|
+ ['rgba(159, 121, 69, 1)', 'rgba(226, 173, 101, 1)'],
|
|
|
+ ['rgba(163, 90, 25, 1)', 'rgba(240, 114, 4, 1)'],
|
|
|
+ ['rgba(158, 13, 13, 1)', 'rgba(239, 2, 2, 1)'],
|
|
|
+ ],
|
|
|
+ grid: {
|
|
|
+ top: '8%',
|
|
|
+ left: '5%',
|
|
|
+ right: '5%',
|
|
|
+ bottom: '5%',
|
|
|
+ containLabel: true,
|
|
|
+ },
|
|
|
+ axisLineX: {
|
|
|
+ show: true,
|
|
|
+ lineStyle: {
|
|
|
+ // width: 1,
|
|
|
+ color: 'rgba(34, 55, 81,.7)',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ axisLabelX: {
|
|
|
+ fontSize: 14,
|
|
|
+ interval: 0,
|
|
|
+ textStyle: {
|
|
|
+ color: '#FFF', //更改坐标轴文字颜色
|
|
|
+ fontSize: 12, //更改坐标轴文字大小
|
|
|
+ },
|
|
|
+ },
|
|
|
+ splitLineY: {
|
|
|
+ show: true,
|
|
|
+ lineStyle: {
|
|
|
+ // type: 'dashed',
|
|
|
+ color: 'rgba(34, 55, 81,.7)',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ axisLabelY: {
|
|
|
+ fontSize: 14,
|
|
|
+ textStyle: {
|
|
|
+ color: '#FFF', //更改坐标轴文字颜色
|
|
|
+ fontSize: 12, //更改坐标轴文字大小
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
@@ -3270,7 +3327,7 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
{
|
|
|
deviceType: 'fusionManageInfo',
|
|
|
moduleName: '瓦斯监测预警',
|
|
|
- pageType: 'fusion-warn-green',
|
|
|
+ pageType: 'gasData',
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
show: false,
|
|
@@ -3293,11 +3350,11 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
direction: 'column',
|
|
|
items: [
|
|
|
{
|
|
|
- name: 'dz_fire',
|
|
|
+ name: 'dz_gas',
|
|
|
basis: '50%',
|
|
|
},
|
|
|
{
|
|
|
- name: 'dz_fire',
|
|
|
+ name: 'dz_gas',
|
|
|
basis: '50%',
|
|
|
},
|
|
|
],
|
|
@@ -3311,19 +3368,19 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [
|
|
|
{
|
|
|
- readFrom: 'dz_fire',
|
|
|
+ readFrom: 'gasData',
|
|
|
type: 'A',
|
|
|
titleData: {
|
|
|
label: '安全监测系统监测点',
|
|
|
- value: '25',
|
|
|
+ value: 'safety_sum',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- readFrom: 'dz_fire',
|
|
|
+ readFrom: 'gasData',
|
|
|
type: 'B',
|
|
|
titleData: {
|
|
|
label: '瓦斯抽采系统监测点',
|
|
|
- value: '25',
|
|
|
+ value: 'gas_sum',
|
|
|
},
|
|
|
},
|
|
|
],
|
|
@@ -3338,7 +3395,7 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
{
|
|
|
deviceType: 'fusionManageInfo',
|
|
|
moduleName: '风险权重比例',
|
|
|
- pageType: 'fusion-warn-green',
|
|
|
+ pageType: 'riskData',
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
show: false,
|
|
@@ -3364,7 +3421,6 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
name: 'dz_risk',
|
|
|
basis: '100%',
|
|
|
},
|
|
|
-
|
|
|
],
|
|
|
},
|
|
|
board: [],
|
|
@@ -3376,9 +3432,8 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [
|
|
|
{
|
|
|
- readFrom: 'dz_risk',
|
|
|
+ readFrom: 'riskData',
|
|
|
},
|
|
|
-
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
@@ -3388,7 +3443,6 @@ export const testConfigFusionGreen: Config[] = [
|
|
|
position: 'bottom:15px;right:450px',
|
|
|
},
|
|
|
},
|
|
|
-
|
|
|
];
|
|
|
|
|
|
export const testConfigVentNew: Config[] = [
|
|
@@ -3971,14 +4025,14 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
basis: '20%',
|
|
|
},
|
|
|
{
|
|
|
- name: 'dz_chart',
|
|
|
+ name: 'yj_ventWarn',
|
|
|
basis: '80%',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
board: [
|
|
|
{
|
|
|
- type: 'J',
|
|
|
+ type: 'U',
|
|
|
readFrom: 'ventWarn',
|
|
|
layout: 'label-top',
|
|
|
items: [
|
|
@@ -4009,49 +4063,6 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
preset: [
|
|
|
{
|
|
|
readFrom: 'ventData',
|
|
|
- echartOption: {
|
|
|
- xAxisData: [
|
|
|
- { key: '低风险', valueKey: 'blue' },
|
|
|
- { key: '一般风险', valueKey: 'yellow' },
|
|
|
- { key: '较大风险', valueKey: 'orange' },
|
|
|
- { key: '重大风险', valueKey: 'red' },
|
|
|
- { key: '报警', valueKey: 'alarm' },
|
|
|
- ],
|
|
|
- chartsColumns: [
|
|
|
- {
|
|
|
- legend: '低风险',
|
|
|
- seriesName: '(Pa)',
|
|
|
- ymax: 50,
|
|
|
- ymin: 0,
|
|
|
- yname: '个',
|
|
|
- linetype: 'bar',
|
|
|
- yaxispos: 'left',
|
|
|
- color: '#cd5fff',
|
|
|
- sort: 1,
|
|
|
- dataIndex: '',
|
|
|
- xRotate: 0,
|
|
|
- },
|
|
|
- ],
|
|
|
- option: {
|
|
|
- grid: {
|
|
|
- top: '20px',
|
|
|
- bottom: 15,
|
|
|
- right: 20,
|
|
|
- left: 10,
|
|
|
- containLabel: true,
|
|
|
- },
|
|
|
- yAxis: {
|
|
|
- show: false,
|
|
|
- },
|
|
|
- },
|
|
|
- colors: [
|
|
|
- [{ color: 'rgba(46,144,165, 1 )' }, { color: 'rgba(46,144,165, 0.8 )' }, { color: 'rgba(46, 144, 165, 0.08 )' }],
|
|
|
- [{ color: 'rgba(254,254,53, 1 )' }, { color: 'rgba(254,254,53, 0.8 )' }, { color: 'rgba(254,254,53, 0.08 )' }],
|
|
|
- [{ color: 'rgba(234,179,105, 1 )' }, { color: 'rgba(234,179,105, 0.8 )' }, { color: 'rgba(234,179,105, 0.08 )' }],
|
|
|
- [{ color: 'rgba(254,111,0, 1 )' }, { color: 'rgba(254,111,0, 0.8 )' }, { color: 'rgba(254,111,0, 0.08 )' }],
|
|
|
- [{ color: 'rgba(255,0,0, 1 )' }, { color: 'rgba(255,0,0, 0.8 )' }, { color: 'rgba(255,0,0, 0.08 )' }],
|
|
|
- ],
|
|
|
- },
|
|
|
},
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
@@ -4059,11 +4070,11 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
showStyle: {
|
|
|
size: 'width:420px;height:400px;',
|
|
|
version: '原版',
|
|
|
- position: 'top:70px;left:15px;',
|
|
|
+ position: 'top:70px;left:15px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- deviceType: 'deviceWarn',
|
|
|
+ deviceType: 'fusionManageInfo',
|
|
|
moduleName: '火灾监测预警',
|
|
|
pageType: 'fusion-warn-green',
|
|
|
moduleData: {
|
|
@@ -4088,11 +4099,93 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
direction: 'column',
|
|
|
items: [
|
|
|
{
|
|
|
- name: 'dz_onfire',
|
|
|
+ name: 'board',
|
|
|
+ basis: '35%',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'dz_card',
|
|
|
+ basis: '65%',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ board: [
|
|
|
+ {
|
|
|
+ type: 'T',
|
|
|
+ readFrom: 'fireInfos',
|
|
|
+ layout: 'label-top',
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ label: '内因火灾',
|
|
|
+ value: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '外因火灾',
|
|
|
+ value: '',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ chart: [],
|
|
|
+ gallery: [],
|
|
|
+ gallery_list: [],
|
|
|
+ table: [],
|
|
|
+ list: [],
|
|
|
+ complex_list: [],
|
|
|
+ preset: [
|
|
|
+ {
|
|
|
+ readFrom: 'fireInfos',
|
|
|
+ leftTitle: {
|
|
|
+ address: '监测位置',
|
|
|
+ gradewarn: '预警等级',
|
|
|
+ smoke: '煤自燃阶段',
|
|
|
+ },
|
|
|
+ rightTitle: {
|
|
|
+ temp: '温度',
|
|
|
+ smokeing: '烟雾',
|
|
|
+ fire: '火焰',
|
|
|
+ comax: 'CO最大值(ppm)',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ // mock: BDfireMock,
|
|
|
+ },
|
|
|
+ showStyle: {
|
|
|
+ size: 'width:420px;height:420px;',
|
|
|
+ version: '原版',
|
|
|
+ position: 'top:480px;left:15px',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ deviceType: 'deviceWarn',
|
|
|
+ moduleName: '瓦斯监测预警',
|
|
|
+ pageType: 'gasData',
|
|
|
+ moduleData: {
|
|
|
+ header: {
|
|
|
+ show: false,
|
|
|
+ readFrom: '',
|
|
|
+ selector: {
|
|
|
+ show: false,
|
|
|
+ value: '',
|
|
|
+ },
|
|
|
+ slot: {
|
|
|
+ show: false,
|
|
|
+ value: '',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ background: {
|
|
|
+ show: false,
|
|
|
+ type: 'video',
|
|
|
+ link: '',
|
|
|
+ },
|
|
|
+ layout: {
|
|
|
+ direction: 'column',
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ name: 'yj_gas',
|
|
|
basis: '50%',
|
|
|
},
|
|
|
{
|
|
|
- name: 'dz_outfire',
|
|
|
+ name: 'yj_gas',
|
|
|
basis: '50%',
|
|
|
},
|
|
|
],
|
|
@@ -4106,23 +4199,84 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [
|
|
|
{
|
|
|
- readFrom: 'dz_onfire',
|
|
|
+ readFrom: 'gasData',
|
|
|
+ type: 'A',
|
|
|
+ titleData: {
|
|
|
+ label: '安全监测系统监测点',
|
|
|
+ value: 'safety_sum',
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
- readFrom: 'dz_outfire',
|
|
|
+ readFrom: 'gasData',
|
|
|
+ type: 'B',
|
|
|
+ titleData: {
|
|
|
+ label: '瓦斯抽采系统监测点',
|
|
|
+ value: 'gas_sum',
|
|
|
+ },
|
|
|
},
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:614px;height:240px;',
|
|
|
+ size: 'width:420px;height:400px;',
|
|
|
version: '原版',
|
|
|
- position: 'bottom:15px;left:450px',
|
|
|
+ position: 'top:70px;right:15px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
deviceType: 'fusionManageInfo',
|
|
|
- moduleName: '瓦斯监测预警',
|
|
|
+ moduleName: '风险权重比例',
|
|
|
+ pageType: '',
|
|
|
+ moduleData: {
|
|
|
+ header: {
|
|
|
+ show: false,
|
|
|
+ readFrom: '',
|
|
|
+ selector: {
|
|
|
+ show: false,
|
|
|
+ value: '',
|
|
|
+ },
|
|
|
+ slot: {
|
|
|
+ show: false,
|
|
|
+ value: '',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ background: {
|
|
|
+ show: false,
|
|
|
+ type: 'video',
|
|
|
+ link: '',
|
|
|
+ },
|
|
|
+ layout: {
|
|
|
+ direction: 'column',
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ name: 'yj_risk',
|
|
|
+ basis: '100%',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ board: [],
|
|
|
+ chart: [],
|
|
|
+ gallery: [],
|
|
|
+ gallery_list: [],
|
|
|
+ table: [],
|
|
|
+ list: [],
|
|
|
+ complex_list: [],
|
|
|
+ preset: [
|
|
|
+ {
|
|
|
+ readFrom: 'riskData',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ // mock: BDfireMock,
|
|
|
+ },
|
|
|
+ showStyle: {
|
|
|
+ size: 'width:360px;height:240px;',
|
|
|
+ version: '原版',
|
|
|
+ position: 'top:50px;left:450px',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ deviceType: 'fusionManageInfo',
|
|
|
+ moduleName: '设备监测预警',
|
|
|
pageType: 'fusion-warn-green',
|
|
|
moduleData: {
|
|
|
header: {
|
|
@@ -4163,154 +4317,154 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
readFrom: 'deviceWarn',
|
|
|
listOption: {
|
|
|
fanmain: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/zhushan.png'),
|
|
|
+ url: getThemifyImagesURL(),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${fanmain_all}',
|
|
|
- warnCount: '${fanmain_warn}',
|
|
|
- closeCount: '${fanmain_close}',
|
|
|
+ allCount: 'fanmain_all',
|
|
|
+ warnCount: 'fanmain_warn',
|
|
|
+ closeCount: 'fanmain_close',
|
|
|
},
|
|
|
fanlocal: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/js.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${fanlocal_all}',
|
|
|
- warnCount: '${fanlocal_warn}',
|
|
|
- closeCount: '${fanlocal_close}',
|
|
|
+ allCount: 'fanlocal_all',
|
|
|
+ warnCount: 'fanlocal_warn',
|
|
|
+ closeCount: 'fanlocal_close',
|
|
|
},
|
|
|
bundletube: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/shug.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${bundletube_all}',
|
|
|
- warnCount: '${bundletube_warn}',
|
|
|
- closeCount: '${bundletube_close}',
|
|
|
+ allCount: 'bundletube_all',
|
|
|
+ warnCount: 'bundletube_warn',
|
|
|
+ closeCount: 'bundletube_close',
|
|
|
},
|
|
|
fanlocaldp: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/js.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${fanlocaldp_all}',
|
|
|
- warnCount: '${fanlocaldp_warn}',
|
|
|
- closeCount: '${fanlocaldp_close}',
|
|
|
+ allCount: 'fanlocaldp_all',
|
|
|
+ warnCount: 'fanlocaldp_warn',
|
|
|
+ closeCount: 'fanlocaldp_close',
|
|
|
},
|
|
|
gate: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/fm.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${gate_all}',
|
|
|
- warnCount: '${gate_warn}',
|
|
|
- closeCount: '${gate_close}',
|
|
|
+ allCount: 'gate_all',
|
|
|
+ warnCount: 'gate_warn',
|
|
|
+ closeCount: 'gate_close',
|
|
|
},
|
|
|
window: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/fc.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${window_all}',
|
|
|
- warnCount: '${window_warn}',
|
|
|
- closeCount: '${window_close}',
|
|
|
+ allCount: 'window_all',
|
|
|
+ warnCount: 'window_warn',
|
|
|
+ closeCount: 'window_close',
|
|
|
},
|
|
|
windrect: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/cf.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${windrect_all}',
|
|
|
- warnCount: '${windrect_warn}',
|
|
|
- closeCount: '${windrect_close}',
|
|
|
+ allCount: 'windrect_all',
|
|
|
+ warnCount: 'windrect_warn',
|
|
|
+ closeCount: 'windrect_close',
|
|
|
},
|
|
|
forcFan: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/yafeng.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${forcFan_all}',
|
|
|
- warnCount: '${forcFan_warn}',
|
|
|
- closeCount: '${forcFan_close}',
|
|
|
+ allCount: 'forcFan_all',
|
|
|
+ warnCount: 'forcFan_warn',
|
|
|
+ closeCount: 'forcFan_close',
|
|
|
},
|
|
|
spray: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/penlin.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${spray_all}',
|
|
|
- warnCount: '${spray_warn}',
|
|
|
- closeCount: '${spray_close}',
|
|
|
+ allCount: 'spray_all',
|
|
|
+ warnCount: 'spray_warn',
|
|
|
+ closeCount: 'spray_close',
|
|
|
},
|
|
|
dustdev: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/penfen.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${dustdev_all}',
|
|
|
- warnCount: '${dustdev_warn}',
|
|
|
- closeCount: '${dustdev_close}',
|
|
|
+ allCount: 'dustdev_all',
|
|
|
+ warnCount: 'dustdev_warn',
|
|
|
+ closeCount: 'dustdev_close',
|
|
|
},
|
|
|
nitrogen: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/zhudan.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${nitrogen_all}',
|
|
|
- warnCount: '${nitrogen_warn}',
|
|
|
- closeCount: '${nitrogen_close}',
|
|
|
+ allCount: 'nitrogen_all',
|
|
|
+ warnCount: 'nitrogen_warn',
|
|
|
+ closeCount: 'nitrogen_close',
|
|
|
},
|
|
|
pulping: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/zhujiang.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${pulping_all}',
|
|
|
- warnCount: '${pulping_warn}',
|
|
|
- closeCount: '${pulping_close}',
|
|
|
+ allCount: 'pulping_all',
|
|
|
+ warnCount: 'pulping_warn',
|
|
|
+ closeCount: 'pulping_close',
|
|
|
},
|
|
|
atomizing: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/pw.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${atomizing_all}',
|
|
|
- warnCount: '${atomizing_warn}',
|
|
|
- closeCount: '${atomizing_close}',
|
|
|
+ allCount: 'atomizing_all',
|
|
|
+ warnCount: 'atomizing_warn',
|
|
|
+ closeCount: 'atomizing_close',
|
|
|
},
|
|
|
dustsensor: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/ccq.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${dustsensor_all}',
|
|
|
- warnCount: '${dustsensor_warn}',
|
|
|
- closeCount: '${dustsensor_close}',
|
|
|
+ allCount: 'dustsensor_all',
|
|
|
+ warnCount: 'dustsensor_warn',
|
|
|
+ closeCount: 'dustsensor_close',
|
|
|
},
|
|
|
gas: {
|
|
|
- url: getThemifyImagesURL('vent/alarm-icons/wasichoucaig.png'),
|
|
|
+ url: getThemifyImagesURL(''),
|
|
|
text: '',
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${gas_all}',
|
|
|
- warnCount: '${gas_warn}',
|
|
|
- closeCount: '${gas_close}',
|
|
|
+ allCount: 'gas_all',
|
|
|
+ warnCount: 'gas_warn',
|
|
|
+ closeCount: 'gas_close',
|
|
|
},
|
|
|
pump: {
|
|
|
url: getThemifyImagesURL('vent/alarm-icons/wasibeng.png'),
|
|
@@ -4318,9 +4472,9 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${pump_all}',
|
|
|
- warnCount: '${pump_warn}',
|
|
|
- closeCount: '${pump_close}',
|
|
|
+ allCount: 'pump_all',
|
|
|
+ warnCount: 'pump_warn',
|
|
|
+ closeCount: 'pump_close',
|
|
|
},
|
|
|
modelsensor: {
|
|
|
url: getThemifyImagesURL('vent/alarm-icons/cf.png'),
|
|
@@ -4328,9 +4482,9 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
allText: '总数',
|
|
|
warnText: '报警数',
|
|
|
closeText: '断开数',
|
|
|
- allCount: '${modelsensor_all}',
|
|
|
- warnCount: '${modelsensor_warn}',
|
|
|
- closeCount: '${modelsensor_close}',
|
|
|
+ allCount: 'modelsensor_all',
|
|
|
+ warnCount: 'modelsensor_warn',
|
|
|
+ closeCount: 'modelsensor_close',
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -4338,136 +4492,9 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:420px;height:400px;',
|
|
|
+ size: 'width:1020px;height:240px;',
|
|
|
version: '原版',
|
|
|
- position: 'top:480px;left:15px',
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- deviceType: 'fusionManageInfo',
|
|
|
- moduleName: '风险权重比例',
|
|
|
- pageType: 'fusion-warn-green',
|
|
|
- moduleData: {
|
|
|
- header: {
|
|
|
- show: false,
|
|
|
- readFrom: '',
|
|
|
- selector: {
|
|
|
- show: false,
|
|
|
- value: '',
|
|
|
- },
|
|
|
- slot: {
|
|
|
- show: false,
|
|
|
- value: '',
|
|
|
- },
|
|
|
- },
|
|
|
- background: {
|
|
|
- show: false,
|
|
|
- type: 'video',
|
|
|
- link: '',
|
|
|
- },
|
|
|
- layout: {
|
|
|
- direction: 'column',
|
|
|
- items: [
|
|
|
- {
|
|
|
- name: 'chart',
|
|
|
- basis: '100%',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- board: [],
|
|
|
- chart: [
|
|
|
- {
|
|
|
- type: 'pie_halo',
|
|
|
- readFrom: '',
|
|
|
- legend: { show: false, formatter: '{b}:{c}\n{d}%' },
|
|
|
- xAxis: [{ show: false }],
|
|
|
- yAxis: [{ show: false, name: '风量', position: 'left' }],
|
|
|
- series: [{ readFrom: 'piechart', xprop: 'label', yprop: 'valMock', label: '' }],
|
|
|
- },
|
|
|
- ],
|
|
|
- gallery: [],
|
|
|
- gallery_list: [],
|
|
|
- table: [],
|
|
|
- list: [],
|
|
|
- complex_list: [],
|
|
|
- preset: [],
|
|
|
- // mock: BDfireMock,
|
|
|
- },
|
|
|
- showStyle: {
|
|
|
- size: 'width:360px;height:240px;',
|
|
|
- version: '原版',
|
|
|
- position: 'bottom:15px;right:450px',
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- deviceType: 'fusionManageInfo',
|
|
|
- moduleName: '设备监测预警',
|
|
|
- pageType: 'fusion-warn-green',
|
|
|
- moduleData: {
|
|
|
- header: {
|
|
|
- show: false,
|
|
|
- readFrom: '',
|
|
|
- selector: {
|
|
|
- show: false,
|
|
|
- value: '',
|
|
|
- },
|
|
|
- slot: {
|
|
|
- show: false,
|
|
|
- value: '',
|
|
|
- },
|
|
|
- },
|
|
|
- background: {
|
|
|
- show: false,
|
|
|
- type: 'video',
|
|
|
- link: '',
|
|
|
- },
|
|
|
- layout: {
|
|
|
- direction: 'column',
|
|
|
- items: [
|
|
|
- {
|
|
|
- name: 'board',
|
|
|
- basis: '35%',
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'dz_card',
|
|
|
- basis: '65%',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- board: [
|
|
|
- {
|
|
|
- type: 'K',
|
|
|
- readFrom: 'fireManageInfo',
|
|
|
- layout: 'label-top',
|
|
|
- items: [
|
|
|
- {
|
|
|
- label: '安全监测系统监测点',
|
|
|
- value: '${nyWarnLevel}',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '瓦斯抽采系统监测点',
|
|
|
- value: '${wyWarnLevel}',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
- chart: [],
|
|
|
- gallery: [],
|
|
|
- gallery_list: [],
|
|
|
- table: [],
|
|
|
- list: [],
|
|
|
- complex_list: [],
|
|
|
- preset: [
|
|
|
- {
|
|
|
- readFrom: 'dz_card',
|
|
|
- },
|
|
|
- ],
|
|
|
- // mock: BDfireMock,
|
|
|
- },
|
|
|
- showStyle: {
|
|
|
- size: 'width:420px;height:400px;',
|
|
|
- version: '原版',
|
|
|
- position: 'top:70px;right:15px',
|
|
|
+ position: 'bottom:15px;left:450px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -4496,7 +4523,7 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
direction: 'column',
|
|
|
items: [
|
|
|
{
|
|
|
- name: 'dz_chart',
|
|
|
+ name: 'yj_chart',
|
|
|
basis: '100%',
|
|
|
},
|
|
|
],
|
|
@@ -4510,13 +4537,58 @@ export const testConfigWarnMonitor: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [
|
|
|
{
|
|
|
- readFrom: 'dz_chart',
|
|
|
+ readFrom: 'dustInfo',
|
|
|
+ echartOption: {
|
|
|
+ colorList: [
|
|
|
+ ['rgba(78, 8, 10, 1)', 'rgba(255, 0, 0, 1)'],
|
|
|
+ ['rgba(78, 44, 10, 1)', 'rgba(255, 119, 0, 1)'],
|
|
|
+ ['rgba(72, 62, 41, 1)', 'rgba(234, 179, 105, 1)'],
|
|
|
+ ['rgba(78, 73, 10, 1)', 'rgba(255, 214, 0, 1)'],
|
|
|
+ ['rgba(24, 60, 76, 1)', 'rgba(78, 171, 217, 1)'],
|
|
|
+ ],
|
|
|
+ grid: {
|
|
|
+ top: '8%',
|
|
|
+ left: '5%',
|
|
|
+ right: '5%',
|
|
|
+ bottom: '5%',
|
|
|
+ containLabel: true,
|
|
|
+ },
|
|
|
+ axisLineX: {
|
|
|
+ show: true,
|
|
|
+ lineStyle: {
|
|
|
+ // width: 1,
|
|
|
+ color: 'rgba(34, 55, 81,.7)',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ axisLabelX: {
|
|
|
+ fontSize: 14,
|
|
|
+ interval: 0,
|
|
|
+ textStyle: {
|
|
|
+ color: '#FFF', //更改坐标轴文字颜色
|
|
|
+ fontSize: 12, //更改坐标轴文字大小
|
|
|
+ },
|
|
|
+ },
|
|
|
+ splitLineY: {
|
|
|
+ show: true,
|
|
|
+ lineStyle: {
|
|
|
+ // type: 'dashed',
|
|
|
+ color: 'rgba(34, 55, 81,.7)',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ axisLabelY: {
|
|
|
+ fontSize: 14,
|
|
|
+ textStyle: {
|
|
|
+ color: '#FFF', //更改坐标轴文字颜色
|
|
|
+ fontSize: 12, //更改坐标轴文字大小
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
],
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:420px;height:400px;',
|
|
|
+ size: 'width:420px;height:420px;',
|
|
|
version: '原版',
|
|
|
position: 'top:480px;right:15px',
|
|
|
},
|