diff --git a/pages/center/Piabodata/Customerportrait/Detailsofthesearch.vue b/pages/center/Piabodata/Customerportrait/Detailsofthesearch.vue index 8fe8130..93bc6c7 100644 --- a/pages/center/Piabodata/Customerportrait/Detailsofthesearch.vue +++ b/pages/center/Piabodata/Customerportrait/Detailsofthesearch.vue @@ -23,7 +23,7 @@ - + - + @@ -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, diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue index 9652f0f..4db71a4 100644 --- a/pages/center/consumer/consumerDetail.vue +++ b/pages/center/consumer/consumerDetail.vue @@ -4,7 +4,13 @@ - {{customerInfo.name.slice(0,1) || '--'}} + + A + B + C + D + + {{customerInfo.name || '--'}} @@ -33,7 +39,7 @@ {{customerInfo.visitRecord || '--'}}次到访 - {{customerInfo.fraction || '0'}}% | {{customerInfo.fraction || '0'}}分 + {{customerInfo.fraction || '0'}}% | {{customerInfo.mm || '0'}}分 @@ -70,9 +76,14 @@ - {{item.agentName.slice(0,1) || '--'}} + + A + B + C + D + {{item.agentName || '--'}} - 代接待 + 代接待 - + - {{item.name.slice(0,1)}} + + A + B + C + D + {{item.name}} @@ -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; } diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue index e630270..11d09ca 100644 --- a/pages/center/consumer/index.vue +++ b/pages/center/consumer/index.vue @@ -26,7 +26,12 @@ - {{item.name.slice(0,1)}} + + A + B + C + D + {{item.name}} {{item.agentName}} - 代接待 + 代接待 {{item.agentName}} - 代接待 + 代接待 {{item.name}} @@ -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", diff --git a/pages/index/index.vue b/pages/index/index.vue index 609e846..ee56864 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -111,8 +111,8 @@ 平均执行率 - {{realtimeobj.fraction || 0}} - 平均得分 + @@ -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