From 1868e8c17e4e370018ba7cc385b074500204ca00 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Thu, 25 Jul 2024 17:12:31 +0800 Subject: [PATCH] =?UTF-8?q?task#14504,=E6=B8=85=E9=99=A4=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4=EF=BC=8C=E5=8F=B8=E6=9C=BA?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E4=BD=BF=E7=94=A8name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 372bbc44c07ad032513b87a3e4800e359b719c04) --- src/views/kpi/kpiIndex.vue | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) 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%;