From 9d581563a2bcd03e38f3f2647d1559abd8000352 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Fri, 25 Feb 2022 20:48:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/Piabodata/TrendAnalysis.vue | 17 +- pages/center/Piabodata/index.vue | 8 +- .../consumer/newFollowup/newFollowup.vue | 243 ++++++++++-------- utils/domain.js | 6 +- 4 files changed, 155 insertions(+), 119 deletions(-) diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue index ac0f7be..fd2541f 100644 --- a/pages/center/Piabodata/TrendAnalysis.vue +++ b/pages/center/Piabodata/TrendAnalysis.vue @@ -200,7 +200,7 @@ + :default-value="selindexList"> @@ -209,7 +209,7 @@ :default-value="selindex"> + :default-value="selindexList4"> @@ -222,6 +222,8 @@ export default { data() { return { + selindexList: [0], // 默认选中第一项 + selindexList4: [0], // 默认选中第一项 compareFlag: false, numlist: [{ name: '接待量', @@ -736,6 +738,11 @@ this.pamect.accountId = this.lopanobj.id; this.ConsultantDimension() this.Showhiddenunits = false; + for(let i = 0; i < this.selectlist.length; i++) { + if (e[0].value == this.selectlist[i].value) { + this.selindexList[0] = i + } + } }, //获取顾问 getguwenlist() { @@ -969,6 +976,12 @@ this.timepickpickisshow = false; this.init() this.TeamCompared() + + for(let i = 0; i < this.selectlist4.length; i++) { + if (e[0].value == this.selectlist4[i].value) { + this.selindexList4[0] = i + } + } }, //获取团队列表 getuanduilist() { diff --git a/pages/center/Piabodata/index.vue b/pages/center/Piabodata/index.vue index e9d934d..497ade2 100644 --- a/pages/center/Piabodata/index.vue +++ b/pages/center/Piabodata/index.vue @@ -279,7 +279,7 @@ }, newlistoj: [], newlistoj1: [{ - name: "接待量", + name: "接待客户", id: 1 }, { @@ -287,7 +287,7 @@ id: 2 }, { - name: "接待客户", + name: "接待量", id: 3 }, { @@ -585,7 +585,7 @@ if (index == 0) { // 接待量 this.danwei = '单位(次)' - allobj.series[0].name = '接待量' + allobj.series[0].name = '接待客户' this.allechar.map(item => { allobj.categories.push(item.statDate.slice(5, 10)) allobj.series[0].data.push(item.receptionCount) @@ -601,7 +601,7 @@ } else if (index == 2) { // 接待客户 this.danwei = '单位(个)' - allobj.series[0].name = '接待客户' + allobj.series[0].name = '接待量' this.allechar.map(item => { allobj.categories.push(item.statDate.slice(5, 10)) allobj.series[0].data.push(item.sumCustomer) diff --git a/pages/center/consumer/newFollowup/newFollowup.vue b/pages/center/consumer/newFollowup/newFollowup.vue index 660a03c..2c7b538 100644 --- a/pages/center/consumer/newFollowup/newFollowup.vue +++ b/pages/center/consumer/newFollowup/newFollowup.vue @@ -1,40 +1,50 @@