task#14196,数据率*100
This commit is contained in:
@ -742,6 +742,14 @@ 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
|
||||
this.indexData.complainOrderRate=this.indexData.complainOrderRate*100
|
||||
this.indexData.customerSatisfaction=this.indexData.customerSatisfaction*100
|
||||
this.indexData.threeMinutesContactRate=this.indexData.threeMinutesContactRate*100
|
||||
this.indexData.urgeRate=this.indexData.urgeRate*100
|
||||
this.indexData.appRate=this.indexData.appRate*100
|
||||
this.indexData.polymerizationSuccessRate=this.indexData.polymerizationSuccessRate*100
|
||||
} else if ([1, 2].includes(this.active)) {
|
||||
let res = await getStatisticsKpi({
|
||||
startTime: this.active === 1 ? this.startMonthTime : this.startTime,
|
||||
@ -750,6 +758,20 @@ export default {
|
||||
supplierId: this.supplierId,
|
||||
})
|
||||
this.detailList = res.data?.map(item => {
|
||||
item.refuseOrderRate=item.refuseOrderRate*100
|
||||
item.timeoutOrderRate=item.timeoutOrderRate*100
|
||||
item.cancelRate=item.cancelRate*100
|
||||
item.urgeRate=item.urgeRate*100
|
||||
item.complainOrderRate=item.complainOrderRate*100
|
||||
item.customerEvaluateRate=item.customerEvaluateRate*100
|
||||
item.appRate=item.appRate*100
|
||||
item.threeMinutesContactRate=item.threeMinutesContactRate*100
|
||||
item.pinganPolymerizationSuccessRate=item.pinganPolymerizationSuccessRate*100
|
||||
item.zhonghuaPolymerizationSuccessRate=item.zhonghuaPolymerizationSuccessRate*100
|
||||
item.zdPolymerizationSuccessRate=item.zdPolymerizationSuccessRate*100
|
||||
item.polymerizationSuccessRate=item.polymerizationSuccessRate*100
|
||||
item.threeMinutesReceivingRate=item.threeMinutesReceivingRate*100
|
||||
item.fortyMinutesArrivalRate=item.fortyMinutesArrivalRate*100
|
||||
let formatVal = dayjs(item.statisticsDate).format('DD');
|
||||
let formatVal1 = dayjs(item.statisticsDate).format('M');
|
||||
return {...item, date: formatVal, month: (formatVal1 == this.current) ? '本月' : (formatVal1 + '月')};
|
||||
@ -771,6 +793,19 @@ export default {
|
||||
})
|
||||
// this.detailList = res.data
|
||||
this.detailList = res.data?.map(item => {
|
||||
item.refuseOrderRate=item.refuseOrderRate*100
|
||||
item.timeoutOrderRate=item.timeoutOrderRate*100
|
||||
item.cancelRate=item.cancelRate*100
|
||||
item.complainOrderRate=item.complainOrderRate*100
|
||||
item.customerEvaluateRate=item.customerEvaluateRate*100
|
||||
item.appRate=item.appRate*100
|
||||
item.threeMinutesContactRate=item.threeMinutesContactRate*100
|
||||
item.pinganPolymerizationSuccessRate=item.pinganPolymerizationSuccessRate*100
|
||||
item.zhonghuaPolymerizationSuccessRate=item.zhonghuaPolymerizationSuccessRate*100
|
||||
item.zdPolymerizationSuccessRate=item.zdPolymerizationSuccessRate*100
|
||||
item.polymerizationSuccessRate=item.polymerizationSuccessRate*100
|
||||
item.threeMinutesReceivingRate=item.threeMinutesReceivingRate*100
|
||||
item.fortyMinutesArrivalRate=item.fortyMinutesArrivalRate*100
|
||||
let formatVal = dayjs(item.statisticsDate).format('DD');
|
||||
return {...item, date: formatVal};
|
||||
});
|
||||
|
Reference in New Issue
Block a user