From 3c39a223f63d1178537a61b5e8038264fcf2eb6a Mon Sep 17 00:00:00 2001
From: douzhuo <17611323298@163.com>
Date: Fri, 18 Nov 2022 17:04:08 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=8F=B8=E6=97=A5=E6=8A=A5=E5=91=A8?=
=?UTF-8?q?=E6=8A=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/mine/messageList.vue | 3 +
pages/reportExcel/dayReport.vue | 198 ++++++++++++++++++++++++--------
2 files changed, 155 insertions(+), 46 deletions(-)
diff --git a/pages/mine/messageList.vue b/pages/mine/messageList.vue
index 45c4baf..0ada8cd 100644
--- a/pages/mine/messageList.vue
+++ b/pages/mine/messageList.vue
@@ -30,6 +30,9 @@
{{ fomatDate(item.createTime) }}
+
+ {{ item.orgName }}
+
{{item.title}}
diff --git a/pages/reportExcel/dayReport.vue b/pages/reportExcel/dayReport.vue
index 89072ec..ed1927e 100644
--- a/pages/reportExcel/dayReport.vue
+++ b/pages/reportExcel/dayReport.vue
@@ -52,11 +52,16 @@
- 平均执行率:
+ 平均执行率:
+ 销讲执行率:
- 平均执行率{{ weekObj.fraction || 0 }}%
+
+ 平均执行率:
+ 销讲执行率:
+ {{ weekObj.fraction || 0 }}%
+
对比昨天{{ weekObj.fractionPK > 0 ? '+' : '' }}{{ weekObj.fractionPK || 0 }}%
@@ -90,7 +95,8 @@
- 销讲维度执行前三:
+ 销讲维度执行前三:
+ 项目平均执行率排名:
@@ -121,7 +127,8 @@
- 销讲维度执行弱项前三:
+ 销讲维度执行弱项前三:
+ 项目平均接访时长排名:
@@ -146,7 +153,7 @@
-
+
6
@@ -177,7 +184,7 @@
-
+
7
@@ -211,11 +218,17 @@
- 8
+
+ 8
+
+
+ 6
+
- 平均执行率最低的顾问:
+ 平均执行率最低的顾问:
+ 执行率最低的项目:
@@ -240,7 +253,12 @@
- 9
+
+ 9
+
+
+ 7
+
@@ -250,9 +268,9 @@
-
+
- 10
+ 8
@@ -279,9 +297,9 @@
-
+
- 11
+ 9
@@ -310,7 +328,12 @@
- 12
+
+ 12
+
+
+ 10
+
@@ -324,7 +347,12 @@
- 13
+
+ 13
+
+
+ 11
+
@@ -395,6 +423,109 @@
},
methods: {
+ // 项目拷贝
+ copys() {
+
+ let str = `
+ ${this.projectName}数智工牌日报
+
+ 生成时间:${this.weekObj.createTime || '--'}
+
+ 1、接待量:${this.weekObj.receptionCount || 0 }
+
+ 有效接待:${this.weekObj.activeCustomer || 0}
+
+ 有效接待率:${this.weekObj.validReceptionRate || 0}%
+ 对比昨天:${ this.weekObj.validReceptionRatePK > 0 ? '+' : '' }${ this.weekObj.validReceptionRatePK || 0 }%
+
+ 2、平均执行率:${ this.weekObj.fraction || 0 }%
+ 销讲执行率:${ this.weekObj.fractionPK > 0 ? '+' : '' }${ this.weekObj.fractionPK || 0 }%
+
+ 3、平均接待时长:${ this.weekObj.avgDuration || 0 }min
+ 对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min`
+ if (this.carryOutTop.length > 0) {
+ str += `
+
+ 4、项目平均执行率排名:`
+ this.carryOutTop.map((item, index) => {
+ str += `
+ top${index+1}.${item.title || '--'}${item.value||'0'}%`
+ })
+ }
+
+ if (this.carryOutLast.length > 0) {
+ str += `
+
+ 5、项目平均接访时长排名:`
+ this.carryOutLast.map((item, index) => {
+ str += `
+ top${index+1}.${item.title || '--'}${item.value||'0'}%`
+ })
+ }
+
+ if (this.consultant.length > 0) {
+ str += `
+
+ 6、置业顾问平均执行率排名:`
+ this.consultant.map((item, index) => {
+ str += `
+ top${index+1}.${item.title || '--'}${item.value||'0'}%`
+ })
+ }
+
+
+ if (this.lowest.length > 0) {
+ str += `
+
+ 6、执行率最低的项目:`
+ this.lowest.map((item, index) => {
+ str += `
+ ${item.title || '--'}${item.value||'0'}%`
+ })
+ }
+
+
+ str += `
+
+ 7、客户画像触达:${this.weekObj.reachSum || 0}次`
+
+ if (this.weekObj.level1List.length > 0) {
+ str += `
+
+ 8、画像一级触达接待前三
+ `
+ this.weekObj.level1List.map((item, index) => {
+ str += `
+ top${index+1}.${item.name || '--'}${item.total||'0'}%`
+ })
+ }
+
+ if (this.weekObj.level1List.length > 0) {
+ str += `
+
+ 9、画像关键词触达接待前三
+ `
+ this.weekObj.level1List.map((item, index) => {
+ str += `
+ top${index+1}.${item.name || '--'}${item.total||'0'}%`
+ })
+ }
+
+
+ str += `
+
+ 10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
+
+
+ 11、设备情况:
+ 在线:${this.weekObj.equipmentInfo.onlineNum || 0}
+ 离线:${this.weekObj.equipmentInfo.offlineNum || 0}`
+
+
+ uni.setClipboardData({
+ data: str
+ })
+ },
forShare() {
this.$u.get("/zkMessage/shareMessage", {
@@ -436,6 +567,8 @@
},
copy() {
+ if (this.weekObj.orgCode) return this.copys()
+
let str = `
${this.projectName}数智工牌日报
@@ -502,44 +635,17 @@
${item.title || '--'}${item.value||'0'}%`
})
}
-
-
- str += `
-
- 9、客户画像触达:${this.weekObj.reachSum || 0}次`
-
- if (this.weekObj.level1List.length > 0) {
- str += `
-
- 10、画像一级触达接待前三
- `
- this.weekObj.level1List.map((item, index) => {
- str += `
- top${index+1}.${item.name || '--'}${item.total||'0'}%`
- })
- }
-
- if (this.weekObj.level1List.length > 0) {
- str += `
-
- 11、画像关键词触达接待前三
- `
- this.weekObj.level1List.map((item, index) => {
- str += `
- top${index+1}.${item.name || '--'}${item.total||'0'}%`
- })
- }
-
-
str += `
- 12、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
+ 9、客户画像触达:${this.weekObj.reachSum || 0}次
+ 10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
- 13、设备情况:
+ 11、设备情况:
在线:${this.weekObj.equipmentInfo.onlineNum || 0}
离线:${this.weekObj.equipmentInfo.offlineNum || 0}`
+
uni.setClipboardData({
data: str
})