wangxiaohua 3 years ago
parent
commit
d0a6afbb44
2 changed files with 14 additions and 2 deletions
  1. +11
    -1
      pages/index/index.vue
  2. +3
    -1
      pages/mine/details2.vue

+ 11
- 1
pages/index/index.vue View File

@@ -267,8 +267,10 @@
},
components: {},
onShow() {
this.getMenu()
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){
this.methodsisshow=false;
}else{
@@ -301,6 +303,14 @@
this.initrealTimeStatistics()
},
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) {
this.statDateStart=e.startDate;


+ 3
- 1
pages/mine/details2.vue View File

@@ -502,7 +502,8 @@
{value: '4',name: '非接访场景录音'},
{value: '5',name: '其他'}
],
effectiveitext:''
effectiveitext:'',
textItself:'',
};
},
onLoad: function(options) {
@@ -1417,6 +1418,7 @@
this.changanitem = item;
this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
this.textItself=item.onebest;
let onebest=item.onebest;
this.thewrongword =onebest.replace(/<.*?>/ig,"");
this.messagelisy = this.dialogList[i].message


||||||
x
 
000:0
Loading…
Cancel
Save