|
|
@@ -142,18 +142,14 @@
|
|
|
this.chartList[1].value = (res.data.lagNum / res.data.totalNum * 100).toFixed(0) * 1;
|
|
|
this.chartList[2].value = (res.data.normalNum / res.data.totalNum * 100).toFixed(0) *
|
|
|
1;
|
|
|
- this.$refs.circleObj.setServerData((res.data.endNum / res.data.totalNum).toFixed(2) *
|
|
|
- 1)
|
|
|
+ this.$refs.circleObj.setServerData((res.data.endNum / res.data.totalNum).toFixed(2) *1)
|
|
|
} else {
|
|
|
this.chartList[0].value = 0;
|
|
|
this.chartList[1].value = 0;
|
|
|
this.chartList[2].value = 0;
|
|
|
this.$refs.circleObj.setServerData(0)
|
|
|
}
|
|
|
- console.log(this.chartList)
|
|
|
this.$refs.pieChart.setData(this.chartList)
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
})
|
|
|
},
|