fix:修改指挥部大屏右下角特殊作业统计分析显示作业数量
This commit is contained in:
parent
d2a0173388
commit
35fd369831
@ -938,10 +938,15 @@ function getSpecialEchart() {
|
|||||||
// data: safeList.map(item => item.y),
|
// data: safeList.map(item => item.y),
|
||||||
data: specialList.value.map((item: any) => item.xzGroundSafetNum),
|
data: specialList.value.map((item: any) => item.xzGroundSafetNum),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "35%",
|
barWidth: "65%",
|
||||||
color: "#5470c6",
|
color: "#5470c6",
|
||||||
stack: 'total',
|
stack: 'total',
|
||||||
// label: { show: true},
|
label: {
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
fontSize:'3px'
|
||||||
|
}
|
||||||
|
},
|
||||||
emphasis:{focus: 'series'}
|
emphasis:{focus: 'series'}
|
||||||
},
|
},
|
||||||
//临时用电
|
//临时用电
|
||||||
@ -950,10 +955,15 @@ function getSpecialEchart() {
|
|||||||
// data: safeList.map(item => item.y),
|
// data: safeList.map(item => item.y),
|
||||||
data: specialList.value.map((item: any) => item.xzTemporaryElectricitySafeNum),
|
data: specialList.value.map((item: any) => item.xzTemporaryElectricitySafeNum),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "35%",
|
barWidth: "65%",
|
||||||
color: "#91cc75",
|
color: "#91cc75",
|
||||||
stack: 'total',
|
stack: 'total',
|
||||||
// label: { show: true},
|
label: {
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
fontSize:'3px'
|
||||||
|
}
|
||||||
|
},
|
||||||
emphasis:{focus: 'series'}
|
emphasis:{focus: 'series'}
|
||||||
},
|
},
|
||||||
//高处作业
|
//高处作业
|
||||||
@ -962,10 +972,15 @@ function getSpecialEchart() {
|
|||||||
// data: safeList.map(item => item.y),
|
// data: safeList.map(item => item.y),
|
||||||
data: specialList.value.map((item: any) => item.xzHighJobSafeNum),
|
data: specialList.value.map((item: any) => item.xzHighJobSafeNum),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "35%",
|
barWidth: "65%",
|
||||||
color: "#fac858",
|
color: "#fac858",
|
||||||
stack: 'total',
|
stack: 'total',
|
||||||
// label: { show: true},
|
label: {
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
fontSize:'3px'
|
||||||
|
}
|
||||||
|
},
|
||||||
emphasis:{focus: 'series'}
|
emphasis:{focus: 'series'}
|
||||||
},
|
},
|
||||||
//盲板抽堵
|
//盲板抽堵
|
||||||
@ -974,10 +989,15 @@ function getSpecialEchart() {
|
|||||||
// data: safeList.map(item => item.y),
|
// data: safeList.map(item => item.y),
|
||||||
data: specialList.value.map((item: any) => item.xzBlindPlatePlugSafeNum),
|
data: specialList.value.map((item: any) => item.xzBlindPlatePlugSafeNum),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "35%",
|
barWidth: "65%",
|
||||||
color: "#ee6666",
|
color: "#ee6666",
|
||||||
stack: 'total',
|
stack: 'total',
|
||||||
// label: { show: true},
|
label: {
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
fontSize:'3px'
|
||||||
|
}
|
||||||
|
},
|
||||||
emphasis:{focus: 'series'}
|
emphasis:{focus: 'series'}
|
||||||
},
|
},
|
||||||
//动火作业
|
//动火作业
|
||||||
@ -986,10 +1006,15 @@ function getSpecialEchart() {
|
|||||||
// data: safeList.map(item => item.y),
|
// data: safeList.map(item => item.y),
|
||||||
data: specialList.value.map((item: any) => item.xzSpecialOperationFireSafetyNum),
|
data: specialList.value.map((item: any) => item.xzSpecialOperationFireSafetyNum),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "35%",
|
barWidth: "65%",
|
||||||
color: "#73c0de",
|
color: "#73c0de",
|
||||||
stack: 'total',
|
stack: 'total',
|
||||||
// label: { show: true},
|
label: {
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
fontSize:'3px'
|
||||||
|
}
|
||||||
|
},
|
||||||
emphasis:{focus: 'series'}
|
emphasis:{focus: 'series'}
|
||||||
},
|
},
|
||||||
//断路作业
|
//断路作业
|
||||||
@ -998,10 +1023,15 @@ function getSpecialEchart() {
|
|||||||
// data: safeList.map(item => item.y),
|
// data: safeList.map(item => item.y),
|
||||||
data: specialList.value.map((item: any) => item.xzOpenCircuitSafeNum),
|
data: specialList.value.map((item: any) => item.xzOpenCircuitSafeNum),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "35%",
|
barWidth: "65%",
|
||||||
color: "#3ba272",
|
color: "#3ba272",
|
||||||
stack: 'total',
|
stack: 'total',
|
||||||
// label: { show: true},
|
label: {
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
fontSize:'3px'
|
||||||
|
}
|
||||||
|
},
|
||||||
emphasis:{focus: 'series'}
|
emphasis:{focus: 'series'}
|
||||||
},
|
},
|
||||||
//吊装作业
|
//吊装作业
|
||||||
@ -1010,10 +1040,15 @@ function getSpecialEchart() {
|
|||||||
// data: safeList.map(item => item.y),
|
// data: safeList.map(item => item.y),
|
||||||
data: specialList.value.map((item: any) => item.xzHoistSafetyWorkNum),
|
data: specialList.value.map((item: any) => item.xzHoistSafetyWorkNum),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "35%",
|
barWidth: "65%",
|
||||||
color: "#fc8452",
|
color: "#fc8452",
|
||||||
stack: 'total',
|
stack: 'total',
|
||||||
// label: { show: true},
|
label: {
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
fontSize:'3px'
|
||||||
|
}
|
||||||
|
},
|
||||||
emphasis:{focus: 'series'}
|
emphasis:{focus: 'series'}
|
||||||
},
|
},
|
||||||
//受限空间
|
//受限空间
|
||||||
@ -1022,10 +1057,15 @@ function getSpecialEchart() {
|
|||||||
// data: safeList.map(item => item.y),
|
// data: safeList.map(item => item.y),
|
||||||
data: specialList.value.map((item: any) => item.xzLimitSpaceSafeNum),
|
data: specialList.value.map((item: any) => item.xzLimitSpaceSafeNum),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "35%",
|
barWidth: "65%",
|
||||||
color: "#9a60b4",
|
color: "#9a60b4",
|
||||||
stack: 'total',
|
stack: 'total',
|
||||||
// label: { show: true},
|
label: {
|
||||||
|
show: true,
|
||||||
|
textStyle:{
|
||||||
|
fontSize:'3px'
|
||||||
|
}
|
||||||
|
},
|
||||||
emphasis:{focus: 'series'}
|
emphasis:{focus: 'series'}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user