@@ -273,7 +273,7 @@ import {
getStatisticsKpiByMonth,
getStatisticsKpi,
getSupplierId,
- getDriverName,
+ getDriverName,getDriverStatisticsKpi,
getRecentSupplierKpi, querySupplierDriverStatisticsScore
} from "@/api/kpi.js"
import {myMixins} from "@/utils/myMixins"
@@ -289,9 +289,9 @@ export default {
return {
active:0,
activeIndex: 0,
- // {name: '月/师傅'}, {name: '日/师傅'},
+ //
tabArr: [
- {name: '总览'}, {name: '月/总'}, {name: '日/总'},{name: '师傅满意度'}, {name: '拒单明细'},
+ {name: '总览'}, {name: '月/总'}, {name: '日/总'},{name: '师傅满意度'},{name: '月/师傅'}, {name: '日/师傅'}, {name: '拒单明细'},
{name: '超时明细'}, {name: '投诉明细'}, {name: '不使用APP案件明细'}, {name: '车辆在线情况'}
],
list: [{name: '接单指标'}, {name: '客户评价'}, {name: 'APP使用'}, {name: ' 时效 '}],
@@ -1081,7 +1081,7 @@ export default {
]
this.loading = false;
}
- /* else if ([4,5].includes(this.active)) {
+ else if ([4,5].includes(this.active)) {
let res = await getDriverStatisticsKpi({
startTime: this.startTime ,
endTime: this.endTime,
@@ -1117,9 +1117,8 @@ export default {
this.total=0
}
await this.twoTabHanldeData();
- }*/
- else if ([ 4,5,6, 7, 8].includes(this.active)) {
-
+ }
+ else if ([ 6, 7, 8,9,10].includes(this.active)) {
this.detailList = []
this.labelList = []
let result = await getKpiDetailsData({
@@ -1587,15 +1586,15 @@ export default {
},
setType(type) {
switch (type) {
- case 4:
- return 1;
- case 5:
- return 2;
case 6:
- return 3;
+ return 1;
case 7:
- return 4;
+ return 2;
case 8:
+ return 3;
+ case 9:
+ return 4;
+ case 10:
return 5;
}
},