| | |
| | | this.chartData0.yData[0].data = this.pageData.RECETENDAYS |
| | | this.chartData1.yData[0].data = this.pageData.RECETENDAYS |
| | | this.chartData1.yData[1].data = this.pageData.FINISHTENDAYS |
| | | this.chartData2.percentage = (this.pageData.ACCEPT_RATE_TODAY*100).tofixed(0)+'%' |
| | | this.chartData3.percentage = (this.pageData.FINISH_RATE_TODAY*100).tofixed(0)+'%' |
| | | this.chartData4.percentage = (this.pageData.DELAY_RATE_TODAY*100).tofixed(0)+'%' |
| | | this.chartData2.percentage = (this.pageData.ACCEPT_RATE_TODAY*100).toFixed(0)+'%' |
| | | this.chartData3.percentage = (this.pageData.FINISH_RATE_TODAY*100).toFixed(0)+'%' |
| | | this.chartData4.percentage = (this.pageData.DELAY_RATE_TODAY*100).toFixed(0)+'%' |
| | | this.chartData2.data[0].value = this.pageData.ACCEPT |
| | | this.chartData2.data[1].value = this.pageData.FINISHE - this.pageData.ACCEPT |
| | | this.loading = false; |
| | |
| | | }, |
| | | handleData(val){ |
| | | if(val){ |
| | | return (Math.abs(val)*100).tofixed(0); |
| | | let num = Math.abs(val)*100 |
| | | return num.toFixed(0); |
| | | }else{ |
| | | return '0' |
| | | } |