|
@@ -156,12 +156,12 @@ export const testConfigSealedGoaf: Config[] = [
|
|
|
},
|
|
},
|
|
|
chart: [
|
|
chart: [
|
|
|
{
|
|
{
|
|
|
- type: 'pie_halo',
|
|
|
|
|
|
|
+ type: 'pie_drag',
|
|
|
readFrom: '',
|
|
readFrom: '',
|
|
|
legend: { show: false, formatter: '{b}:{c}\n{d}%' },
|
|
legend: { show: false, formatter: '{b}:{c}\n{d}%' },
|
|
|
xAxis: [{ show: false }],
|
|
xAxis: [{ show: false }],
|
|
|
yAxis: [{ show: false, name: '风量', position: 'left' }],
|
|
yAxis: [{ show: false, name: '风量', position: 'left' }],
|
|
|
- series: [{ readFrom: 'piechart', xprop: 'label', yprop: 'valMock', label: '' }],
|
|
|
|
|
|
|
+ series: [{ readFrom: 'piechart', xprop: 'pos', yprop: 'val', label: '' }],
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
gallery: [],
|
|
gallery: [],
|
|
@@ -170,9 +170,16 @@ export const testConfigSealedGoaf: Config[] = [
|
|
|
list: [],
|
|
list: [],
|
|
|
complex_list: [],
|
|
complex_list: [],
|
|
|
preset: [],
|
|
preset: [],
|
|
|
|
|
+ mock: {
|
|
|
|
|
+ piechart: [
|
|
|
|
|
+ { pos: 'Ⅰ类容易自燃', val: 50 },
|
|
|
|
|
+ { pos: 'Ⅱ类自燃', val: 80 },
|
|
|
|
|
+ { pos: 'Ⅲ类不易自燃', val: 40 },
|
|
|
|
|
+ ],
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
showStyle: {
|
|
showStyle: {
|
|
|
- size: 'width:440px;height:270px;',
|
|
|
|
|
|
|
+ size: 'width:440px;height:210px;',
|
|
|
version: '原版',
|
|
version: '原版',
|
|
|
position: 'top:370px;left:10px;',
|
|
position: 'top:370px;left:10px;',
|
|
|
headerPosition: 'centerBottom',
|
|
headerPosition: 'centerBottom',
|
|
@@ -206,17 +213,19 @@ export const testConfigSealedGoaf: Config[] = [
|
|
|
items: [
|
|
items: [
|
|
|
{
|
|
{
|
|
|
name: 'board',
|
|
name: 'board',
|
|
|
- basis: '30%',
|
|
|
|
|
|
|
+ basis: '40%',
|
|
|
|
|
+ overflow: true,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: 'table',
|
|
name: 'table',
|
|
|
- basis: '70%',
|
|
|
|
|
|
|
+ basis: '60%',
|
|
|
|
|
+ overflow: true,
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
board: [
|
|
board: [
|
|
|
{
|
|
{
|
|
|
- type: 'CKQMB1',
|
|
|
|
|
|
|
+ type: 'CKQMB0',
|
|
|
readFrom: '',
|
|
readFrom: '',
|
|
|
layout: 'val-top',
|
|
layout: 'val-top',
|
|
|
items: [
|
|
items: [
|
|
@@ -326,9 +335,9 @@ export const testConfigSealedGoaf: Config[] = [
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
showStyle: {
|
|
showStyle: {
|
|
|
- size: 'width:440px;height:350px;',
|
|
|
|
|
|
|
+ size: 'width:440px;height:290px;',
|
|
|
version: '原版',
|
|
version: '原版',
|
|
|
- position: 'top:600px;left:10px;',
|
|
|
|
|
|
|
+ position: 'top:570px;left:10px;',
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
// 5. 密闭情况总览
|
|
// 5. 密闭情况总览
|
|
@@ -360,10 +369,12 @@ export const testConfigSealedGoaf: Config[] = [
|
|
|
{
|
|
{
|
|
|
name: 'board',
|
|
name: 'board',
|
|
|
basis: '30%',
|
|
basis: '30%',
|
|
|
|
|
+ overflow: true,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: 'table',
|
|
name: 'table',
|
|
|
basis: '70%',
|
|
basis: '70%',
|
|
|
|
|
+ overflow: true,
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
@@ -475,6 +486,20 @@ export const testConfigSealedGoaf: Config[] = [
|
|
|
jgfx: '0',
|
|
jgfx: '0',
|
|
|
gfx: '0',
|
|
gfx: '0',
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ index: '执法五处',
|
|
|
|
|
+ dfx: '50',
|
|
|
|
|
+ ybfx: '20',
|
|
|
|
|
+ jgfx: '0',
|
|
|
|
|
+ gfx: '0',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ index: '执法六处',
|
|
|
|
|
+ dfx: '50',
|
|
|
|
|
+ ybfx: '20',
|
|
|
|
|
+ jgfx: '0',
|
|
|
|
|
+ gfx: '0',
|
|
|
|
|
+ },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
@@ -513,10 +538,12 @@ export const testConfigSealedGoaf: Config[] = [
|
|
|
{
|
|
{
|
|
|
name: 'board',
|
|
name: 'board',
|
|
|
basis: '40%',
|
|
basis: '40%',
|
|
|
|
|
+ overflow: true,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: 'table',
|
|
name: 'table',
|
|
|
basis: '60%',
|
|
basis: '60%',
|
|
|
|
|
+ overflow: true,
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|