| @@ -267,8 +267,10 @@ | |||||
| }, | }, | ||||
| components: {}, | components: {}, | ||||
| onShow() { | onShow() { | ||||
| this.getMenu() | |||||
| this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | ||||
| this.Menulist = uni.getStorageSync('weapp_session_Menu_data'); | |||||
| if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){ | if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){ | ||||
| this.methodsisshow=false; | this.methodsisshow=false; | ||||
| }else{ | }else{ | ||||
| @@ -301,6 +303,14 @@ | |||||
| this.initrealTimeStatistics() | this.initrealTimeStatistics() | ||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| //获取权限 | |||||
| getMenu(){ | |||||
| console.log("11111") | |||||
| this.$u.get("/user/getMenu").then(data => { | |||||
| uni.setStorageSync("weapp_session_Menu_data", data) | |||||
| this.Menulist = uni.getStorageSync('weapp_session_Menu_data'); | |||||
| }) | |||||
| }, | |||||
| //自定义时间 | //自定义时间 | ||||
| totalTimeChange(e) { | totalTimeChange(e) { | ||||
| this.statDateStart=e.startDate; | this.statDateStart=e.startDate; | ||||
| @@ -502,7 +502,8 @@ | |||||
| {value: '4',name: '非接访场景录音'}, | {value: '4',name: '非接访场景录音'}, | ||||
| {value: '5',name: '其他'} | {value: '5',name: '其他'} | ||||
| ], | ], | ||||
| effectiveitext:'' | |||||
| effectiveitext:'', | |||||
| textItself:'', | |||||
| }; | }; | ||||
| }, | }, | ||||
| onLoad: function(options) { | onLoad: function(options) { | ||||
| @@ -1417,6 +1418,7 @@ | |||||
| this.changanitem = item; | this.changanitem = item; | ||||
| this.duihuawenjianid = this.luyinList[this.csdFileindex].id; | this.duihuawenjianid = this.luyinList[this.csdFileindex].id; | ||||
| this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow; | this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow; | ||||
| this.textItself=item.onebest; | |||||
| let onebest=item.onebest; | let onebest=item.onebest; | ||||
| this.thewrongword =onebest.replace(/<.*?>/ig,""); | this.thewrongword =onebest.replace(/<.*?>/ig,""); | ||||
| this.messagelisy = this.dialogList[i].message | this.messagelisy = this.dialogList[i].message | ||||