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 ? "已加精" : "未加精" }} --> - - + +