From 1fbc66a1d65def08a2597eaf9a10d6c53d31a1d6 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Mon, 8 Jul 2024 20:32:51 +0800 Subject: [PATCH] =?UTF-8?q?task#14196=EF=BC=8C=E5=B8=88=E5=82=85=E5=8A=A0?= =?UTF-8?q?=E5=8F=B8=E6=9C=BA=E5=90=8D=E7=A7=B0=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kpi/kpiIndex.vue | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/src/views/kpi/kpiIndex.vue b/src/views/kpi/kpiIndex.vue index deac341d..ce714290 100644 --- a/src/views/kpi/kpiIndex.vue +++ b/src/views/kpi/kpiIndex.vue @@ -147,6 +147,9 @@
+
+ +
- +
@@ -207,7 +210,7 @@ export default { mixins: [myMixins], data() { return { - active: 0, + active:4, activeIndex: 0, tabArr: [ {name: '总览'}, {name: '月/总'}, {name: '日/总'}, {name: '月/师傅'}, {name: '日/师傅'}, {name: '拒单明细'}, @@ -247,6 +250,7 @@ export default { selectLoading: false, selectOption: [], driverId:'',//68517 + driverName:'', } }, async mounted() { @@ -305,6 +309,8 @@ export default { try { this.loadingData = true this.indexData = {} + this.total=0 + this.pageNum=1 this.v1 = [] this.v2 = [] this.v3 = [] @@ -789,10 +795,12 @@ export default { endTime: this.endTime, statisticsType: this.active === 3 ? 1 : 2, driverId: this.driverId, - /* pageNum: this.pageNum, - pageSize: this.pageSize*/ + driverName:this.driverName, + pageNum: this.pageNum, + pageSize: this.pageSize }) // this.detailList = res.data + this.total = res.total this.detailList = res.data?.map(item => { item.refuseOrderRate=item.refuseOrderRate*100?.toFixed(2)+'%' item.timeoutOrderRate=item.timeoutOrderRate*100?.toFixed(2)+'%' @@ -1421,7 +1429,6 @@ export default { .monthTotal { background: #FFFFFF; padding-left: 6px; - //height: auto !important; .leftMonth { .leftItem { font-weight: bold; @@ -1443,7 +1450,20 @@ export default { overflow-x: auto; /* 当内容超出宽度时启用水平滚动 */ } } - +.searchDriverName{ + width: 97%; + display: flex; + align-items: center; + span{ + width: 20%; + } + ::v-deep .el-input{ + font-size: 12px; + } + ::v-deep .el-input__inner{ + height: 30px; + } +} .comTab { width: 100%; height: 95%;