diff --git a/src/views/kpi/kpiIndex.vue b/src/views/kpi/kpiIndex.vue index 62bda3be..2da0ddd8 100644 --- a/src/views/kpi/kpiIndex.vue +++ b/src/views/kpi/kpiIndex.vue @@ -210,7 +210,7 @@ v-for="item in driverselectOption" :key="item.id" :label="item.name" - :value="item.id"> + :value="item.name"> @@ -250,6 +250,7 @@ :total="total"> --> { this.$refs.Doughnut1.initCircle() @@ -361,7 +361,7 @@ export default { this.$refs.Doughnut5.initCircle() this.$refs.Doughnut6.initCircle() this.$refs.Doughnut7.initCircle() - },1000) + },1500) }, async remoteMethod(query) { if (query !== '') { @@ -435,6 +435,7 @@ export default { this.activeIndex = 0; this.detailList = []; this.labelList = []; + this.driverName='' this.getData(); if (this.active === 1) { setTimeout(() => { @@ -854,19 +855,37 @@ export default { this.indexData = res.data; this.supplierName=res.data?.supplierName this.indexData.refuseOrderRate=this.indexData.refuseOrderRate*100 - this.indexData.timeoutOrderRate=this.indexData.timeoutOrderRate*100 if (this.indexData.refuseOrderRate % 1 !== 0) { this.indexData.refuseOrderRate = this.indexData.refuseOrderRate.toFixed(2); } + this.indexData.timeoutOrderRate=this.indexData.timeoutOrderRate*100 if (this.indexData.timeoutOrderRate % 1 !== 0) { this.indexData.timeoutOrderRate = this.indexData.timeoutOrderRate.toFixed(2); } this.indexData.complainOrderRate=this.indexData.complainOrderRate*100 + if (this.indexData.complainOrderRate % 1 !== 0) { + this.indexData.complainOrderRate = this.indexData.complainOrderRate.toFixed(2); + } this.indexData.customerSatisfaction=this.indexData.customerSatisfaction*100 + if (this.indexData.customerSatisfaction % 1 !== 0) { + this.indexData.customerSatisfaction = this.indexData.customerSatisfaction.toFixed(2); + } this.indexData.threeMinutesContactRate=this.indexData.threeMinutesContactRate*100 + if (this.indexData.threeMinutesContactRate % 1 !== 0) { + this.indexData.threeMinutesContactRate = this.indexData.threeMinutesContactRate.toFixed(2); + } this.indexData.urgeRate=this.indexData.urgeRate*100 + if (this.indexData.urgeRate % 1 !== 0) { + this.indexData.urgeRate = this.indexData.urgeRate.toFixed(2); + } this.indexData.appRate=this.indexData.appRate*100 + if (this.indexData.appRate % 1 !== 0) { + this.indexData.appRate = this.indexData.appRate.toFixed(2); + } this.indexData.polymerizationSuccessRate=this.indexData.polymerizationSuccessRate*100 + if (this.indexData.polymerizationSuccessRate % 1 !== 0) { + this.indexData.polymerizationSuccessRate = this.indexData.polymerizationSuccessRate.toFixed(2); + } } else if ([1, 2].includes(this.active)) { let res = await getStatisticsKpi({ startTime: this.active === 1 ? this.startMonthTime : this.startTime, @@ -1694,6 +1713,10 @@ export default { ::v-deep .el-input__inner{ height: 30px; } + ::v-deep .el-input__suffix { + top: 4px; /* 给清除按钮预留空间 */ + } + } .comTab { width: 100%;