| @@ -4,7 +4,7 @@ | |||
| <!-- 顶部时间 --> | |||
| <view class="headboxhead"> | |||
| <view class="boxhead1">{{date}}</view> | |||
| <view class="boxhead2" v-if="permissions.commonly3"> | |||
| <view class="boxhead2" v-if="jiaoseshow"> | |||
| <image v-if="status==1" @click="tappick()" src="../../static/images/pike.png" mode=""></image> | |||
| <image v-if="status==0" @click="notappick()" src="../../static/images/nopike.png" mode=""></image> | |||
| </view> | |||
| @@ -21,7 +21,7 @@ | |||
| inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist" :is-scroll="true"> | |||
| </u-tabs-swiper> | |||
| </view> | |||
| <view v-if="permissions.commonly1" class="headpade"> | |||
| <view class="headpade"> | |||
| <view class="biaoji" @tap="tagtap()">标记</view> | |||
| </view> | |||
| </view> | |||
| @@ -108,10 +108,10 @@ | |||
| <view @click="clickcopy()" | |||
| style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">复制 | |||
| </view> | |||
| <view @click="Oftenthewrongword()" v-if="permissions.commonly4" | |||
| <view @click="Oftenthewrongword()" | |||
| style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词 | |||
| </view> | |||
| <view v-if="permissions.commonly3" @click="Addtheessence()" | |||
| <view v-if="jiaoseshow" @click="Addtheessence()" | |||
| style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">加精华 | |||
| </view> | |||
| <view @click="clickbofang(dialog.backindex,item)" | |||
| @@ -159,7 +159,7 @@ | |||
| </view> | |||
| <view class="fill"></view> | |||
| <!-- audioinfo2 --> | |||
| <view class="tmmchen" v-if="permissions.commonly2==true"> | |||
| <view class="tmmchen" v-if="Menulistisshow==true"> | |||
| <image @click="Receivedetailsabouttab('Receivedetailsabout')" src="../../static/images/allimg.png" mode=""></image> | |||
| <view @click="Receivedetailsabouttab('Receivedetailsabout')">更多</view> | |||
| <view class="allimg" v-if="Thetapeidisshow"> | |||
| @@ -168,7 +168,7 @@ | |||
| </view> | |||
| </view> | |||
| <view class="tmmchen" @click="Receivetap()" v-if="permissions.commonly2==false"> | |||
| <view class="tmmchen" @click="Receivetap()" v-if="Menulistisshow==false"> | |||
| <image @click="Receivedetailsabouttab('Receivedetailsabout')" src="../../static/images/audioinfo2.png" mode=""></image> | |||
| <view @click="Receivedetailsabouttab('Receivedetailsabout')">接待信息</view> | |||
| </view> | |||
| @@ -281,7 +281,7 @@ | |||
| </view> | |||
| <view class="pingfenbox" > | |||
| <view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%</view> | |||
| <view v-if="permissions.commonly6" :class="{ activecllasscet: zhixingcenterindex == 1 }" @click="recordclick(1)">禁忌执行</view> | |||
| <view v-if="methodsisshow==true" :class="{ activecllasscet: zhixingcenterindex == 1 }" @click="recordclick(1)">禁忌执行</view> | |||
| </view> | |||
| <view v-if="zhixingcenterindex == 0" class="cenisbox"> | |||
| <view style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;"> | |||
| @@ -391,7 +391,7 @@ | |||
| </view> | |||
| </view> | |||
| <view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view> | |||
| <view class="calibration" @click="tocalibration()">校准</view> | |||
| </view> | |||
| <view class="zhezhoa" v-if="effective"></view> | |||
| @@ -470,7 +470,8 @@ | |||
| duihuawenjianid: "", | |||
| biaoqianid: "", | |||
| status: 0, | |||
| // jiaoseshow: true, | |||
| userInfo: {}, | |||
| jiaoseshow: true, | |||
| itemobj:{}, | |||
| textindex:0,//下拉 转写文件下标 | |||
| toptextindex:0,//上拉 转写文件下标 | |||
| @@ -485,10 +486,10 @@ | |||
| intention:false, | |||
| yixingindex:0,//意向,统计切换 | |||
| buildingID:'', | |||
| // methodsisshow:false, | |||
| methodsisshow:false, | |||
| Thetapeidisshow:false, | |||
| // Menulist:[], | |||
| // Menulistisshow:false, | |||
| Menulist:[], | |||
| Menulistisshow:false, | |||
| validInvalid:0, | |||
| calibration:0, | |||
| @@ -505,14 +506,6 @@ | |||
| textItself:'', | |||
| argtextindex1:0, | |||
| argtextindex2:0, | |||
| permissions:{ | |||
| commonly1:false, | |||
| commonly2:false, | |||
| commonly3:false, | |||
| commonly4:false, | |||
| commonly5:false, | |||
| commonly6:false | |||
| } | |||
| }; | |||
| }, | |||
| onLoad: function(options) { | |||
| @@ -523,22 +516,24 @@ | |||
| this.stateisshow=options.stateisshow; | |||
| }, | |||
| onShow() { | |||
| 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.Menulist = uni.getStorageSync('weapp_session_Menu_data'); | |||
| this.Menulist.forEach(item=>{ | |||
| if(item.name=='标记有效无效接待'){ | |||
| this.Menulistisshow=true; | |||
| } | |||
| }) | |||
| 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; | |||
| @@ -566,14 +561,14 @@ | |||
| //暂停 | |||
| // this.innerAudioContext.pause() | |||
| // 销毁 | |||
| // this.innerAudioContext.destroy(); | |||
| this.innerAudioContext.destroy(); | |||
| }, | |||
| // 销毁实例 | |||
| onUnload: function() { | |||
| //暂停 | |||
| // this.innerAudioContext.pause() | |||
| // 销毁 | |||
| // this.innerAudioContext.destroy(); | |||
| this.innerAudioContext.destroy(); | |||
| }, | |||
| methods: { | |||
| argece(item){ | |||
| @@ -868,7 +863,7 @@ | |||
| method: "GET", | |||
| header: { | |||
| 'content-type': 'application/json', | |||
| 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | |||
| }, | |||
| success: (data) => { | |||
| this.biojiisshow=false; | |||
| @@ -906,7 +901,7 @@ | |||
| method: "GET", | |||
| header: { | |||
| 'content-type': 'application/json', | |||
| 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | |||
| }, | |||
| success: (data) => { | |||
| this.tablist=[]; | |||
| @@ -1214,7 +1209,7 @@ | |||
| method: "GET", | |||
| header: { | |||
| 'content-type': 'application/json', | |||
| 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data') | |||
| .token | |||
| }, | |||
| success: (data) => { | |||
| @@ -1257,7 +1252,7 @@ | |||
| method: "POST", | |||
| header: { | |||
| 'content-type': 'application/json', | |||
| 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data') | |||
| .token | |||
| }, | |||
| data: objdata, | |||
| @@ -1418,7 +1413,7 @@ | |||
| method: "POST", | |||
| header: { | |||
| 'content-type': 'application/json', | |||
| 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | |||
| }, | |||
| data: objdata, | |||
| success: (data) => { | |||
| @@ -1565,7 +1560,7 @@ | |||
| method: "GET", | |||
| header: { | |||
| 'content-type': 'application/json', | |||
| 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | |||
| }, | |||
| success: (data) => { | |||
| this.tablist=[]; | |||
| @@ -1701,7 +1696,7 @@ | |||
| method: "GET", | |||
| header: { | |||
| 'content-type': 'application/json', | |||
| 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | |||
| }, | |||
| success: (data) => { | |||
| this.textindex=data.data.data.index; | |||
| @@ -1735,7 +1730,7 @@ | |||
| method: "GET", | |||
| header: { | |||
| 'content-type': 'application/json', | |||
| 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||
| 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | |||
| }, | |||
| success: (data) => { | |||
| this.textindex=data.data.data.index; | |||