@@ -4,10 +4,10 @@ | |||||
// 此处主机域名修改成腾讯云解决方案分配的域名 | // 此处主机域名修改成腾讯云解决方案分配的域名 | ||||
// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | // var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | ||||
// var host = 'http://192.168.31.163:8080/autoSR/api'; // 长龙 | // var host = 'http://192.168.31.163:8080/autoSR/api'; // 长龙 | ||||
// var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 | |||||
var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 | |||||
// var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | // var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | ||||
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
var host = 'https://hfju.com/api'; // 数智正式 | |||||
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
// var host = 'https://hfju.com/api'; // 数智正式 | |||||
var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 | var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 | ||||
@@ -545,7 +545,7 @@ | |||||
this.guwenshow = false; | this.guwenshow = false; | ||||
this.Selectlevel = false; | this.Selectlevel = false; | ||||
this.Selecttuandui = false; | this.Selecttuandui = false; | ||||
this.tableDate=[] | |||||
this.pamect.showStatus = 0; | this.pamect.showStatus = 0; | ||||
this.pamect.timeType = "4"; | this.pamect.timeType = "4"; | ||||
this.pamect.firstStartDate = ''; | this.pamect.firstStartDate = ''; | ||||
@@ -22,8 +22,8 @@ | |||||
</view> --> | </view> --> | ||||
</view> | </view> | ||||
<view class="content-sec"> | <view class="content-sec"> | ||||
<view class="content-sec-lab"> | |||||
手机号码:<view class="content-sec-lab1">{{customerInfo.phone || '--'}}</view> | |||||
<view class="content-sec-lab"> | |||||
手机号码:<view class="content-sec-lab1">{{customerInfo.phone&&customerInfo.isShow==1?customerInfo.phone.substr(0, 3) + '****' + customerInfo.phone.substr(7):customerInfo.phone&&customerInfo.isShow!=1?customerInfo.phone: '--'}}</view> | |||||
</view> | </view> | ||||
<view class="content-sec-lab"> | <view class="content-sec-lab"> | ||||
客户标签: | 客户标签: | ||||
@@ -46,7 +46,7 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="conmsg-msg-lab-inp"> | <view class="conmsg-msg-lab-inp"> | ||||
<input type="number" placeholder="请输入联系电话" placeholder-style="color:#B2B2B2;" maxlength="11" v-model="form.phone"/> | |||||
<input :disabled="dataCode!=6" type="number" placeholder="请输入联系电话" placeholder-style="color:#B2B2B2;" maxlength="11" v-model="form.phone"/> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="conmsg-msg-lab"> | <view class="conmsg-msg-lab"> | ||||
@@ -163,6 +163,7 @@ | |||||
soure:'', | soure:'', | ||||
}, | }, | ||||
levelshow:false, | levelshow:false, | ||||
customerId:'', | customerId:'', | ||||
// 等级 | // 等级 | ||||
@@ -185,6 +186,7 @@ | |||||
}, | }, | ||||
], | ], | ||||
allList:[], | allList:[], | ||||
dataCode:'' | |||||
// stagelist:[], | // stagelist:[], | ||||
// // 置业需求 | // // 置业需求 | ||||
// demandlist:[], | // demandlist:[], | ||||
@@ -199,6 +201,10 @@ | |||||
} | } | ||||
}, | }, | ||||
onLoad(e) { | onLoad(e) { | ||||
const { | |||||
dataCode | |||||
} = uni.getStorageSync("weapp_session_userInfo_data"); | |||||
this.dataCode=dataCode | |||||
console.log(e) | console.log(e) | ||||
// 先调用借口查询数据 | // 先调用借口查询数据 | ||||
this.customerId=e.id | this.customerId=e.id | ||||
@@ -89,14 +89,16 @@ | |||||
<view class="realnum">{{realtimeobj.receptionCount || 0}}</view> | <view class="realnum">{{realtimeobj.receptionCount || 0}}</view> | ||||
<view class="realtext">接待量</view> | <view class="realtext">接待量</view> | ||||
</view> | </view> | ||||
<view class="real"> | |||||
<view class="realnum">{{realtimeobj.sumCustomer|| 0}}</view> | |||||
<view class="realtext">接待客户</view> | |||||
</view> | |||||
<view class="real"> | <view class="real"> | ||||
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view> | <view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view> | ||||
<view class="realtext">正在接待</view> | <view class="realtext">正在接待</view> | ||||
</view> | </view> | ||||
<view class="real"> | |||||
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view> | |||||
<view class="realtext">未标顾问</view> | |||||
</view> | |||||
</view> | </view> | ||||
@@ -106,13 +108,14 @@ | |||||
<view class="realtext">接待时长</view> | <view class="realtext">接待时长</view> | ||||
</view> | </view> | ||||
<view class="real"> | <view class="real"> | ||||
<view class="realnum">{{realtimeobj.fraction || 0}}%</view> | |||||
<view class="realtext">平均执行率</view> | |||||
<view class="realnum">{{realtimeobj.avgDuration|| 0}}</view> | |||||
<view class="realtext">平均接待时长</view> | |||||
</view> | </view> | ||||
<view class="real"> | <view class="real"> | ||||
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view> | |||||
<view class="realtext">未标顾问</view> | |||||
<view class="realnum">{{realtimeobj.fraction || 0}}%</view> | |||||
<view class="realtext">平均执行率</view> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -134,6 +137,10 @@ | |||||
<view class="realnum">{{Thisweekobj.sumDuration || 0}}</view> | <view class="realnum">{{Thisweekobj.sumDuration || 0}}</view> | ||||
<view class="realtext">录音时长</view> | <view class="realtext">录音时长</view> | ||||
</view> | </view> | ||||
<view class="real"> | |||||
<view class="realnum">{{Thisweekobj.avgDuration|| 0}}</view> | |||||
<view class="realtext">平均接待时长</view> | |||||
</view> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -285,6 +292,7 @@ | |||||
receivingCustomer: data.data.data.receivingCustomer, | receivingCustomer: data.data.data.receivingCustomer, | ||||
activeCustomer: data.data.data.activeCustomer, | activeCustomer: data.data.data.activeCustomer, | ||||
sumDuration: Math.floor(data.data.data.sumDuration/60) ||0, | sumDuration: Math.floor(data.data.data.sumDuration/60) ||0, | ||||
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0, | |||||
tagCustomer: data.data.data.tagCustomer, | tagCustomer: data.data.data.tagCustomer, | ||||
fraction: data.data.data.fraction, | fraction: data.data.data.fraction, | ||||
receptionCount:data.data.data.receptionCount | receptionCount:data.data.data.receptionCount | ||||
@@ -314,6 +322,7 @@ | |||||
receivingCustomer: data.data.data.receivingCustomer, | receivingCustomer: data.data.data.receivingCustomer, | ||||
activeCustomer: data.data.data.activeCustomer, | activeCustomer: data.data.data.activeCustomer, | ||||
sumDuration:Math.floor(data.data.data.sumDuration/60) || 0, | sumDuration:Math.floor(data.data.data.sumDuration/60) || 0, | ||||
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0, | |||||
tagCustomer: data.data.data.tagCustomer, | tagCustomer: data.data.data.tagCustomer, | ||||
fraction: data.data.data.fraction, | fraction: data.data.data.fraction, | ||||
receptionCount:data.data.data.receptionCount | receptionCount:data.data.data.receptionCount | ||||
@@ -418,10 +418,11 @@ | |||||
var info =this.itemobj; | var info =this.itemobj; | ||||
}else{ | }else{ | ||||
var pages = getCurrentPages(); | var pages = getCurrentPages(); | ||||
console.log(pages,'当前页面栈信息') | |||||
var currPage = pages[pages.length - 1]; //当前页面 | var currPage = pages[pages.length - 1]; //当前页面 | ||||
var info = currPage.data.info; | var info = currPage.data.info; | ||||
} | } | ||||
// console.log(info) | |||||
this.innerAudioContext = uni.createInnerAudioContext(); | this.innerAudioContext = uni.createInnerAudioContext(); | ||||
this.innerAudioContext.autoplay = false; | this.innerAudioContext.autoplay = false; | ||||
this.innerAudioContext.title = '音频'; | this.innerAudioContext.title = '音频'; | ||||
@@ -1,10 +1,10 @@ | |||||
// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | // const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | ||||
// const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 | // const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 | ||||
// const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 | |||||
const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 | |||||
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | ||||
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
const baseUrl = 'https://hfju.com/api'; // 数智正式 | |||||
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
// const baseUrl = 'https://hfju.com/api'; // 数智正式 | |||||
const install = (Vue, vm) => { | const install = (Vue, vm) => { | ||||
Vue.prototype.$u.http.setConfig({ | Vue.prototype.$u.http.setConfig({ | ||||