From 08e5b8d38abeb30da017e80fa93d53cffd93ccee Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Thu, 9 Feb 2023 19:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Statistics/ReceptionOverview.vue | 65 ++++++++++++++++++---- 1 file changed, 55 insertions(+), 10 deletions(-) diff --git a/src/views/Statistics/ReceptionOverview.vue b/src/views/Statistics/ReceptionOverview.vue index 6120753..81603ac 100644 --- a/src/views/Statistics/ReceptionOverview.vue +++ b/src/views/Statistics/ReceptionOverview.vue @@ -54,6 +54,26 @@ > + +
销讲业务:
+ + + + @@ -355,11 +375,7 @@
@@ -469,11 +485,7 @@
@@ -617,6 +629,9 @@ export default { activeName: localStorage.getItem("activeName") || "0", // 顾问选项卡选中变量值 activeIndex: localStorage.getItem("activeIndex") || "", // 系统访问来源的下标 + + templateList: [], // 销讲业务列表 + marketingBusiness: [], // 选中的销讲业务 }; }, watch: { @@ -641,6 +656,7 @@ export default { this.overviewreceptionOverviewZxl(); this.overviewteamOrAccountSellingTrends(); this.overviewteamOrAccountSellingTrends1(); + this.getMarketingBusiness() } else { this.zkhousePage(); } @@ -659,6 +675,17 @@ export default { } }, methods: { + // 获取销讲业务 + getMarketingBusiness() { + this.$api.http + .marketingBusiness({ houseId: this.houseId }) + .then((res) => { + console.log(res); + if (res.code == 10000) { + this.templateList = res.data; + } + }); + }, // 选项卡切换事件 handleClick(tab) { this.activeName = tab; @@ -735,6 +762,7 @@ export default { dateType: this.TimetoAhoose, statDateStart: this.fromobj.statDateStart, statDateEnd: this.fromobj.statDateEnd, + marketingBusiness: this.marketingBusiness.join(','), }; if (this.TimetoAhoose == 8) { parmo.dateType = null; @@ -760,6 +788,7 @@ export default { dateType: this.TimetoAhoose, type: this.activeName, ...this.fromobj, + marketingBusiness: this.marketingBusiness.join(','), }; if (this.TimetoAhoose == 8) { parmo.dateType = null; @@ -1000,6 +1029,7 @@ export default { statDateStart: this.fromobj.statDateStart, statDateEnd: this.fromobj.statDateEnd, flag: this.activeIndex, + marketingBusiness: this.marketingBusiness.join(','), }; if (this.TimetoAhoose == 8) { parmo.dateType = null; @@ -1042,6 +1072,7 @@ export default { statDateStart: this.fromobj.statDateStart, statDateEnd: this.fromobj.statDateEnd, deptId: this.departmentsri, + marketingBusiness: this.marketingBusiness.join(','), }; if (this.TimetoAhoose == 8) { parmo.dateType = null; @@ -1070,6 +1101,7 @@ export default { statDateStart: this.fromobj.statDateStart, statDateEnd: this.fromobj.statDateEnd, accountId: this.consultantsri, + marketingBusiness: this.marketingBusiness.join(','), }; if (this.TimetoAhoose == 8) { parmo.dateType = null; @@ -1131,6 +1163,7 @@ export default { dateType: this.TimetoAhoose, statDateStart: this.fromobj.statDateStart, statDateEnd: this.fromobj.statDateEnd, + marketingBusiness: this.marketingBusiness.join(','), }; if (this.TimetoAhoose == 8) { parmo.dateType = null; @@ -1149,6 +1182,7 @@ export default { dateType: this.TimetoAhoose, statDateStart: this.fromobj.statDateStart, statDateEnd: this.fromobj.statDateEnd, + marketingBusiness: this.marketingBusiness.join(','), }; if (this.TimetoAhoose == 8) { parmo.dateType = null; @@ -1566,6 +1600,17 @@ export default { this.systemAccessranking(); this.overviewreceptionOverviewZxl(); }, + + packtaps() { + this.overviewreceptionOverview(); + this.overviewreceptionData(); + this.overviewteamOrAccountSellingTrends(); + this.overviewteamOrAccountSellingTrends1(); + this.overviewreceptionRanking(); + this.systemAccessranking(); + this.overviewreceptionOverviewZxl(); + }, + // 计算百分比 dealData(arr) { let num = Math.max.apply(