|
|
@@ -20,7 +20,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="page-box-bg-fff m-t30 m-lr20 r-30 row-justify-sb flex p-b30" v-if="backlogList.length>0">
|
|
|
+ <view class="page-box-bg-fff m-t30 m-lr20 r-30 row-justify-sb flex p-b30" v-show="backlogList.length>0">
|
|
|
<view class="">
|
|
|
<view class="row-c">
|
|
|
<view class="pie_chart column-c">
|
|
|
@@ -144,14 +144,17 @@
|
|
|
this.chartList[2].value = (res.data.normalNum / res.data.totalNum * 100).toFixed(0) *1;
|
|
|
setTimeout(()=>{
|
|
|
this.$refs.circleObj.setServerData((res.data.endNum / res.data.totalNum).toFixed(2) *1)
|
|
|
- this.$refs.pieChart.setData(this.chartList)
|
|
|
+ this.$refs.pieChart.setServerData(this.chartList)
|
|
|
},50)
|
|
|
|
|
|
} else {
|
|
|
this.chartList[0].value = 0;
|
|
|
this.chartList[1].value = 0;
|
|
|
this.chartList[2].value = 0;
|
|
|
- // this.$refs.circleObj.setServerData(0)
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.$refs.pieChart.setData(this.chartList)
|
|
|
+ this.$refs.circleObj.notServerData(0)
|
|
|
+ },50)
|
|
|
}
|
|
|
|
|
|
}
|