修改bug

This commit is contained in:
‘937886381’
2024-07-05 14:06:15 +08:00
parent a7e89fe7e8
commit 3e025020ab
20 changed files with 258 additions and 137 deletions

View File

@@ -566,6 +566,7 @@ export default {
this.chartMsg.xData.push(ele.reportTimep)
this.otherProps.push({
label: ele.reportTimep,
filter: (val) => (val || val === 0 ? val : "-"),
prop: 'value' + i
})
})
@@ -614,18 +615,27 @@ export default {
this.chartMsgYearTarget.series[0].data = [
{
value: res.data[0].yearTarget.chipTotalPower,
label: {
color: '#8EF0AB'
},
itemStyle: {
color: '#8EF0AB'
}
},
{
value: res.data[0].yearTarget.componentTotalPower,
label: {
color: '#288AFF'
},
itemStyle: {
color: '#288AFF'
}
},
{
value: null,
label: {
color: '#64BDFF'
},
itemStyle: {
color: '#64BDFF'
}
@@ -633,18 +643,27 @@ export default {
this.chartMsgYearTarget.series[1].data = [
{
value: null,
label: {
color: '#8EF0AB'
},
itemStyle: {
color: '#8EF0AB'
}
},
{
value: null,
label: {
color: '#288AFF'
},
itemStyle: {
color: '#288AFF'
}
},
{
value: res.data[0].yearTarget.componentConversionEfficiency,
label: {
color: '#64BDFF'
},
itemStyle: {
color: '#64BDFF'
}