wangxiaohua 2 years ago
parent
commit
3563e32484
5 changed files with 53 additions and 35 deletions
  1. +9
    -4
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  2. +20
    -25
      pages/center/records/index.vue
  3. +12
    -1
      pages/center/records/recordSearch.vue
  4. +2
    -2
      pages/index/index.vue
  5. +10
    -3
      pages/mine/details2.vue

+ 9
- 4
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue View File

@@ -244,7 +244,7 @@
</view>
<view class="pingfenbox" >
<view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%</view>
<view :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;">
@@ -343,7 +343,7 @@
</view>
</view>
<view class="bioqianwayl" v-if="item.isshow==true">
<view class="jiangshang"v-for="(chend,i) in item.children" :key='i' v-if="chend.selected==0">{{chend.text}}</view>
<view class="jiangshang" v-for="(chend,i) in item.children" :key='i' v-if="chend.selected==0">{{chend.text}}</view>
</view>
</view>
</view>
@@ -450,9 +450,9 @@
biaoqianid: "",
biaoqianlist: [],
biaoqianindex: 0,
guanjianciishow:false,
dshfkjsdkksodofydwfkhwdfkjh:0,
buildingID:''
buildingID:'',
methodsisshow:false,
};
},
onShow() {
@@ -460,6 +460,11 @@
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
}


+ 20
- 25
pages/center/records/index.vue View File

@@ -10,22 +10,7 @@
<view class="search-text">输入客户姓名/手机号</view>
</view>
</view>
</view>
<!-- 选择器 -->
<!-- <view class="boxtittab">
<view class="tabbox">
<view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">今日</view>
</view>
<view class="tabbox">
<view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">昨日</view>
</view>
<view class="tabbox">
<view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">近一周</view>
</view>
<view class="tabbox">
<view :class="{ activecllasscet: activeTotal == 3 }" @click="tabtimetap(3)">自定义</view>
</view>
</view> -->
</view>
<!-- 选择器 -->
<view class="boxtittab">
@@ -58,8 +43,12 @@
<view class="name">{{item.agentName}}</view>
<view class="status" v-if="item.replaceReception==1">代接待</view>
</view>
<view class="right" v-if="item.recording!=0">
<view v-if="item.taboo==1">违禁接待 |</view>
<view v-if="methodsisshow==true">
<text v-if="item.taboo==1">违禁接待 |</text>
</view>
<!-- <view class="point"></view> -->
<view v-if="item.markAdvisor==0" class="">未标记</view>
<view v-if="item.markAdvisor==1" class="">已标记</view>
@@ -67,6 +56,8 @@
<view class="right" v-else>
<view class="">无录音</view>
</view>
</view>
<view class="content-sec">
<view class="left">
@@ -82,14 +73,8 @@
{{item.createTime}} | {{item.mm || '0'}} min
</view>
</view>
</view>

<u-popup v-model="screenShow" mode="top" height="590">
<view class="screen">
<!-- 顾问选择 -->
@@ -220,7 +205,10 @@
timeshow:false,
timetushow:false,
soltishow:false,
orderBy:''
orderBy:'',
methodsisshow:false,
userInfo:{}
}
},
onLoad(options) {
@@ -233,6 +221,13 @@
}
},
onShow() {
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.isnorefresh=='refresh'){
this.buildingID = uni.getStorageSync('buildingID').id;
this.recordList=[];


+ 12
- 1
pages/center/records/recordSearch.vue View File

@@ -12,8 +12,11 @@
<view class="name">{{item.agentName}}</view>
<view class="status" v-if="item.replaceReception==1">代接待</view>
</view>
<view class="right" v-if="item.recording!=0">
<view v-if="item.taboo==1">违禁接待 |</view>
<view v-if="methodsisshow==true">
<text v-if="item.taboo==1">违禁接待 |</text>
</view>
<!-- <view class="point"></view> -->
<view v-if="item.markAdvisor==0" class="">未标记</view>
<view v-if="item.markAdvisor==1" class="">已标记</view>
@@ -49,9 +52,17 @@
buildingID:'',
nextPage:1,
totalRecord:"",
methodsisshow:false,
userInfo:{}
}
},
onShow() {
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){
this.methodsisshow=false;
}else{
this.methodsisshow=true;
}
this.buildingID = uni.getStorageSync('buildingID').id;
this.nextPage=1;
this.recordList=[];


+ 2
- 2
pages/index/index.vue View File

@@ -92,7 +92,7 @@
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view>
<view class="realtext">正在接待</view>
</view>
<view class="real" @click="tapjumpreception('3')">
<view class="real" @click="tapjumpreception('4')">
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
<view class="realtext">未标顾问</view>
</view>
@@ -420,7 +420,7 @@
});
}else{
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=1'
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0'
});
}
}


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

@@ -269,7 +269,7 @@
</view>
<view class="pingfenbox" >
<view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%</view>
<view :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;">
@@ -368,7 +368,7 @@
</view>
</view>
<view class="bioqianwayl" v-if="item.isshow==true">
<view class="jiangshang"v-for="(chend,i) in item.children" :key='i' v-if="chend.selected==0">{{chend.text}}</view>
<view class="jiangshang" v-for="(chend,i) in item.children" :key='i' v-if="chend.selected==0">{{chend.text}}</view>
</view>
</view>
</view>
@@ -441,7 +441,8 @@
Pinspeak:false,
intention:false,
yixingindex:0,//意向,统计切换
buildingID:''
buildingID:'',
methodsisshow:false,
};
},
onLoad: function(options) {
@@ -452,10 +453,16 @@
this.stateisshow=options.stateisshow;
},
onShow() {
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
}


Loading…
Cancel
Save