@@ -23,7 +23,7 @@ | |||
<view v-if='roleindex==1' style="width: 690rpx;height: 64rpx;margin: 0 auto;margin-top: 30rpx;background: #F2F2F2;border-radius: 32rpx; | |||
display: flex;align-items: center;"> | |||
<view style="width: 10%;height: 64rpx;display: flex;align-items: center;"> | |||
<image style="width: 28rpx;height: 28rpx;margin-left: 30rpx;" src="/static/images/customer/search.png" mode=""></image> | |||
<image style="width: 28rpx;height: 28rpx;margin-left: 30rpx;" src="/static/images/search.png" mode=""></image> | |||
</view> | |||
<view style="width: 90%;height: 64rpx;display: flex;align-items: center;"> | |||
<input type="text" @input="searchinfo" v-model="keyword" placeholder="请输入关键字" | |||
@@ -9,11 +9,11 @@ | |||
<image v-if="Alladdtodigest==0" @click="notappick()" src="../../../../static/images/nopike.png" mode=""></image> | |||
</view> | |||
</view> | |||
<view class="inputbox" v-if="guanjianciishow"> | |||
<!-- <view class="inputbox" v-if="guanjianciishow"> | |||
<view class="thisinput" @click="tosearch()"> | |||
请输入或选择 | |||
</view> | |||
</view> | |||
</view> --> | |||
<!-- 标记顾问 --> | |||
<view class="headboxbott"> | |||
<view class="headovfu"> | |||
@@ -381,10 +381,12 @@ | |||
biaoqianlist: [], | |||
biaoqianindex: 0, | |||
guanjianciishow:false, | |||
dshfkjsdkksodofydwfkhwdfkjh:0 | |||
dshfkjsdkksodofydwfkhwdfkjh:0, | |||
buildingID:'' | |||
}; | |||
}, | |||
onShow() { | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | |||
if (this.userInfo.dataCode == 6) { | |||
this.jiaoseshow = false | |||
@@ -427,7 +429,11 @@ | |||
}, | |||
methods: { | |||
guanjiancishifo(){ | |||
this.guanjianciishow=!this.guanjianciishow; | |||
// this.guanjianciishow=!this.guanjianciishow; | |||
this.innerAudioContext.destroy(); | |||
uni.navigateTo({ | |||
url: '/pages/center/Piabodata/Customerportrait/Detailsofthesearch?customerId='+this.customerId | |||
}) | |||
}, | |||
tosearch(){ | |||
this.innerAudioContext.destroy(); | |||
@@ -445,13 +451,23 @@ | |||
Addtheessence() { | |||
this.isshow3 = true; | |||
this.biaoqianlist = [] | |||
util.getRequestPromise(config.service.findAllYi, {}, false).then(data => { | |||
let parames={ | |||
"itemId":this.buildingID | |||
} | |||
this.$u.post("/addtodigest/findAllYi", parames).then(data => { | |||
this.biaoqianlist = data | |||
this.biaoqianlist.unshift({ | |||
name: "逼单话术", | |||
id: 0 | |||
}) | |||
}); | |||
}) | |||
// util.getRequestPromise(config.service.findAllYi, {}, false).then(data => { | |||
// this.biaoqianlist = data | |||
// this.biaoqianlist.unshift({ | |||
// name: "逼单话术", | |||
// id: 0 | |||
// }) | |||
// }); | |||
}, | |||
// 取消加精 | |||
Cancelout2() { | |||
@@ -476,6 +492,7 @@ | |||
}) | |||
}) | |||
let objdata = { | |||
"itemId":this.buildingID, | |||
"carId": this.customerId, //客户id | |||
"startTime": this.changanitem.bg, //开始时间 | |||
"startFile": this.duihuawenjianid, //对话所在录音文件id | |||
@@ -1203,7 +1220,7 @@ | |||
if (res.confirm) { | |||
console.log('用户点击确定'); | |||
uni.request({ | |||
url: config.service.delATD + "?carId=" + that.customerId, | |||
url: config.service.delATD + "?carId=" + that.customerId+'&itemId='+that.buildingID, | |||
method: "GET", | |||
header: { | |||
'content-type': 'application/json', | |||
@@ -1242,7 +1259,8 @@ | |||
console.log('用户点击确定'); | |||
let objdata = { | |||
"carId": that.customerId, //客户id | |||
"status": 0 | |||
"status": 0, | |||
"itemId":that.buildingID, | |||
} | |||
uni.request({ | |||
url: config.service.addATD, | |||
@@ -4,7 +4,13 @@ | |||
<view class="content-tips" @click="goedit()"> | |||
<view class="content-first"> | |||
<view class="left"> | |||
<view class="img">{{customerInfo.name.slice(0,1) || '--'}}</view> | |||
<view v-if="customerInfo.level.length==0"></view> | |||
<view class="img" v-else-if="customerInfo.level==1">A</view> | |||
<view class="img" v-else-if="customerInfo.level==2">B</view> | |||
<view class="img" v-else-if="customerInfo.level==3">C</view> | |||
<view class="img" v-else-if="customerInfo.level==4">D</view> | |||
<view class="test">{{customerInfo.name || '--'}}</view> | |||
<view class="edit"> | |||
<image class="screen-sel-img" src="../../../static/images/edit.png" mode=""></image> | |||
@@ -33,7 +39,7 @@ | |||
</view> | |||
<view class="content-sec-num"> | |||
<view class="">{{customerInfo.visitRecord || '--'}}次到访</view> | |||
<view class="">{{customerInfo.fraction || '0'}}% | {{customerInfo.fraction || '0'}}分</view> | |||
<view class="">{{customerInfo.fraction || '0'}}% | {{customerInfo.mm || '0'}}分</view> | |||
</view> | |||
</view> | |||
<view class="content-last"> | |||
@@ -70,9 +76,14 @@ | |||
<view v-if="Thevisitingrecords.length!=0" class="content-tips" v-for="(item,index) in Thevisitingrecords" :key="index" @click="tapThevisiting(item)"> | |||
<view class="content-first"> | |||
<view class="left"> | |||
<view class="img">{{item.agentName.slice(0,1) || '--'}}</view> | |||
<view v-if="item.level.length==0"></view> | |||
<view class="img" v-else-if="item.level==1">A</view> | |||
<view class="img" v-else-if="item.level==2">B</view> | |||
<view class="img" v-else-if="item.level==3">C</view> | |||
<view class="img" v-else-if="item.level==4">D</view> | |||
<view class="name">{{item.agentName || '--'}}</view> | |||
<view class="status">代接待</view> | |||
<view class="status" v-if="item.replace==1">代接待</view> | |||
</view> | |||
<!-- <view class="right"> | |||
<view class="point"></view> | |||
@@ -85,10 +96,10 @@ | |||
<view class="cus">客户:{{item.name || ''}} |</view> | |||
<view class="arriveNum">{{item.visitRecord || '--'}}次到访</view> | |||
</view> | |||
<view class="right">{{item.fraction || '0'}}% | {{item.fraction || '0'}}分</view> | |||
<view class="right">{{item.fraction || '0'}}%</view> | |||
</view> | |||
<view class="content-last">{{item.createTime}} | {{item.mm || '--'}}分钟</view> | |||
<view class="content-last">{{item.createTime}} | {{item.mm || '--'}}min</view> | |||
</view> | |||
</view> | |||
@@ -124,7 +135,7 @@ | |||
<view class="ratetetle">执行总览</view> | |||
<view class="rateyuanbox"> | |||
<view class="rateyuanboxzuo"> | |||
<view class="boxzuoview cccccc">3次</view> | |||
<view class="boxzuoview cccccc">{{customerInfo.visitRecord || '--'}}次</view> | |||
<view style="color: #333333;font-size: 28rpx;font-weight: 400;text-align: center;">接待次数</view> | |||
</view> | |||
<view class="rateyuanboxyou"> | |||
@@ -602,10 +613,10 @@ | |||
border-radius: 50%; | |||
text-align: center; | |||
line-height: 50rpx; | |||
margin-right: 20rpx; | |||
} | |||
.test{ | |||
margin-top: 11rpx; | |||
margin-left: 20rpx; | |||
font-weight: 500; | |||
color: #333333; | |||
} | |||
@@ -724,11 +735,12 @@ | |||
border-radius: 50%; | |||
text-align: center; | |||
line-height: 52rpx; | |||
margin-right: 20rpx; | |||
} | |||
.name{ | |||
font-weight: 600; | |||
color: #333333; | |||
margin-left: 20rpx; | |||
// margin-left: 20rpx; | |||
margin-top: 11rpx; | |||
} | |||
.status{ | |||
@@ -5,10 +5,15 @@ | |||
</view> | |||
<!-- <view @click="searchinfo()">搜索</view> --> | |||
<view class="content"> | |||
<view class="content-tips" v-for="(item,index) in recordList" :key='index' @click="godetail()"> | |||
<view class="content-tips" v-for="(item,index) in recordList" :key='index' @click="gotoDetail(item.id)"> | |||
<view class="content-first"> | |||
<view class="left"> | |||
<view class="img">{{item.name.slice(0,1)}}</view> | |||
<view v-if="item.level.length==0"></view> | |||
<view class="img" v-else-if="item.level==1">A</view> | |||
<view class="img" v-else-if="item.level==2">B</view> | |||
<view class="img" v-else-if="item.level==3">C</view> | |||
<view class="img" v-else-if="item.level==4">D</view> | |||
<view class="test">{{item.name}}</view> | |||
</view> | |||
</view> | |||
@@ -131,10 +136,11 @@ | |||
border-radius: 50%; | |||
text-align: center; | |||
line-height: 50rpx; | |||
margin-right: 20rpx; | |||
} | |||
.test{ | |||
margin-top: 11rpx; | |||
margin-left: 20rpx; | |||
// margin-left: 20rpx; | |||
font-weight: 500; | |||
color: #333333; | |||
} | |||
@@ -26,7 +26,12 @@ | |||
<view v-if="recordList.length!=0" class="content-tips" v-for="(item,index) in recordList" :key='index' @click="gotoDetail(item.id)"> | |||
<view class="content-first"> | |||
<view class="left"> | |||
<view class="img">{{item.name.slice(0,1)}}</view> | |||
<view v-if="item.level.length==0"></view> | |||
<view class="img" v-else-if="item.level==1">A</view> | |||
<view class="img" v-else-if="item.level==2">B</view> | |||
<view class="img" v-else-if="item.level==3">C</view> | |||
<view class="img" v-else-if="item.level==4">D</view> | |||
<view class="test">{{item.name}}</view> | |||
</view> | |||
<!-- <view class="right"> | |||
@@ -53,7 +58,7 @@ | |||
</view> | |||
<view class="content-sec-num"> | |||
<view class="">{{item.visitRecord || '--'}}次到访</view> | |||
<view class="">{{item.fraction || '0'}}% | {{item.fraction || '0'}}分</view> | |||
<view class="">{{item.fraction || '0'}}% | {{item.mm || '0'}}分</view> | |||
</view> | |||
</view> | |||
<view class="content-last" v-if="item.isshow==true"> | |||
@@ -397,10 +402,11 @@ | |||
border-radius: 50%; | |||
text-align: center; | |||
line-height: 50rpx; | |||
margin-right: 20rpx; | |||
} | |||
.test{ | |||
margin-top: 11rpx; | |||
margin-left: 20rpx; | |||
// margin-left: 20rpx; | |||
font-weight: 500; | |||
color: #333333; | |||
} | |||
@@ -41,9 +41,9 @@ | |||
<view v-if="recordList.length!=0" class="content-tips" v-for="(item,index) in recordList" :key='index' @click="tapThevisiting(item)"> | |||
<view class="content-first"> | |||
<view class="left"> | |||
<view class="img">{{item.agentName.slice(0,1)}}</view> | |||
<!-- <view class="img">{{item.agentName.slice(0,1)}}</view> --> | |||
<view class="name">{{item.agentName}}</view> | |||
<view class="status">代接待</view> | |||
<view class="status" v-if="item.replace==1">代接待</view> | |||
</view> | |||
<!-- <view class="right"> | |||
<view class="point"></view> | |||
@@ -171,6 +171,7 @@ | |||
}, | |||
onShow() { | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.recordList=[]; | |||
this.getMyCustom() | |||
this.getFreeList(); | |||
}, | |||
@@ -404,7 +405,7 @@ | |||
.name{ | |||
font-weight: 600; | |||
color: #333333; | |||
margin-left: 20rpx; | |||
// margin-left: 20rpx; | |||
margin-top: 11rpx; | |||
} | |||
.status{ | |||
@@ -9,9 +9,9 @@ | |||
<view class="content-tips" v-for="(item,index) in recordList" :key='index' @click="tapThevisiting(item)"> | |||
<view class="content-first"> | |||
<view class="left"> | |||
<view class="img">{{item.agentName.slice(0,1)}}</view> | |||
<!-- <view class="img">{{item.agentName.slice(0,1)}}</view> --> | |||
<view class="name">{{item.agentName}}</view> | |||
<view class="status">代接待</view> | |||
<view class="status" v-if="item.replace==1">代接待</view> | |||
</view> | |||
<!-- <view class="right"> | |||
<view class="point"></view> | |||
@@ -161,7 +161,7 @@ | |||
.name{ | |||
font-weight: 600; | |||
color: #333333; | |||
margin-left: 20rpx; | |||
// margin-left: 20rpx; | |||
margin-top: 11rpx; | |||
} | |||
.status{ | |||
@@ -11,7 +11,7 @@ | |||
<view class="customer" v-if="waitCustomList.length!=0" v-for="(item,index) in waitCustomList" :key='index' @click="tapThevisiting(item)"> | |||
<view class="title"> | |||
<view class="zuo"> | |||
<view class="zuoimg">A</view> | |||
<!-- <view class="zuoimg">A</view> --> | |||
<view class="zuoname">{{item.name}}</view> | |||
</view> | |||
<view class="you"> | |||
@@ -158,7 +158,8 @@ | |||
success: res => { | |||
if (res.confirm) { | |||
this.$u.post("/customer/endReception", { | |||
id | |||
id:id, | |||
houseId:this.buildingID | |||
}).then(res => { | |||
uni.showToast({ | |||
icon: "none", | |||
@@ -111,8 +111,8 @@ | |||
<view class="realtext">平均执行率</view> | |||
</view> | |||
<view class="real"> | |||
<view class="realnum">{{realtimeobj.fraction || 0}}</view> | |||
<view class="realtext">平均得分</view> | |||
<!-- <view class="realnum">{{realtimeobj.fraction || 0}}</view> | |||
<view class="realtext">平均得分</view> --> | |||
</view> | |||
<view class="real"> | |||
<!-- <view class="realnum" style="color: red;">44</view> | |||
@@ -144,8 +144,8 @@ | |||
<view class="realtext">平均执行率</view> | |||
</view> | |||
<view class="real"> | |||
<view class="realnum">{{Thisweekobj.fraction || 0}}</view> | |||
<view class="realtext">平均得分</view> | |||
<!-- <view class="realnum">{{Thisweekobj.fraction || 0}}</view> | |||
<view class="realtext">平均得分</view> --> | |||
</view> | |||
<view class="real"> | |||
<!-- <view class="realnum">44</view> | |||
@@ -15,7 +15,7 @@ | |||
<view style="width: 100%;border-bottom: 1px solid #E0E0E0;display: flex;padding-bottom: 10rpx;margin-top: 40rpx;" | |||
v-for="(item,index) in listarr" :key='index' @click="toaidoinfo(item.Content,item.corpusId,item.index)"> | |||
<view style="width: 26rpx;height: 36rpx;margin-top: 4rpx;"> | |||
<image style="width: 26rpx;height: 28rpx;" src="../../../../static/images/testimg.png" mode=""></image> | |||
<image style="width: 26rpx;height: 28rpx;" src="/static/images/testimg.png" mode=""></image> | |||
</view> | |||
<view v-html="item.Content.text" style="color: #666666;font-size: 28rpx;line-height: 36rpx;margin-left: 10rpx;width: 80%;"></view> | |||
<view style="font-size: 28rpx;width: 10%;width: 14%;text-align: right;">{{item.Content.time}}</view> | |||
@@ -118,12 +118,12 @@ | |||
if(res[0].merge==0){ | |||
let newobj = res[0]; | |||
uni.navigateTo({ | |||
url: `/pages/main/learning/Thefulltext/index2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(itemobjhh)}&stateisshow=${'2'}` | |||
url: `/pages/learning/Thefulltext/index2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(itemobjhh)}&stateisshow=${'2'}` | |||
}) | |||
}else{ | |||
let newobj = res[0]; | |||
uni.navigateTo({ | |||
url: `/pages/main/learning/Thefulltext/index1?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(itemobjhh)}&stateisshow=${'2'}` | |||
url: `/pages/learning/Thefulltext/index1?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(itemobjhh)}&stateisshow=${'2'}` | |||
}) | |||
} | |||
}) | |||
@@ -211,6 +211,7 @@ | |||
num: 0, //上拉 转写文件下标 | |||
Bnum: 0, //下拉 转写文件下标 | |||
itemobj:{}, | |||
buildingID:'' | |||
}; | |||
}, | |||
onLoad: function(options) { | |||
@@ -220,6 +221,7 @@ | |||
this.stateisshow=options.stateisshow; | |||
}, | |||
onShow() { | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | |||
if (this.userInfo.dataCode == 6) { | |||
this.jiaoseshow = false | |||
@@ -496,7 +498,7 @@ | |||
if (res.confirm) { | |||
console.log('用户点击确定'); | |||
uni.request({ | |||
url: config.service.delATD + "?carId=" + that.customerId, | |||
url: config.service.delATD + "?carId=" + that.customerId+'&itemId='+that.buildingID, | |||
method: "GET", | |||
header: { | |||
'content-type': 'application/json', | |||
@@ -535,7 +537,8 @@ | |||
console.log('用户点击确定'); | |||
let objdata = { | |||
"carId": that.customerId, //客户id | |||
"status": 0 | |||
"status": 0, | |||
"itemId":that.buildingID, | |||
} | |||
uni.request({ | |||
url: config.service.addATD, | |||
@@ -643,13 +646,23 @@ | |||
Addtheessence() { | |||
this.isshow3 = true; | |||
this.biaoqianlist = [] | |||
util.getRequestPromise(config.service.findAllYi, {}, false).then(data => { | |||
let parames={ | |||
"itemId":this.buildingID | |||
} | |||
this.$u.post("/addtodigest/findAllYi", parames).then(data => { | |||
this.biaoqianlist = data | |||
this.biaoqianlist.unshift({ | |||
name: "逼单话术", | |||
id: 0 | |||
}) | |||
}); | |||
}) | |||
// util.getRequestPromise(config.service.findAllYi, {"itemId":this.buildingID}, false).then(data => { | |||
// this.biaoqianlist = data | |||
// this.biaoqianlist.unshift({ | |||
// name: "逼单话术", | |||
// id: 0 | |||
// }) | |||
// }); | |||
}, | |||
// 取消加精 | |||
Cancelout2() { | |||
@@ -674,6 +687,7 @@ | |||
}) | |||
}) | |||
let objdata = { | |||
"itemId":this.buildingID, | |||
"carId": this.customerId, //客户id | |||
"startTime": this.changanitem.bg, //开始时间 | |||
"startFile": this.duihuawenjianid, //对话所在录音文件id | |||
@@ -9,11 +9,11 @@ | |||
<image v-if="status==0" @click="notappick()" src="../../static/images/nopike.png" mode=""></image> | |||
</view> | |||
</view> | |||
<view class="inputbox" v-if="guanjianciishow"> | |||
<!-- <view class="inputbox" v-if="guanjianciishow"> | |||
<view class="thisinput" @click="toKeywordsearch()"> | |||
请输入或选择 | |||
</view> | |||
</view> | |||
</view> --> | |||
<!-- 标记顾问 --> | |||
<view class="headboxbott"> | |||
<view class="headovfu"> | |||
@@ -370,6 +370,7 @@ | |||
Pinspeak:false, | |||
intention:false, | |||
yixingindex:0,//意向,统计切换 | |||
buildingID:'' | |||
}; | |||
}, | |||
onLoad: function(options) { | |||
@@ -379,6 +380,7 @@ | |||
this.stateisshow=options.stateisshow; | |||
}, | |||
onShow() { | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | |||
if (this.userInfo.dataCode == 6) { | |||
this.jiaoseshow = false | |||
@@ -509,7 +511,13 @@ | |||
} | |||
}, | |||
guanjiancishifo(){ | |||
this.guanjianciishow=!this.guanjianciishow; | |||
// this.guanjianciishow=!this.guanjianciishow; | |||
this.innerAudioContext.destroy(); | |||
this.stateisshow=1; | |||
uni.navigateTo({ | |||
url: '/pages/learning/Keywordsearch?customerId='+this.customerId +"&status="+this.status +"&skpl="+"1" | |||
}) | |||
}, | |||
//标记选择角色 | |||
biaojixuanze(index){ | |||
@@ -815,7 +823,7 @@ | |||
if (res.confirm) { | |||
console.log('用户点击确定'); | |||
uni.request({ | |||
url: config.service.delATD + "?carId=" + that.customerId, | |||
url: config.service.delATD + "?carId=" + that.customerId+'&itemId='+that.buildingID, | |||
method: "GET", | |||
header: { | |||
'content-type': 'application/json', | |||
@@ -854,7 +862,8 @@ | |||
console.log('用户点击确定'); | |||
let objdata = { | |||
"carId": that.customerId, //客户id | |||
"status": 0 | |||
"status": 0, | |||
"itemId":that.buildingID, | |||
} | |||
uni.request({ | |||
url: config.service.addATD, | |||
@@ -962,13 +971,23 @@ | |||
Addtheessence() { | |||
this.isshow3 = true; | |||
this.biaoqianlist = [] | |||
util.getRequestPromise(config.service.findAllYi, {}, false).then(data => { | |||
let parames={ | |||
"itemId":this.buildingID | |||
} | |||
this.$u.post("/addtodigest/findAllYi", parames).then(data => { | |||
this.biaoqianlist = data | |||
this.biaoqianlist.unshift({ | |||
name: "逼单话术", | |||
id: 0 | |||
}) | |||
}); | |||
}) | |||
// util.getRequestPromise(config.service.findAllYi, {"itemId":this.buildingID}, false).then(data => { | |||
// this.biaoqianlist = data | |||
// this.biaoqianlist.unshift({ | |||
// name: "逼单话术", | |||
// id: 0 | |||
// }) | |||
// }); | |||
}, | |||
// 取消加精 | |||
Cancelout2() { | |||
@@ -993,6 +1012,7 @@ | |||
}) | |||
}) | |||
let objdata = { | |||
"itemId":this.buildingID, | |||
"carId": this.customerId, //客户id | |||
"startTime": this.changanitem.bg, //开始时间 | |||
"startFile": this.duihuawenjianid, //对话所在录音文件id | |||