|
@@ -336,10 +336,10 @@ export const testConfigA: Config[] = [
|
|
|
// showSelector: true,
|
|
|
// showSlot: true,
|
|
|
// selector: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// },
|
|
|
// background: {
|
|
@@ -354,12 +354,12 @@ export const testConfigA: Config[] = [
|
|
|
// layout: 'val-top',
|
|
|
// items: [
|
|
|
// {
|
|
|
- // prop: 'readData.windSpeed1',
|
|
|
+ // prop: '${readData}.windSpeed1',
|
|
|
// label: '风速1',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '风速2',
|
|
|
- // prop: 'readData.windSpeed2',
|
|
|
+ // prop: '${readData}.windSpeed2',
|
|
|
// },
|
|
|
// ],
|
|
|
// },
|
|
@@ -386,10 +386,10 @@ export const testConfigA: Config[] = [
|
|
|
// showSelector: true,
|
|
|
// showSlot: true,
|
|
|
// selector: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// },
|
|
|
// background: {
|
|
@@ -404,15 +404,15 @@ export const testConfigA: Config[] = [
|
|
|
// {
|
|
|
// type: 'line_area',
|
|
|
// readFrom: 'majorpath.paths',
|
|
|
- // xAxis: [{ prop: 'name' }],
|
|
|
+ // xAxis: [{ prop: '${name}' }],
|
|
|
// yAxis: [
|
|
|
// { label: 'Drag', align: 'left' },
|
|
|
// { label: 'M3', align: 'right' },
|
|
|
// ],
|
|
|
// series: [
|
|
|
- // { label: 'Drag', prop: 'drag' },
|
|
|
- // { label: 'M3', prop: 'm3' },
|
|
|
- // // { label: '回2', prop: 'hui2' },
|
|
|
+ // { label: 'Drag', prop: '${drag}' },
|
|
|
+ // { label: 'M3', prop: '${m3}' },
|
|
|
+ // // { label: '回2', prop: '${hui2}' },
|
|
|
// ],
|
|
|
// },
|
|
|
// ],
|
|
@@ -436,11 +436,10 @@ export const testConfigA: Config[] = [
|
|
|
showSelector: false,
|
|
|
showSlot: true,
|
|
|
selector: {
|
|
|
- prop: 'strinstallpos',
|
|
|
+ prop: '${strinstallpos}',
|
|
|
},
|
|
|
slot: {
|
|
|
- prop: 'netstatus.val',
|
|
|
- formatter: '网络异常:${} 台',
|
|
|
+ prop: '网络异常:${netstatus.val} 台',
|
|
|
},
|
|
|
},
|
|
|
background: {
|
|
@@ -461,13 +460,13 @@ export const testConfigA: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
label: '堵塞状态',
|
|
|
- prop: 'fsectarea',
|
|
|
+ prop: '${fsectarea}',
|
|
|
color: 'yellow',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '甲烷浓度',
|
|
|
- prop: 'stationname',
|
|
|
+ prop: '${stationname}',
|
|
|
color: 'yellow',
|
|
|
info: '',
|
|
|
},
|
|
@@ -479,13 +478,13 @@ export const testConfigA: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
label: '堵塞状态',
|
|
|
- prop: 'fsectarea',
|
|
|
+ prop: '${fsectarea}',
|
|
|
color: 'yellow',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '甲烷浓度',
|
|
|
- prop: 'stationname',
|
|
|
+ prop: '${stationname}',
|
|
|
color: 'yellow',
|
|
|
info: '',
|
|
|
},
|
|
@@ -499,40 +498,38 @@ export const testConfigA: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
label: '火情状态',
|
|
|
- prop: 'fsectarea',
|
|
|
+ prop: '${fsectarea}',
|
|
|
color: 'yellow',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '回采位置',
|
|
|
- prop: 'stationname',
|
|
|
+ prop: '${stationname}',
|
|
|
color: 'white',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '硐室火情',
|
|
|
- prop: 'stationtype',
|
|
|
+ prop: '${stationtype}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '联动设备状态',
|
|
|
- prop: 'typeName',
|
|
|
+ prop: '${typeName}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
],
|
|
|
galleryItems: [
|
|
|
{
|
|
|
- prop: 'total',
|
|
|
+ prop: '低风险',
|
|
|
label: '',
|
|
|
- formatter: '低风险',
|
|
|
color: 'white',
|
|
|
},
|
|
|
{
|
|
|
- prop: 'total',
|
|
|
+ prop: '${CO}',
|
|
|
label: '',
|
|
|
- formatter: 'CO',
|
|
|
color: 'white',
|
|
|
},
|
|
|
],
|
|
@@ -557,11 +554,11 @@ export const testConfigA: Config[] = [
|
|
|
showSlot: false,
|
|
|
selector: {
|
|
|
icon: 'SwapOutlined',
|
|
|
- prop: 'strinstallpos',
|
|
|
+ prop: '${strinstallpos}',
|
|
|
},
|
|
|
slot: {
|
|
|
icon: 'SwapOutlined',
|
|
|
- prop: 'strinstallpos',
|
|
|
+ prop: '${strinstallpos}',
|
|
|
},
|
|
|
},
|
|
|
background: {
|
|
@@ -580,14 +577,14 @@ export const testConfigA: Config[] = [
|
|
|
{
|
|
|
type: 'bar',
|
|
|
readFrom: 'sysdata.history',
|
|
|
- xAxis: [{ prop: 'time' }],
|
|
|
+ xAxis: [{ prop: '${time}' }],
|
|
|
yAxis: [
|
|
|
{ label: '回1', align: 'left' },
|
|
|
// { label: '回2', align: 'right' },
|
|
|
],
|
|
|
series: [
|
|
|
- { label: '回1', prop: 'hui1' },
|
|
|
- // { label: '回2', prop: 'hui2' },
|
|
|
+ { label: '回1', prop: '${hui1}' },
|
|
|
+ // { label: '回2', prop: '${hui2}' },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
@@ -608,10 +605,10 @@ export const testConfigA: Config[] = [
|
|
|
showSelector: true,
|
|
|
showSlot: false,
|
|
|
selector: {
|
|
|
- prop: 'strinstallpos',
|
|
|
+ prop: '${strinstallpos}',
|
|
|
},
|
|
|
slot: {
|
|
|
- prop: 'strinstallpos',
|
|
|
+ prop: '${strinstallpos}',
|
|
|
},
|
|
|
},
|
|
|
background: {
|
|
@@ -631,49 +628,49 @@ export const testConfigA: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
label: '面积',
|
|
|
- prop: 'fsectarea',
|
|
|
+ prop: '${fsectarea}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '分站名称',
|
|
|
- prop: 'stationname',
|
|
|
+ prop: '${stationname}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '分站类别',
|
|
|
- prop: 'stationtype',
|
|
|
+ prop: '${stationtype}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '分类',
|
|
|
- prop: 'typeName',
|
|
|
+ prop: '${typeName}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '告警标识',
|
|
|
- prop: 'warnFlag',
|
|
|
+ prop: '${warnFlag}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '告警等级',
|
|
|
- prop: 'warnLevel',
|
|
|
+ prop: '${warnLevel}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '告警描述',
|
|
|
- prop: 'warnLevel_str',
|
|
|
+ prop: '${warnLevel_str}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '错误记录',
|
|
|
- prop: 'warnLogNotOkCount',
|
|
|
+ prop: '${warnLogNotOkCount}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
@@ -685,25 +682,25 @@ export const testConfigA: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
label: '面积',
|
|
|
- prop: 'fsectarea',
|
|
|
+ prop: '${fsectarea}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '分站名称',
|
|
|
- prop: 'stationname',
|
|
|
+ prop: '${stationname}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '分站类别',
|
|
|
- prop: 'stationtype',
|
|
|
+ prop: '${stationtype}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '分类',
|
|
|
- prop: 'typeName',
|
|
|
+ prop: '${typeName}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
@@ -730,10 +727,10 @@ export const testConfigA: Config[] = [
|
|
|
// showSelector: true,
|
|
|
// showSlot: true,
|
|
|
// selector: {
|
|
|
- // prop: 'devicePos',
|
|
|
+ // prop: '${devicePos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'devicePos',
|
|
|
+ // prop: '${devicePos}',
|
|
|
// },
|
|
|
// },
|
|
|
// background: {
|
|
@@ -751,15 +748,15 @@ export const testConfigA: Config[] = [
|
|
|
// readFrom: 'history',
|
|
|
// columns: [
|
|
|
// {
|
|
|
- // prop: 'index',
|
|
|
+ // prop: '${index}',
|
|
|
// label: '编号',
|
|
|
// },
|
|
|
// {
|
|
|
- // prop: 'time',
|
|
|
+ // prop: '${time}',
|
|
|
// label: '报警时间',
|
|
|
// },
|
|
|
// {
|
|
|
- // prop: 'warn',
|
|
|
+ // prop: '${warn}',
|
|
|
// label: '报警内容',
|
|
|
// },
|
|
|
// ],
|
|
@@ -783,10 +780,10 @@ export const testConfigA: Config[] = [
|
|
|
// showSelector: true,
|
|
|
// showSlot: true,
|
|
|
// selector: {
|
|
|
- // prop: 'devicePos',
|
|
|
+ // prop: '${devicePos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'devicePos',
|
|
|
+ // prop: '${devicePos}',
|
|
|
// },
|
|
|
// },
|
|
|
// background: {
|
|
@@ -817,10 +814,10 @@ export const testConfigA: Config[] = [
|
|
|
// showSelector: true,
|
|
|
// showSlot: true,
|
|
|
// selector: {
|
|
|
- // prop: 'devicePos',
|
|
|
+ // prop: '${devicePos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'devicePos',
|
|
|
+ // prop: '${devicePos}',
|
|
|
// },
|
|
|
// },
|
|
|
// background: {
|
|
@@ -840,19 +837,19 @@ export const testConfigA: Config[] = [
|
|
|
// readFrom: 'history',
|
|
|
// columns: [
|
|
|
// {
|
|
|
- // prop: 'cate',
|
|
|
+ // prop: '${cate}',
|
|
|
// label: '类别',
|
|
|
// },
|
|
|
// {
|
|
|
- // prop: 'temp',
|
|
|
+ // prop: '${temp}',
|
|
|
// label: '温度',
|
|
|
// },
|
|
|
// {
|
|
|
- // prop: 'wspd',
|
|
|
+ // prop: '${wspd}',
|
|
|
// label: '风速',
|
|
|
// },
|
|
|
// {
|
|
|
- // prop: 'spst',
|
|
|
+ // prop: '${spst}',
|
|
|
// label: '喷雾状态',
|
|
|
// },
|
|
|
// ],
|
|
@@ -876,10 +873,10 @@ export const testConfigA: Config[] = [
|
|
|
showSelector: true,
|
|
|
showSlot: true,
|
|
|
selector: {
|
|
|
- prop: 'devicePos',
|
|
|
+ prop: '${devicePos}',
|
|
|
},
|
|
|
slot: {
|
|
|
- prop: 'devicePos',
|
|
|
+ prop: '${devicePos}',
|
|
|
},
|
|
|
},
|
|
|
background: {
|
|
@@ -897,73 +894,73 @@ export const testConfigA: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
label: '火情状态',
|
|
|
- prop: 'fsectarea',
|
|
|
+ prop: '${fsectarea}',
|
|
|
color: 'yellow',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '回采位置',
|
|
|
- prop: 'stationname',
|
|
|
+ prop: '${stationname}',
|
|
|
color: 'white',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '硐室火情',
|
|
|
- prop: 'stationtype',
|
|
|
+ prop: '${stationtype}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '联动设备状态',
|
|
|
- prop: 'typeName',
|
|
|
+ prop: '${typeName}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '火情状态',
|
|
|
- prop: 'fsectarea',
|
|
|
+ prop: '${fsectarea}',
|
|
|
color: 'yellow',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '回采位置',
|
|
|
- prop: 'stationname',
|
|
|
+ prop: '${stationname}',
|
|
|
color: 'white',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '硐室火情',
|
|
|
- prop: 'stationtype',
|
|
|
+ prop: '${stationtype}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '联动设备状态',
|
|
|
- prop: 'typeName',
|
|
|
+ prop: '${typeName}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
// {
|
|
|
// label: '火情状态',
|
|
|
- // prop: 'fsectarea',
|
|
|
+ // prop: '${fsectarea}',
|
|
|
// color: 'yellow',
|
|
|
// info: '',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '回采位置',
|
|
|
- // prop: 'stationname',
|
|
|
+ // prop: '${stationname}',
|
|
|
// color: 'white',
|
|
|
// info: '',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '硐室火情',
|
|
|
- // prop: 'stationtype',
|
|
|
+ // prop: '${stationtype}',
|
|
|
// color: 'blue',
|
|
|
// info: '',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '联动设备状态',
|
|
|
- // prop: 'typeName',
|
|
|
+ // prop: '${typeName}',
|
|
|
// color: 'blue',
|
|
|
// info: '',
|
|
|
// },
|
|
@@ -980,34 +977,33 @@ export const testConfigA: Config[] = [
|
|
|
items: [
|
|
|
{
|
|
|
label: '火情状态',
|
|
|
- prop: 'fsectarea',
|
|
|
+ prop: '${fsectarea}',
|
|
|
color: 'yellow',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '回采位置',
|
|
|
- prop: 'stationname',
|
|
|
+ prop: '${stationname}',
|
|
|
color: 'white',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '硐室火情',
|
|
|
- prop: 'stationtype',
|
|
|
+ prop: '${stationtype}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
{
|
|
|
label: '联动设备状态',
|
|
|
- prop: 'typeName',
|
|
|
+ prop: '${typeName}',
|
|
|
color: 'blue',
|
|
|
info: '',
|
|
|
},
|
|
|
],
|
|
|
galleryItems: [
|
|
|
{
|
|
|
- prop: 'total',
|
|
|
+ prop: '低风险',
|
|
|
label: '风险等级',
|
|
|
- formatter: '低风险',
|
|
|
color: 'white',
|
|
|
},
|
|
|
],
|
|
@@ -1033,10 +1029,10 @@ export const testConfigB: Config[] = [
|
|
|
// showSelector: false,
|
|
|
// showSlot: true,
|
|
|
// selector: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'netstatus.val',
|
|
|
+ // prop: '${netstatus}.val',
|
|
|
// formatter: '网络异常:${} 台',
|
|
|
// },
|
|
|
// },
|
|
@@ -1052,31 +1048,31 @@ export const testConfigB: Config[] = [
|
|
|
// list: [
|
|
|
// {
|
|
|
// label: '正常',
|
|
|
- // prop: 'blue.val',
|
|
|
+ // prop: '${blue}.val',
|
|
|
// color: 'blue',
|
|
|
// type: 'timeline',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '告警',
|
|
|
- // prop: 'orange.val',
|
|
|
+ // prop: '${orange}.val',
|
|
|
// color: 'orange',
|
|
|
// type: 'timeline',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '报警',
|
|
|
- // prop: 'yellow.val',
|
|
|
+ // prop: '${yellow}.val',
|
|
|
// color: 'yellow',
|
|
|
// type: 'timeline',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '危险',
|
|
|
- // prop: 'red.val',
|
|
|
+ // prop: '${red}.val',
|
|
|
// color: 'red',
|
|
|
// type: 'timeline',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '错误',
|
|
|
- // prop: 'alarm.val',
|
|
|
+ // prop: '${alarm}.val',
|
|
|
// color: 'green',
|
|
|
// type: 'timeline',
|
|
|
// },
|
|
@@ -1098,10 +1094,10 @@ export const testConfigB: Config[] = [
|
|
|
// showSelector: true,
|
|
|
// showSlot: false,
|
|
|
// selector: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// },
|
|
|
// background: {
|
|
@@ -1115,13 +1111,13 @@ export const testConfigB: Config[] = [
|
|
|
// label: 'F1',
|
|
|
// type: 'C',
|
|
|
// layout: 'val-top',
|
|
|
- // prop: 'f1Val',
|
|
|
+ // prop: '${f1Val}',
|
|
|
// },
|
|
|
// {
|
|
|
// label: 'F2',
|
|
|
// type: 'C',
|
|
|
// layout: 'val-top',
|
|
|
- // prop: 'f2Val',
|
|
|
+ // prop: '${f2Val}',
|
|
|
// },
|
|
|
// ],
|
|
|
// list: [],
|
|
@@ -1130,15 +1126,15 @@ export const testConfigB: Config[] = [
|
|
|
// readFrom: 'history',
|
|
|
// columns: [
|
|
|
// {
|
|
|
- // prop: 'index',
|
|
|
+ // prop: '${index}',
|
|
|
// label: '编号',
|
|
|
// },
|
|
|
// {
|
|
|
- // prop: 'time',
|
|
|
+ // prop: '${time}',
|
|
|
// label: '自定义字段A',
|
|
|
// },
|
|
|
// {
|
|
|
- // prop: 'warn',
|
|
|
+ // prop: '${warn}',
|
|
|
// label: '自定义字段B',
|
|
|
// },
|
|
|
// ],
|
|
@@ -1148,15 +1144,15 @@ export const testConfigB: Config[] = [
|
|
|
// {
|
|
|
// type: 'pie',
|
|
|
// readFrom: 'readData',
|
|
|
- // xAxis: [{ prop: 'stationname' }],
|
|
|
+ // xAxis: [{ prop: '${stationname}' }],
|
|
|
// yAxis: [
|
|
|
// { label: '风量1', align: 'left' },
|
|
|
// // { label: '回2', align: 'right' },
|
|
|
// ],
|
|
|
// series: [
|
|
|
- // { label: '风量1', prop: 'va' },
|
|
|
- // { label: '风量2', prop: 'va2' },
|
|
|
- // // { label: '回2', prop: 'hui2' },
|
|
|
+ // { label: '风量1', prop: '${va}' },
|
|
|
+ // { label: '风量2', prop: '${va2}' },
|
|
|
+ // // { label: '回2', prop: '${hui2}' },
|
|
|
// ],
|
|
|
// },
|
|
|
// ],
|
|
@@ -1178,11 +1174,11 @@ export const testConfigB: Config[] = [
|
|
|
// showSlot: false,
|
|
|
// selector: {
|
|
|
// icon: 'SwapOutlined',
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
// icon: 'SwapOutlined',
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// },
|
|
|
// background: {
|
|
@@ -1198,14 +1194,14 @@ export const testConfigB: Config[] = [
|
|
|
// {
|
|
|
// type: 'bar',
|
|
|
// readFrom: 'sysdata.history',
|
|
|
- // xAxis: [{ prop: 'time' }],
|
|
|
+ // xAxis: [{ prop: '${time}' }],
|
|
|
// yAxis: [
|
|
|
// { label: '回1', align: 'left' },
|
|
|
// // { label: '回2', align: 'right' },
|
|
|
// ],
|
|
|
// series: [
|
|
|
- // { label: '回1', prop: 'hui1' },
|
|
|
- // // { label: '回2', prop: 'hui2' },
|
|
|
+ // { label: '回1', prop: '${hui1}' },
|
|
|
+ // // { label: '回2', prop: '${hui2}' },
|
|
|
// ],
|
|
|
// },
|
|
|
// ],
|
|
@@ -1226,10 +1222,10 @@ export const testConfigB: Config[] = [
|
|
|
// showSelector: true,
|
|
|
// showSlot: true,
|
|
|
// selector: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// },
|
|
|
// background: {
|
|
@@ -1244,15 +1240,15 @@ export const testConfigB: Config[] = [
|
|
|
// {
|
|
|
// type: 'line',
|
|
|
// readFrom: 'majorpath.paths',
|
|
|
- // xAxis: [{ prop: 'name' }],
|
|
|
+ // xAxis: [{ prop: '${name}' }],
|
|
|
// yAxis: [
|
|
|
// { label: 'Drag', align: 'left' },
|
|
|
// { label: 'M3', align: 'right' },
|
|
|
// ],
|
|
|
// series: [
|
|
|
- // { label: 'Drag', prop: 'drag' },
|
|
|
- // { label: 'M3', prop: 'm3' },
|
|
|
- // // { label: '回2', prop: 'hui2' },
|
|
|
+ // { label: 'Drag', prop: '${drag}' },
|
|
|
+ // { label: 'M3', prop: '${m3}' },
|
|
|
+ // // { label: '回2', prop: '${hui2}' },
|
|
|
// ],
|
|
|
// },
|
|
|
// ],
|
|
@@ -1274,10 +1270,10 @@ export const testConfigB: Config[] = [
|
|
|
// showSelector: false,
|
|
|
// showSlot: true,
|
|
|
// selector: {
|
|
|
- // prop: 'strinstallpos',
|
|
|
+ // prop: '${strinstallpos}',
|
|
|
// },
|
|
|
// slot: {
|
|
|
- // prop: 'netstatus.val',
|
|
|
+ // prop: '${netstatus}.val',
|
|
|
// formatter: '网络异常:${} 台',
|
|
|
// },
|
|
|
// },
|
|
@@ -1293,31 +1289,31 @@ export const testConfigB: Config[] = [
|
|
|
// list: [
|
|
|
// {
|
|
|
// label: '正常',
|
|
|
- // prop: 'blue.val',
|
|
|
+ // prop: '${blue}.val',
|
|
|
// color: 'blue',
|
|
|
// type: 'B',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '告警',
|
|
|
- // prop: 'orange.val',
|
|
|
+ // prop: '${orange}.val',
|
|
|
// color: 'orange',
|
|
|
// type: 'B',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '报警',
|
|
|
- // prop: 'yellow.val',
|
|
|
+ // prop: '${yellow}.val',
|
|
|
// color: 'yellow',
|
|
|
// type: 'B',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '危险',
|
|
|
- // prop: 'red.val',
|
|
|
+ // prop: '${red}.val',
|
|
|
// color: 'red',
|
|
|
// type: 'B',
|
|
|
// },
|
|
|
// {
|
|
|
// label: '错误',
|
|
|
- // prop: 'alarm.val',
|
|
|
+ // prop: '${alarm}.val',
|
|
|
// color: 'green',
|
|
|
// type: 'B',
|
|
|
// },
|