Ver código fonte

日报复制内容修改

yun
douzhuo 2 anos atrás
pai
commit
f8e87a8b09
2 arquivos alterados com 33 adições e 15 exclusões
  1. +31
    -13
      pages/reportExcel/dayReport.vue
  2. +2
    -2
      utils/domain.js

+ 31
- 13
pages/reportExcel/dayReport.vue Ver arquivo

@@ -224,6 +224,12 @@
</view>
</view>
</block>
<template v-if="lowest.length == 0">
<view class="empty">
暂无数据
</view>
</template>
</view>
</view>
</view>
@@ -360,20 +366,20 @@
1、接待量:${this.weekObj.receptionCount || 0 }
2、有效接待:${this.weekObj.activeCustomer || 0}
有效接待:${this.weekObj.activeCustomer || 0}
3、有效接待率:${this.weekObj.validReceptionRate || 0}%
有效接待率:${this.weekObj.validReceptionRate || 0}%
对比昨天:${ this.weekObj.validReceptionRatePK > 0 ? '+' : '' }${ this.weekObj.validReceptionRatePK || 0 }%
4、平均执行率:${ this.weekObj.fraction || 0 }%
2、平均执行率:${ this.weekObj.fraction || 0 }%
对比昨天:${ this.weekObj.fractionPK > 0 ? '+' : '' }${ this.weekObj.fractionPK || 0 }%
5、平均接待时长:${ this.weekObj.avgDuration || 0 }min
3、平均接待时长:${ this.weekObj.avgDuration || 0 }min
对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min`
if (this.carryOutTop.length > 0) {
str += `
6、销讲维度执行前三:`
4、销讲维度执行前三:`
this.carryOutTop.map((item, index) => {
str += `
top${index+1}.${item.title || '--'}${item.value||'0'}%`
@@ -383,36 +389,48 @@
if (this.carryOutLast.length > 0) {
str += `
7、销讲维度执行弱项前三:`
5、销讲维度执行弱项前三:`
this.carryOutLast.map((item, index) => { str += `
top${index+1}.${item.title || '--'}${item.value||'0'}%`
})
}
if (this.consultant.length > 0) {
str += `
8、置业顾问平均执行率排名:`
6、置业顾问平均执行率排名:`
this.consultant.map((item, index) => {
str += `
top${index+1}.${item.title || '--'}${item.value||'0'}%`
})
}
if (this.recording.length > 0) {
str += `
9、平均执行率最低的顾问:`
7、置业顾问平均接访时长排名:`
this.recording.map((item, index) => {
str += `
top${index+1}.${item.title || '--'}${item.value||'0'}min`
top${index+1}.${item.title || '--'}${item.value||'0'}%`
})
}
if (this.lowest.length > 0) {
str += `
8、平均执行率最低的顾问:`
this.lowest.map((item, index) => {
str += `
top${index+1}.${item.title || '--'}${item.value||'0'}%`
})
}
str += `
10、客户画像触达:${this.weekObj.reachSum || 0}次
9、客户画像触达:${this.weekObj.reachSum || 0}次
11、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
12、设备情况:
11、设备情况:
在线${this.weekObj.equipmentInfo.onlineNum || 0}
离线:${this.weekObj.equipmentInfo.offlineNum || 0}`

@@ -432,8 +450,8 @@
this.lowest.push(this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1])
}
if (this.weekObj.avgJdsList && this.weekObj.avgJdsList.length > 0) {
console.log(this.weekObj.avgJdsList.slice(0, 3))
this.recording = this.weekObj.avgJdsList.reverse().slice(0, 3)
console.log()
}
},



+ 2
- 2
utils/domain.js Ver arquivo

@@ -1,8 +1,8 @@
// http.js使用域名
// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试
const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试
// const baseUrl = 'http://192.168.31.211:8080/api';// 泽明
// const baseUrl = 'http://localhost:8080/autoSR/api'; // 本地
const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式



Carregando…
Cancelar
Salvar