|
@@ -158,11 +158,11 @@ export const testConfigBDDust: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
name: 'gallery',
|
|
|
- basis: '20%',
|
|
|
+ basis: '30%',
|
|
|
},
|
|
|
{
|
|
|
name: 'complex_list',
|
|
|
- basis: '80%',
|
|
|
+ basis: '70%',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -170,33 +170,33 @@ export const testConfigBDDust: Config[] = [
|
|
|
chart: [],
|
|
|
gallery: [
|
|
|
{
|
|
|
- type: 'F',
|
|
|
+ type: 'I',
|
|
|
readFrom: 'dustManageInfo',
|
|
|
items: [
|
|
|
{
|
|
|
label: '',
|
|
|
value: '${totalNum}',
|
|
|
- color: 'blue',
|
|
|
+ color: 'white',
|
|
|
},
|
|
|
{
|
|
|
label: '低风险',
|
|
|
value: '${dfxNum}',
|
|
|
- color: 'blue',
|
|
|
+ color: 'lightblue',
|
|
|
},
|
|
|
{
|
|
|
label: '一般风险',
|
|
|
value: '${ybNum}',
|
|
|
- color: 'blue',
|
|
|
+ color: 'lightblue',
|
|
|
},
|
|
|
{
|
|
|
label: '较大风险',
|
|
|
value: '${jdNum}',
|
|
|
- color: 'blue',
|
|
|
+ color: 'lightblue',
|
|
|
},
|
|
|
{
|
|
|
label: '重大风险',
|
|
|
value: '${zdNum}',
|
|
|
- color: 'blue',
|
|
|
+ color: 'lightblue',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -206,7 +206,7 @@ export const testConfigBDDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [
|
|
|
{
|
|
|
- type: 'A',
|
|
|
+ type: 'E',
|
|
|
readFrom: 'dustManageInfo.sysList',
|
|
|
mapFromData: true,
|
|
|
items: [
|
|
@@ -231,12 +231,81 @@ export const testConfigBDDust: Config[] = [
|
|
|
},
|
|
|
],
|
|
|
preset: [],
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:750px;',
|
|
|
+ size: 'width:440px;height:460px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:170px;left:0;',
|
|
|
+ position: 'top:170px;left:10px;',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ deviceType: '',
|
|
|
+ moduleName: '设备信息',
|
|
|
+ pageType: '',
|
|
|
+ moduleData: {
|
|
|
+ header: {
|
|
|
+ show: false,
|
|
|
+ readFrom: '',
|
|
|
+ selector: {
|
|
|
+ show: false,
|
|
|
+ value: '',
|
|
|
+ },
|
|
|
+ slot: {
|
|
|
+ show: false,
|
|
|
+ value: '',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ background: {
|
|
|
+ show: false,
|
|
|
+ type: 'video',
|
|
|
+ link: '',
|
|
|
+ },
|
|
|
+ layout: {
|
|
|
+ direction: 'row',
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ name: 'table',
|
|
|
+ basis: '100%',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ board: [],
|
|
|
+ chart: [],
|
|
|
+ gallery: [],
|
|
|
+ gallery_list: [],
|
|
|
+ table: [
|
|
|
+ {
|
|
|
+ type: 'A',
|
|
|
+ readFrom: '',
|
|
|
+ columns: [
|
|
|
+ {
|
|
|
+ name: '设备名称',
|
|
|
+ prop: 'name',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '连接状态',
|
|
|
+ prop: 'st',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '应用场景',
|
|
|
+ prop: 'sc',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '喷雾状态',
|
|
|
+ prop: 'pw',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ list: [],
|
|
|
+ complex_list: [],
|
|
|
+ preset: [],
|
|
|
+ },
|
|
|
+ showStyle: {
|
|
|
+ size: 'width:440px;height:280px;',
|
|
|
+ version: '保德',
|
|
|
+ position: 'top:640px;left:10px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -294,12 +363,12 @@ export const testConfigBDDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:1000px;height:280px;',
|
|
|
+ size: 'width:980px;height:280px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:640px;left:460px',
|
|
|
+ position: 'bottom:8px;left:470px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -369,12 +438,12 @@ export const testConfigBDDust: Config[] = [
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
to: 'http://10.248.210.154:8801',
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:280px;',
|
|
|
+ size: 'width:440px;height:300px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:60px;right:0;',
|
|
|
+ position: 'top:60px;right:10px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -414,7 +483,7 @@ export const testConfigBDDust: Config[] = [
|
|
|
gallery_list: [],
|
|
|
table: [
|
|
|
{
|
|
|
- type: 'C',
|
|
|
+ type: 'A',
|
|
|
readFrom: 'devGbsb',
|
|
|
columns: [
|
|
|
{
|
|
@@ -435,12 +504,12 @@ export const testConfigBDDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:280px;',
|
|
|
+ size: 'width:440px;height:280px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:350px;right:0;',
|
|
|
+ position: 'top:370px;right:10px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -502,12 +571,12 @@ export const testConfigBDDust: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDdustMock,
|
|
|
+ mock: BDdustMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:280px;',
|
|
|
+ size: 'width:440px;height:260px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:640px;right:0;',
|
|
|
+ position: 'top:660px;right:10px;',
|
|
|
},
|
|
|
},
|
|
|
];
|
|
@@ -5511,7 +5580,7 @@ export const testConfigBDFire: Config[] = [
|
|
|
},
|
|
|
board: [
|
|
|
{
|
|
|
- type: 'A',
|
|
|
+ type: 'H',
|
|
|
readFrom: 'fireManageInfo',
|
|
|
layout: 'label-top',
|
|
|
items: [
|
|
@@ -5561,9 +5630,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:310px;',
|
|
|
+ size: 'width:440px;height:300px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:170px;left:0;',
|
|
|
+ position: 'top:170px;left:10px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -5640,9 +5709,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
},
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:120px;',
|
|
|
+ size: 'width:440px;height:130px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:490px;left:0;',
|
|
|
+ position: 'top:480px;left:10px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -5672,11 +5741,11 @@ export const testConfigBDFire: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
name: 'board',
|
|
|
- basis: '30%',
|
|
|
+ basis: '35%',
|
|
|
},
|
|
|
{
|
|
|
name: 'chart',
|
|
|
- basis: '70%',
|
|
|
+ basis: '65%',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -5727,9 +5796,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:300px;',
|
|
|
+ size: 'width:440px;height:300px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:620px;left:0;',
|
|
|
+ position: 'top:620px;left:10px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -5759,11 +5828,11 @@ export const testConfigBDFire: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
name: 'list',
|
|
|
- basis: '65%',
|
|
|
+ basis: '60%',
|
|
|
},
|
|
|
{
|
|
|
name: 'blast_delta',
|
|
|
- basis: '35%',
|
|
|
+ basis: '40%',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -5774,7 +5843,7 @@ export const testConfigBDFire: Config[] = [
|
|
|
table: [],
|
|
|
list: [
|
|
|
{
|
|
|
- type: 'G',
|
|
|
+ type: 'I',
|
|
|
readFrom: '',
|
|
|
items: [
|
|
|
{
|
|
@@ -5839,9 +5908,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:1000px;height:300px;',
|
|
|
+ size: 'width:980px;height:300px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:620px;left:460px',
|
|
|
+ position: 'bottom:8px;left:470px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -5902,9 +5971,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:1000px;height:280px;',
|
|
|
+ size: 'width:980px;height:280px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:640px;left:460px',
|
|
|
+ position: 'bottom:8px;left:470px',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -5914,10 +5983,10 @@ export const testConfigBDFire: Config[] = [
|
|
|
moduleData: {
|
|
|
header: {
|
|
|
show: true,
|
|
|
- readFrom: 'arrayDev',
|
|
|
+ readFrom: 'obfObjModded',
|
|
|
selector: {
|
|
|
show: true,
|
|
|
- value: '${strinstallpos}',
|
|
|
+ value: '${objType}',
|
|
|
},
|
|
|
slot: {
|
|
|
show: false,
|
|
@@ -5933,53 +6002,29 @@ export const testConfigBDFire: Config[] = [
|
|
|
direction: 'row',
|
|
|
items: [
|
|
|
{
|
|
|
- name: 'board',
|
|
|
+ name: 'chart',
|
|
|
basis: '100%',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
- board: [
|
|
|
+ board: [],
|
|
|
+ chart: [
|
|
|
{
|
|
|
- type: 'G',
|
|
|
- layout: 'label-top',
|
|
|
+ type: 'bar_cylinder',
|
|
|
readFrom: '',
|
|
|
- items: [
|
|
|
- {
|
|
|
- label: '一氧化碳',
|
|
|
- value: '${coVal}',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '二氧化碳',
|
|
|
- value: '${co2Val}',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '氧气',
|
|
|
- value: '${o2Val}',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '温度',
|
|
|
- value: '${tempVal}',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '乙烯',
|
|
|
- value: '${c2h4Val}',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '甲烷',
|
|
|
- value: '${ch4Val}',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '乙炔',
|
|
|
- value: '${c2h2Val}',
|
|
|
- },
|
|
|
+ legend: { show: false },
|
|
|
+ xAxis: [{ show: true }],
|
|
|
+ yAxis: [{ show: true, name: '', position: 'left' }],
|
|
|
+ series: [
|
|
|
{
|
|
|
- label: '压差',
|
|
|
- value: '${dpVal}',
|
|
|
+ readFrom: 'arrayDev',
|
|
|
+ xprop: 'strinstallpos',
|
|
|
+ yprop: 'val',
|
|
|
+ label: '',
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
],
|
|
|
- chart: [],
|
|
|
gallery: [],
|
|
|
gallery_list: [],
|
|
|
table: [],
|
|
@@ -5989,9 +6034,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:230px;',
|
|
|
+ size: 'width:440px;height:230px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:170px;right:0;',
|
|
|
+ position: 'top:170px;right:10px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -6063,7 +6108,7 @@ export const testConfigBDFire: Config[] = [
|
|
|
table: [],
|
|
|
list: [
|
|
|
{
|
|
|
- type: 'F',
|
|
|
+ type: 'H',
|
|
|
readFrom: 'arrayCount',
|
|
|
items: [
|
|
|
{
|
|
@@ -6092,9 +6137,9 @@ export const testConfigBDFire: Config[] = [
|
|
|
// mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:240px;',
|
|
|
+ size: 'width:440px;height:240px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:410px;right:0;',
|
|
|
+ position: 'top:410px;right:10px;',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -6159,12 +6204,12 @@ export const testConfigBDFire: Config[] = [
|
|
|
list: [],
|
|
|
complex_list: [],
|
|
|
preset: [],
|
|
|
- // mock: BDfireMock,
|
|
|
+ mock: BDfireMock,
|
|
|
},
|
|
|
showStyle: {
|
|
|
- size: 'width:450px;height:260px;',
|
|
|
+ size: 'width:440px;height:260px;',
|
|
|
version: '保德',
|
|
|
- position: 'top:660px;right:0;',
|
|
|
+ position: 'top:660px;right:10px;',
|
|
|
},
|
|
|
},
|
|
|
];
|
|
@@ -6267,9 +6312,9 @@ export const testConfigBDNew: Config[] = [
|
|
|
// // mock: BDfireMock,
|
|
|
// },
|
|
|
// // showStyle: {
|
|
|
- // // size: 'width:450px;height:760px;',
|
|
|
+ // // size: 'width:440px;height:760px;',
|
|
|
// // version: '保德',
|
|
|
- // // position: 'top:160px;left:0;',
|
|
|
+ // // position: 'top:160px;left:10px;',
|
|
|
// // },
|
|
|
// showStyle: {
|
|
|
// size: 'width:1000px;height:280px;',
|
|
@@ -6373,9 +6418,9 @@ export const testConfigBDNew: Config[] = [
|
|
|
// // mock: BDfireMock,
|
|
|
// },
|
|
|
// showStyle: {
|
|
|
- // size: 'width:450px;height:760px;',
|
|
|
+ // size: 'width:440px;height:760px;',
|
|
|
// version: '保德',
|
|
|
- // position: 'top:160px;left:0;',
|
|
|
+ // position: 'top:160px;left:10px;',
|
|
|
// },
|
|
|
// },
|
|
|
// {
|
|
@@ -6705,7 +6750,7 @@ export const testConfigBDNew: Config[] = [
|
|
|
// },
|
|
|
// },
|
|
|
// showStyle: {
|
|
|
- // size: 'width:450px;height:570px;',
|
|
|
+ // size: 'width:440px;height:570px;',
|
|
|
// version: '新版',
|
|
|
// position: 'top:60px;right:0;',
|
|
|
// },
|
|
@@ -6803,7 +6848,7 @@ export const testConfigBDNew: Config[] = [
|
|
|
// // mock: BDfireMock,
|
|
|
// },
|
|
|
// showStyle: {
|
|
|
- // size: 'width:450px;height:280px;',
|
|
|
+ // size: 'width:440px;height:280px;',
|
|
|
// version: '保德',
|
|
|
// position: 'top:640px;right:0;',
|
|
|
// },
|