From 801088909ec2ae2baf58087f8408edd148c0a5f1 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Thu, 30 Jun 2022 17:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=AE=80=E6=8A=A5=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=A9=BF=E9=80=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/wel.vue | 65 ++++++++++-- src/views/ReceivingRecords/index.vue | 122 +++++++++++++++++------ src/views/Statistics/ConsultantBrand.vue | 7 +- vue.config.js | 2 +- 4 files changed, 156 insertions(+), 40 deletions(-) diff --git a/src/page/wel.vue b/src/page/wel.vue index 9e256f7..089bded 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -33,11 +33,11 @@ -
+
接待量 (次) - +
@@ -133,7 +133,7 @@
-
+
顾问(人)
@@ -156,7 +156,7 @@
-
+
平均执行率 @@ -205,7 +205,7 @@
-
+
平均接待时长(分钟) @@ -258,7 +258,7 @@ -
+
违禁接待次数(次) @@ -307,7 +307,7 @@
-
+
违禁接待占比 @@ -1786,6 +1786,55 @@ export default { } }, methods: { + // 当前选中时间类型之接待记录 + /** + * 1、接待量跳转 + * 2、有效接待、平均执行率、平均接待时长:打开接待页面,筛选条件:日期+有效接待 + * 3、顾问:打开顾问排名,筛选条件:时间; + * 4、违禁接待次数、违禁接待占比:打开接待记录,筛选条件:日期+违禁是+有效接待; + * */ + nowSelectTime(type) { + let str = '' + switch(type) { + case 1: + if (this.TimetoAhoose == 0) { + str = `dateType,${this.TimetoAhoose}` + } else if(this.TimetoAhoose == 1) { + str = `dateType,${2}` + } else { + str = '' + } + break; + case 2: + if (this.TimetoAhoose == 0) { + str = `dateType,${this.TimetoAhoose}&validInvalid,0` + } else if(this.TimetoAhoose == 1) { + str = `dateType,${2}&validInvalid,0` + } else { + str = 'validInvalid,0' + } + break; + case 3: + if (this.TimetoAhoose == 1) { + str = `dateType,4` + } else { + str = '' + } + break; + case 4: + if (this.TimetoAhoose == 0) { + str = `dateType,${this.TimetoAhoose}&taboo,1&validInvalid,0` + } else if(this.TimetoAhoose == 1) { + str = `dateType,${2}&taboo,1&validInvalid,0` + } else { + str = 'taboo,1&validInvalid,0' + } + break; + } + + return str + }, + // 跳转详情 toDetail(path, params2 = "", name) { if (path == "") return; diff --git a/src/views/ReceivingRecords/index.vue b/src/views/ReceivingRecords/index.vue index 0717d38..122aee4 100644 --- a/src/views/ReceivingRecords/index.vue +++ b/src/views/ReceivingRecords/index.vue @@ -290,8 +290,14 @@
清空筛选条件 -
- {{isOpen?'收起':'展开'}} +
+ {{ isOpen ? "收起" : "展开" + }}
@@ -321,7 +327,13 @@ - + - + - + @@ -359,8 +377,16 @@ {{ row.zfal == 0 ? "已加精" : "未加精" }} --> - - + +