违禁接待占比
@@ -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?'收起':'展开'}}
+