From 2926aac6eea30b3986ba11c97bf085457b823a6b Mon Sep 17 00:00:00 2001
From: douzhuo <17611323298@163.com>
Date: Tue, 12 Jul 2022 10:49:49 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=97=A5=E6=8A=A5=E5=91=A8?=
=?UTF-8?q?=E6=8A=A5=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 26 +-
pages/reportExcel/dayReport.vue | 745 +++++++++++++++++++
pages/reportExcel/weekReport.vue | 1172 ++++++++++++++++++++++++++++++
3 files changed, 1941 insertions(+), 2 deletions(-)
create mode 100644 pages/reportExcel/dayReport.vue
create mode 100644 pages/reportExcel/weekReport.vue
diff --git a/pages.json b/pages.json
index 653fe9d..cb407db 100644
--- a/pages.json
+++ b/pages.json
@@ -3,7 +3,8 @@
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
//这个pages里只放这五个页面,新增页面时请对应的放到下面的分包里
- "pages": [{
+ "pages": [
+ {
"path": "pages/index/guide",
"style": {
"navigationBarBackgroundColor": "#008EF2",
@@ -45,7 +46,8 @@
"navigationBarTextStyle": "white",
"enablePullDownRefresh": true
}
- }, {
+ },
+ {
"path": "pages/index/personal",
"style": {
"navigationBarTitleText": "我的",
@@ -53,6 +55,26 @@
"navigationStyle":"custom",
"navigationBarTextStyle": "black"
}
+ },
+
+
+ {
+ "path": "pages/reportExcel/dayReport",
+ "style": {
+ "navigationBarTitleText": "数智工牌日报",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black"
+ }
+
+ },
+ {
+ "path": "pages/reportExcel/weekReport",
+ "style": {
+ "navigationBarTitleText": "数智工牌周报",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black"
+ }
+
}
],
//这下面是分包
diff --git a/pages/reportExcel/dayReport.vue b/pages/reportExcel/dayReport.vue
new file mode 100644
index 0000000..a7ad9f5
--- /dev/null
+++ b/pages/reportExcel/dayReport.vue
@@ -0,0 +1,745 @@
+
+
+
+
+
+
+
+ {{ projectName }}数智工牌日报
+
+ {{ weekObj.createTime | fomatDate }}
+
+ 生成时间:{{ weekObj.createTime || '--' }}
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+ 接待量:
+
+
+
+ 接待量{{ weekObj.receptionCount || 0 }}
+
+
+ 有效接待{{ weekObj.activeCustomer || 0 }}
+
+
+ 有效接待率{{ weekObj.validReceptionRate || 0 }}%
+ 对比昨天{{ weekObj.validReceptionRatePK > 0 ? '+' : '' }}{{ weekObj.validReceptionRatePK || 0 }}%
+
+
+
+
+
+
+
+
+ 2
+
+
+
+ 平均执行率:
+
+
+
+ 平均执行率{{ weekObj.fraction || 0 }}%
+ 对比昨天{{ weekObj.fractionPK > 0 ? '+' : '' }}{{ weekObj.fractionPK || 0 }}%
+
+
+
+
+
+
+
+
+ 3
+
+
+
+ 平均接待时长:
+
+
+
+ 平均接待时长{{ weekObj.avgDuration || 0 }}min
+ 对比昨天{{ weekObj.avgDurationPK > 0 ? '+' : '' }}{{ weekObj.avgDurationPK || 0 }}min
+
+
+
+
+
+
+
+
+ 4
+
+
+
+ 销讲维度执行前三:
+
+
+
+
+
+ {{ rankIndex+1 }}
+
+
+ {{ rank.title || '--' }}
+
+
+ ({{ rank.value || 0 }}%)
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+ 5
+
+
+
+ 销讲维度执行弱项前三:
+
+
+
+
+
+ {{ rankIndex+1 }}
+
+
+ {{ rank.title || '--' }}
+
+
+ ({{ rank.value || 0 }}%)
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+ 6
+
+
+
+ 置业顾问平均执行率排名:
+
+
+
+
+
+ {{ rankIndex+1 }}
+
+
+ {{ rank.title || '--' }}
+
+
+ ({{ rank.value || 0 }}%)
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+ 7
+
+
+
+ 置业顾问平均接访时长排名:
+
+
+
+
+
+ {{ rankIndex+1 }}
+
+
+ {{ rank.title || '--' }}
+
+
+ ({{ rank.value || 0 }}min)
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+ 8
+
+
+
+ 平均执行率最低的顾问:
+
+
+
+
+
+ {{ rank.title || '--' }}
+
+
+ {{ rank.value || 0 }}%
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+ 9
+
+
+
+ 客户画像触达:
+ {{ weekObj.reachSum || 0 }}次
+
+
+
+
+
+
+ 10
+
+
+
+ 未标记接待数:
+ {{ weekObj.unlabelledReceptionNum || 0 }}
+ 条
+
+
+
+
+
+
+ 11
+
+
+
+ 设备情况:
+
+
+
+ 在线{{ weekObj.equipmentInfo.onlineNum || 0 }}
+
+ 离线{{ weekObj.equipmentInfo.offlineNum || 0 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/reportExcel/weekReport.vue b/pages/reportExcel/weekReport.vue
new file mode 100644
index 0000000..994c8bb
--- /dev/null
+++ b/pages/reportExcel/weekReport.vue
@@ -0,0 +1,1172 @@
+
+
+
+
+
+
+
+ {{ projectName || '' }}数智工牌周报
+
+ {{ weekObj.createTimeName }}
+
+ 生成时间:{{ weekObj.createTime || '--' }}
+
+
+
+
+
+
+
+
+ 简报
+
+
+
+
+
+
+ {{ data.name }}
+
+
+ {{ data.num || 0 }}
+
+
+ 对比上周: {{ data.preNum || 0 }}
+ {{ data.percent || '0' }}
+
+ {{ data.percent > 0 ? '↑' : '↓' }}
+
+
+
+
+
+
+
+
+
+
+
+ 销讲场景执行排名
+
+
+
+ 销讲场景平均执行对比上周
+ {{ rankTop('fractionPKName') }}
+ {{ rankTop('fractionPK') }}
+ %
+
+ ,其中【{{ rankTop('fractionBastName') }}】最强为
+ {{ rankTop('fractionBastValue') }}
+ %
+
+
+ ,【{{ rankTop('fractionLastName') }}】执行最弱为
+ {{ rankTop('fractionLastValue') }}
+ %;
+
+
+
+
+
+
+
+ {{ percent.title }}
+
+
+
+
+ {{ percent.value || '0' }} %
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+ 接待统计
+
+
+
+
+ 顾问平均执行率对比上周
+
+
+ {{ rankTop('ranktype') || '' }}
+
+ {{ rankTop('people') || '' }}
+
+ 人,其中{{ rankTop('topName') || '' }}上升
+
+ {{ rankTop('topPk') || '0' }}
+
+ %为最高,{{ rankTop('lastName') || '' }}下降
+
+ {{ rankTop('lastPk') || '0' }}
+
+ %降幅最大。
+
+
+
+
+
+
+ {{ head.title }}
+
+
+
+
+
+
+
+ {{ data.name }}
+ {{ data.activeCustomer }}
+ {{ data.avgDuration }}m
+ {{ data.fraction }}%
+
+ {{ data.pk > 0 ? `+${data.pk}` : data.pk }}%
+
+
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+ 顾问销讲执行率排名(TOP10)
+
+
+
+
+
+
+ {{ percent.title }}
+
+
+
+
+ {{ percent.value || '0' }} %
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+ 顾问接待量排名(TOP10)
+
+
+
+
+
+
+
+ {{ percent.title }}
+
+
+
+
+ {{ percent.value || '0' }}
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+ 使用建议
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+