修改bug
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user