wangxiaohua преди 3 години
родител
ревизия
0311a6f35f
променени са 4 файла, в които са добавени 88 реда и са изтрити 70 реда
  1. +28
    -19
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  2. +0
    -1
      pages/index/index.vue
  3. +20
    -22
      pages/mine/details.vue
  4. +40
    -28
      pages/mine/details2.vue

+ 28
- 19
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue Целия файл

@@ -4,7 +4,7 @@
<!-- 顶部时间 -->
<view class="headboxhead">
<view class="boxhead1">{{datetiem}}</view>
<view class="boxhead2" v-if="jiaoseshow">
<view class="boxhead2" v-if="permissions.commonly3">
<image v-if="Alladdtodigest==1" @click="tappick()" src="../../../../static/images/pike.png" mode=""></image>
<image v-if="Alladdtodigest==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 class="headpade">
<view class="headpade" v-if="permissions.commonly1">
<view class="biaoji" @tap="tagtap()">标记</view>
</view>
</view>
@@ -115,10 +115,10 @@
<view @click="clickcopy()"
style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">复制
</view>
<view @click="Oftenthewrongword()"
<view @click="Oftenthewrongword()" v-if="permissions.commonly4"
style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词
</view>
<view v-if="jiaoseshow" @click="Addtheessence()"
<view v-if="permissions.commonly3" @click="Addtheessence()"
style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">加精华
</view>
<view @click="clickbofang(dialog.backindex,item)"
@@ -244,7 +244,7 @@
</view>
<view class="pingfenbox" >
<view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%</view>
<view v-if="methodsisshow==true" :class="{ activecllasscet: zhixingcenterindex == 1 }" @click="recordclick(1)">禁忌执行</view>
<view v-if="permissions.commonly6" :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;">
@@ -353,7 +353,7 @@
</view>
</view>
</view>
<view class="calibration" @click="tocalibration()">校准</view>
<view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view>
</view>
<!-- 加入常错词 -->
@@ -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;


+ 0
- 1
pages/index/index.vue Целия файл

@@ -298,7 +298,6 @@
// 设为优秀案例 swyxal
// 常错词 ccc
// 校准 xz
// 查看违禁执行 ckwjzx
};
},


+ 20
- 22
pages/mine/details.vue Целия файл

@@ -11,7 +11,7 @@
</view>
<view class="call_record_time_one">接待时长 {{alltimeStr}}
<u-icon name="list-dot" color="#333" size="48" @click="showFile"></u-icon>
<view class="audoioyouxiao" @click="alllogo()" v-if="Menulistisshow==true">
<view class="audoioyouxiao" @click="alllogo()" v-if="permissions.commonly2">
{{userlistobj.validInvalidName||''}}
</view>
<view class="file-change" v-if="isshowFile">
@@ -84,10 +84,10 @@
<view @click="clickcopy()"
style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">复制
</view>
<view @click="Oftenthewrongword()"
<view @click="Oftenthewrongword()" v-if="permissions.commonly4"
style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词
</view>
<view v-if="jiaoseshow" @click="Addtheessence()"
<view @click="Addtheessence()" v-if="permissions.commonly3"
style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">加精华
</view>
<view @click="clickbofang(dialog.backindex,item)"
@@ -236,15 +236,13 @@
duihuawenjianid: "",
biaoqianid: "",
status: 0,
userInfo: {},
jiaoseshow: true,
num: 0, //上拉 转写文件下标
Bnum: 0, //下拉 转写文件下标
itemobj:{},
buildingID:'',
userlistobj:{},
Menulist:[],
Menulistisshow:false,
// Menulist:[],
// Menulistisshow:false,
effective:false,
effectiveindex:'0',
@@ -258,7 +256,12 @@
effectiveitext:'',
textItself:'',
argtextindex1:0,
argtextindex2:0
argtextindex2:0,
permissions:{
commonly2:false,
commonly3:false,
commonly4:false,
}
};
},
onLoad: function(options) {
@@ -277,23 +280,18 @@
console.log("方法注册失败:", errMsg);
},
});
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.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{


+ 40
- 28
pages/mine/details2.vue Целия файл

@@ -4,7 +4,7 @@
<!-- 顶部时间 -->
<view class="headboxhead">
<view class="boxhead1">{{date}}</view>
<view class="boxhead2" v-if="jiaoseshow">
<view class="boxhead2" v-if="permissions.commonly3">
<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 class="headpade">
<view v-if="permissions.commonly1" 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()"
<view @click="Oftenthewrongword()" v-if="permissions.commonly4"
style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词
</view>
<view v-if="jiaoseshow" @click="Addtheessence()"
<view v-if="permissions.commonly3" @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="Menulistisshow==true">
<view class="tmmchen" v-if="permissions.commonly2==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="Menulistisshow==false">
<view class="tmmchen" @click="Receivetap()" v-if="permissions.commonly2==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="methodsisshow==true" :class="{ activecllasscet: zhixingcenterindex == 1 }" @click="recordclick(1)">禁忌执行</view>
<view v-if="permissions.commonly6" :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" @click="tocalibration()">校准</view>
<view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view>
</view>
<view class="zhezhoa" v-if="effective"></view>
@@ -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;


Зареждане…
Отказ
Запис