diff --git a/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue b/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue index 1d49b29..79996ea 100644 --- a/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue +++ b/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue @@ -4,7 +4,7 @@ {{datetiem}} - + @@ -21,7 +21,7 @@ inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist" :is-scroll="true"> - + 标记 @@ -115,10 +115,10 @@ 复制 - 常错词 - 加精华 销讲总执行率{{totalRate}}% - 禁忌执行 + 禁忌执行 @@ -353,7 +353,7 @@ - 校准 + 校准 @@ -449,8 +449,7 @@ duihuawenjianid: "", thewrongword: "", //错误词 reswrongword: "", //正确词 - userInfo:{}, - jiaoseshow:true, + // jiaoseshow:true, isshow2: false, isshow3: false, biaoqianid: "", @@ -458,12 +457,19 @@ biaoqianindex: 0, dshfkjsdkksodofydwfkhwdfkjh:0, buildingID:'', - methodsisshow:false, + // methodsisshow:false, calibration:0, textItself:'', argtextindex1:0, - argtextindex2:0 + argtextindex2:0, + permissions:{ + commonly1:false, + commonly2:false, + commonly3:false, + commonly4:false, + commonly5:false, + } }; }, onShow() { @@ -476,18 +482,21 @@ console.log("方法注册失败:", errMsg); }, }); + let newmenulist= uni.getStorageSync('weapp_session_Menu_data'); + this.permissions.commonly1=newmenulist.bjgw; + // this.permissions.commonly2=newmenulist.jdwxbj; + this.permissions.commonly3=newmenulist.swyxal; + this.permissions.commonly4=newmenulist.ccc; + this.permissions.commonly5=newmenulist.xz; + this.permissions.commonly6=newmenulist.ckwjzx; + //1 标记顾问 bjgw + //1 接待无效标记 jdwxbj + //1 设为优秀案例 swyxal + // 常错词 ccc + // 校准 xz 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 - } var pages = getCurrentPages(); var currPage = pages[pages.length - 1]; //当前页面 var info = currPage.data.info; diff --git a/pages/index/index.vue b/pages/index/index.vue index ace7445..bf0df80 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -298,7 +298,6 @@ // 设为优秀案例 swyxal // 常错词 ccc // 校准 xz - // 查看违禁执行 ckwjzx }; }, diff --git a/pages/mine/details.vue b/pages/mine/details.vue index 462a59e..918d86d 100644 --- a/pages/mine/details.vue +++ b/pages/mine/details.vue @@ -11,7 +11,7 @@ 接待时长 {{alltimeStr}} - + {{userlistobj.validInvalidName||''}} @@ -84,10 +84,10 @@ 复制 - 常错词 - 加精华 { - if(item.name=='标记有效无效接待'){ - this.Menulistisshow=true; - } - }) + + let newmenulist= uni.getStorageSync('weapp_session_Menu_data'); + this.permissions.commonly2=newmenulist.jdwxbj; + this.permissions.commonly3=newmenulist.swyxal; + this.permissions.commonly4=newmenulist.ccc; + + //1 接待无效标记 jdwxbj + //1 设为优秀案例 swyxal + // 常错词 ccc this.buildingID = uni.getStorageSync('buildingID').id; - - this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); - if (this.userInfo.dataCode == 6) { - this.jiaoseshow = false - } - - - if(this.stateisshow==2){ var info =this.itemobj; }else{ diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 4740cc9..2c85430 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -4,7 +4,7 @@ {{date}} - + @@ -21,7 +21,7 @@ inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist" :is-scroll="true"> - + 标记 @@ -108,10 +108,10 @@ 复制 - 常错词 - 加精华 - + 更多 @@ -168,7 +168,7 @@ - + 接待信息 @@ -281,7 +281,7 @@ 销讲总执行率{{totalRate}}% - 禁忌执行 + 禁忌执行 @@ -391,7 +391,7 @@ - 校准 + 校准 @@ -470,8 +470,7 @@ duihuawenjianid: "", biaoqianid: "", status: 0, - userInfo: {}, - jiaoseshow: true, + // jiaoseshow: true, itemobj:{}, textindex:0,//下拉 转写文件下标 toptextindex:0,//上拉 转写文件下标 @@ -486,10 +485,10 @@ intention:false, yixingindex:0,//意向,统计切换 buildingID:'', - methodsisshow:false, + // methodsisshow:false, Thetapeidisshow:false, - Menulist:[], - Menulistisshow:false, + // Menulist:[], + // Menulistisshow:false, validInvalid:0, calibration:0, @@ -506,6 +505,14 @@ textItself:'', argtextindex1:0, argtextindex2:0, + permissions:{ + commonly1:false, + commonly2:false, + commonly3:false, + commonly4:false, + commonly5:false, + commonly6:false + } }; }, onLoad: function(options) { @@ -525,24 +532,29 @@ console.log("方法注册失败:", errMsg); }, }); - this.Menulist = uni.getStorageSync('weapp_session_Menu_data'); - this.Menulist.forEach(item=>{ - if(item.name=='标记有效无效接待'){ - this.Menulistisshow=true; - } - }) + // this.Menulist = uni.getStorageSync('weapp_session_Menu_data'); + // this.Menulist.forEach(item=>{ + // if(item.name=='标记有效无效接待'){ + // this.Menulistisshow=true; + // } + // }) + + let newmenulist= uni.getStorageSync('weapp_session_Menu_data'); + this.permissions.commonly1=newmenulist.bjgw; + this.permissions.commonly2=newmenulist.jdwxbj; + this.permissions.commonly3=newmenulist.swyxal; + this.permissions.commonly4=newmenulist.ccc; + this.permissions.commonly5=newmenulist.xz; + this.permissions.commonly6=newmenulist.ckwjzx; + //1 标记顾问 bjgw + //1 接待无效标记 jdwxbj + //1 设为优秀案例 swyxal + // 常错词 ccc + // 校准 xz + 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 - } this.roleindex=0; if(this.stateisshow==2){ var info =this.itemobj;