diff --git a/pages/reportExcel/dayReport.vue b/pages/reportExcel/dayReport.vue index 330ae14..515af1c 100644 --- a/pages/reportExcel/dayReport.vue +++ b/pages/reportExcel/dayReport.vue @@ -492,23 +492,24 @@ 3、平均接待时长:${ this.weekObj.avgDuration || 0 }min 对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min` - if (this.carryOutTop.length > 0) { + + if (this.consultant.length > 0) { str += ` 4、项目平均执行率排名:` - this.carryOutTop.map((item, index) => { + this.consultant.map((item, index) => { str += ` top${index+1}.${item.title || '--'}${item.value||'0'}%` }) } - if (this.carryOutLast.length > 0) { + if (this.recording.length > 0) { str += ` 5、项目平均接访时长排名:` - this.carryOutLast.map((item, index) => { + this.recording.map((item, index) => { str += ` - top${index+1}.${item.title || '--'}${item.value||'0'}%` + top${index+1}.${item.title || '--'}${item.value/60||'0'}m` }) }