From 1aec2ba98e856b6c95ead0270ea4229428e815b8 Mon Sep 17 00:00:00 2001 From: corala <18339694416@163.com> Date: Sat, 23 Jul 2022 18:03:55 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BA=8C=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../center/Piabodata/Employeesstatistics.vue | 89 +- pages/center/Piabodata/StaffAnalysis.vue | 23 + pages/center/Piabodata/index.vue | 2 +- pages/center/consumer/index.vue | 2453 ++++++++++------- pages/center/records/index.vue | 651 +++-- pages/mine/details2.vue | 130 +- 6 files changed, 1997 insertions(+), 1351 deletions(-) diff --git a/pages/center/Piabodata/Employeesstatistics.vue b/pages/center/Piabodata/Employeesstatistics.vue index 31d2e73..04697a1 100644 --- a/pages/center/Piabodata/Employeesstatistics.vue +++ b/pages/center/Piabodata/Employeesstatistics.vue @@ -22,15 +22,15 @@ 接待量排名(TOP10) - + 合计 {{newlisttabinfo1.total}} - + 顾问 {{newlisttabinfo1.count}} - + 人均接待量 {{newlisttabinfo1.avg}} @@ -61,11 +61,11 @@ 销讲执行率排行(TOP10) - + 顾问 {{newlisttabinfo3.count}} - + 人均执行率 {{newlisttabinfo3.avg}} @@ -95,15 +95,15 @@ 录音时长(TOP10) - + 合计 {{newlisttabinfo2.total}} - + 顾问 {{newlisttabinfo2.count}} - + 人均录音时长 {{newlisttabinfo2.avg}} @@ -133,15 +133,15 @@ 违禁次数排名(TOP10) - + 合计 {{newlisttabinfo4.total}} - + 顾问 {{newlisttabinfo4.count}} - + 人均违禁次数 {{newlisttabinfo4.avg}} @@ -171,15 +171,15 @@ 接待未标顾问(TOP10) - + 合计 {{newlisttabinfo5.total}} - + 顾问 {{newlisttabinfo5.count}} - + 均值 {{newlisttabinfo5.avg}} @@ -202,6 +202,39 @@ + + + + + 平均需求挖掘率排名(TOP10) + + + + 楼盘总数 + {{newlisttabinfo6.total}} + + + 平均挖掘率 + {{newlisttabinfo6.avg}} + + + + + + {{item.name.substring(0,4)}} + + + + {{item.zxl==null?0:item.zxl}} + + + + 暂无数据 + + + @@ -250,6 +283,12 @@ total: '', result: [], }, + newlisttabinfo6: { + avg: '', + count: '', + total: '', + result: [], + }, }; }, onLoad(option) { @@ -292,6 +331,12 @@ total: '', result: [], } + this.newlisttabinfo4 = { + avg: '', + count: '', + total: '', + result: [], + } var activeTotal = 0; if (this.activeTotal == 3) { @@ -312,6 +357,7 @@ this.staffStatisticsExecutionRateTop10(promse) this.staffStatisticsProhibitedTop10(promse) this.staffStatisticsUnlabeledTop10(promse) + this.wordlevelTop10(promse) }, //接待量排名 staffStatisticsReceptionTop10(promse) { @@ -369,6 +415,17 @@ this.newlisttabinfo5 = res; }) }, + // 平均需求挖掘率排名 + wordlevelTop10(promse) { + this.$u.post('/cusLvStatistics/staffStatisticsUnlabeledTop', promse).then(res => { + res.result.forEach(item => { + item.zxl = item.tagCustomer + item.name = item.accountName + }) + res.result = this.dealData(res.result) + this.newlisttabinfo6 = res; + }) + }, //自定义时间 totalTimeChange(e) { @@ -425,7 +482,6 @@ width: 100%; height: 100%; background: #FAFAFA; - padding-bottom: 60rpx; } .single { @@ -443,6 +499,9 @@ display: flex; padding-top: 20rpx; padding-bottom: 20rpx; + .sanbox1{ + text-align: center; + } .text1-1 { color: #666666; diff --git a/pages/center/Piabodata/StaffAnalysis.vue b/pages/center/Piabodata/StaffAnalysis.vue index 0d38586..9d2ee44 100644 --- a/pages/center/Piabodata/StaffAnalysis.vue +++ b/pages/center/Piabodata/StaffAnalysis.vue @@ -76,6 +76,29 @@ canvasId="wangxiaouaerlingeryilingwuyibhh" :canvas2d="true" /> + + + + 平均需求挖掘率趋势 + + + + + + {{staff1.label}}:{{newTeam2||0}} + {{staff2.label}}:{{newAvg2||0}} + + 录音时长 + + + + diff --git a/pages/center/Piabodata/index.vue b/pages/center/Piabodata/index.vue index 382037d..46bc5e5 100644 --- a/pages/center/Piabodata/index.vue +++ b/pages/center/Piabodata/index.vue @@ -54,7 +54,7 @@ 简报 - {{item.name}} + {{item.name}} {{item.num}} diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue index cd8dc0a..79a48f7 100644 --- a/pages/center/consumer/index.vue +++ b/pages/center/consumer/index.vue @@ -1,112 +1,175 @@ diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index 3d2c6f2..83a72f0 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -1,7 +1,7 @@