From 3563e324840a3ed7a17bc83e99da792d10e6e328 Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Sat, 18 Sep 2021 10:34:48 +0800 Subject: [PATCH] init --- .../Customerportrait/Receivedetailabout.vue | 13 ++++-- pages/center/records/index.vue | 45 +++++++++---------- pages/center/records/recordSearch.vue | 13 +++++- pages/index/index.vue | 4 +- pages/mine/details2.vue | 13 ++++-- 5 files changed, 53 insertions(+), 35 deletions(-) diff --git a/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue b/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue index 04aaba6..85cd937 100644 --- a/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue +++ b/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue @@ -244,7 +244,7 @@ 销讲总执行率{{totalRate}}% - 禁忌执行 + 禁忌执行 @@ -343,7 +343,7 @@ - {{chend.text}} + {{chend.text}} @@ -450,9 +450,9 @@ biaoqianid: "", biaoqianlist: [], biaoqianindex: 0, - guanjianciishow:false, dshfkjsdkksodofydwfkhwdfkjh:0, - buildingID:'' + buildingID:'', + methodsisshow:false, }; }, onShow() { @@ -460,6 +460,11 @@ this.kehuyixiangcenterindex=0; this.buildingID = uni.getStorageSync('buildingID').id; this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); + if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){ + this.methodsisshow=false; + }else{ + this.methodsisshow=true; + } if (this.userInfo.dataCode == 6) { this.jiaoseshow = false } diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index ba550f7..b4f2514 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -10,22 +10,7 @@ 输入客户姓名/手机号 - - - + @@ -58,8 +43,12 @@ {{item.agentName}} 代接待 + + - 违禁接待 | + + 违禁接待 | + 未标记 已标记 @@ -67,6 +56,8 @@ 无录音 + + @@ -82,14 +73,8 @@ {{item.createTime}} | {{item.mm || '0'}} min - - - - - - - + @@ -220,7 +205,10 @@ timeshow:false, timetushow:false, soltishow:false, - orderBy:'' + orderBy:'', + methodsisshow:false, + userInfo:{} + } }, onLoad(options) { @@ -233,6 +221,13 @@ } }, onShow() { + this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); + if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){ + this.methodsisshow=false; + }else{ + this.methodsisshow=true; + } + if(this.isnorefresh=='refresh'){ this.buildingID = uni.getStorageSync('buildingID').id; this.recordList=[]; diff --git a/pages/center/records/recordSearch.vue b/pages/center/records/recordSearch.vue index 5582585..1c98f4f 100644 --- a/pages/center/records/recordSearch.vue +++ b/pages/center/records/recordSearch.vue @@ -12,8 +12,11 @@ {{item.agentName}} 代接待 + - 违禁接待 | + + 违禁接待 | + 未标记 已标记 @@ -49,9 +52,17 @@ buildingID:'', nextPage:1, totalRecord:"", + methodsisshow:false, + userInfo:{} } }, onShow() { + this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); + if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){ + this.methodsisshow=false; + }else{ + this.methodsisshow=true; + } this.buildingID = uni.getStorageSync('buildingID').id; this.nextPage=1; this.recordList=[]; diff --git a/pages/index/index.vue b/pages/index/index.vue index 5cc8e3f..99893d4 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -92,7 +92,7 @@ {{realtimeobj.receivingCustomer || 0}} 正在接待 - + {{realtimeobj.tagCustomer || 0}} 未标顾问 @@ -420,7 +420,7 @@ }); }else{ uni.navigateTo({ - url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=1' + url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0' }); } } diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index dedf94d..72149a9 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -269,7 +269,7 @@ 销讲总执行率{{totalRate}}% - 禁忌执行 + 禁忌执行 @@ -368,7 +368,7 @@ - {{chend.text}} + {{chend.text}} @@ -441,7 +441,8 @@ Pinspeak:false, intention:false, yixingindex:0,//意向,统计切换 - buildingID:'' + buildingID:'', + methodsisshow:false, }; }, onLoad: function(options) { @@ -452,10 +453,16 @@ this.stateisshow=options.stateisshow; }, onShow() { + this.intention=false; this.kehuyixiangcenterindex=0; this.buildingID = uni.getStorageSync('buildingID').id; this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); + if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){ + this.methodsisshow=false; + }else{ + this.methodsisshow=true; + } if (this.userInfo.dataCode == 6) { this.jiaoseshow = false }