diff --git a/src/views/kpi/kpiIndex.vue b/src/views/kpi/kpiIndex.vue index 84b94856..f1d9a55b 100644 --- a/src/views/kpi/kpiIndex.vue +++ b/src/views/kpi/kpiIndex.vue @@ -15,6 +15,7 @@ filterable remote reserve-keyword + clearable placeholder="请输入后选择" :remote-method="remoteMethod" @change="selectSupplierNameHanldle" @@ -44,11 +45,11 @@
{{ indexData && indexData.refuseOrderRate }}%
-
拒单率 >
+
拒单率 >
{{ indexData && indexData.timeoutOrderRate }}%
-
超时率 >
+
超时率 >
@@ -101,14 +102,41 @@
-
-
接单得分:{{ indexData.orderScore }}
-
接单时效得分:{{ indexData.orderAgeingScore }}
-
到达时效得分:{{ indexData.arriveAgeingScore }}
-
聚合成功率得分:{{ indexData.polymerizationSuccessScore }}
-
APP使用率得分:{{ indexData.appUseScore }}
-
催促率得分:{{ indexData.urgeScore }}
-
投诉率得分:{{ indexData.complainScore }}
+
+
+
+ 接单得分: +
+
+ 接单时效得分: +
+
+ 到达时效得分: +
+
聚合成功率得分: +
+
APP使用率得分: +
+
催促率得分: +
+
投诉率得分: +
+
+
+
+ {{ indexData.orderScore }} +
+
+ {{ indexData.orderAgeingScore }} +
+
+ {{ indexData.arriveAgeingScore }} +
+
{{ indexData.polymerizationSuccessScore }}
+
{{ indexData.appUseScore }}
+
{{ indexData.urgeScore }}
+
{{ indexData.complainScore }}
+
@@ -212,7 +240,7 @@ - + --> + @@ -313,6 +351,7 @@ export default { }, methods: { async selectSupplierNameHanldle(){ + console.log("supplierId",this.supplierId) await this.getData() setTimeout(()=>{ this.$refs.Doughnut1.initCircle() @@ -322,7 +361,7 @@ export default { this.$refs.Doughnut5.initCircle() this.$refs.Doughnut6.initCircle() this.$refs.Doughnut7.initCircle() - },500) + },1000) }, async remoteMethod(query) { if (query !== '') { @@ -816,6 +855,12 @@ export default { 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); + } + if (this.indexData.timeoutOrderRate % 1 !== 0) { + this.indexData.timeoutOrderRate = this.indexData.timeoutOrderRate.toFixed(2); + } this.indexData.complainOrderRate=this.indexData.complainOrderRate*100 this.indexData.customerSatisfaction=this.indexData.customerSatisfaction*100 this.indexData.threeMinutesContactRate=this.indexData.threeMinutesContactRate*100 @@ -1478,10 +1523,25 @@ export default { .storeWrap { width: 100%; text-align: center; - .defen{ + .detailScore{ + display: flex; + justify-content:center; + } + + /* .defen{ display: inline-block; - width: 92px; + //width: 92px; + //text-align: right; + }*/ + .left{ text-align: right; + padding-right: 5px; + } + .right{ + display: flex; + justify-content: space-between; + flex-direction: column; + text-align: left; } }