lancer 3 年之前
父節點
當前提交
b66e5ece33
共有 7 個文件被更改,包括 35 次插入19 次删除
  1. +3
    -3
      config.js
  2. +1
    -1
      pages/center/Piabodata/TrendAnalysis.vue
  3. +2
    -2
      pages/center/consumer/consumerDetail.vue
  4. +7
    -1
      pages/center/consumer/edit.vue
  5. +17
    -8
      pages/index/index.vue
  6. +2
    -1
      pages/mine/details2.vue
  7. +3
    -3
      utils/http.js

+ 3
- 3
config.js 查看文件

@@ -4,10 +4,10 @@
// 此处主机域名修改成腾讯云解决方案分配的域名
// 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.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 = '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的后端地址正式


+ 1
- 1
pages/center/Piabodata/TrendAnalysis.vue 查看文件

@@ -545,7 +545,7 @@
this.guwenshow = false;
this.Selectlevel = false;
this.Selecttuandui = false;
this.tableDate=[]
this.pamect.showStatus = 0;
this.pamect.timeType = "4";
this.pamect.firstStartDate = '';


+ 2
- 2
pages/center/consumer/consumerDetail.vue 查看文件

@@ -22,8 +22,8 @@
</view> -->
</view>
<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 class="content-sec-lab">
客户标签:


+ 7
- 1
pages/center/consumer/edit.vue 查看文件

@@ -46,7 +46,7 @@
</view>
</view>
<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 class="conmsg-msg-lab">
@@ -163,6 +163,7 @@
soure:'',
},
levelshow:false,
customerId:'',
// 等级
@@ -185,6 +186,7 @@
},
],
allList:[],
dataCode:''
// stagelist:[],
// // 置业需求
// demandlist:[],
@@ -199,6 +201,10 @@
}
},
onLoad(e) {
const {
dataCode
} = uni.getStorageSync("weapp_session_userInfo_data");
this.dataCode=dataCode
console.log(e)
// 先调用借口查询数据
this.customerId=e.id


+ 17
- 8
pages/index/index.vue 查看文件

@@ -89,14 +89,16 @@
<view class="realnum">{{realtimeobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
</view>
<view class="real">
<view class="realnum">{{realtimeobj.sumCustomer|| 0}}</view>
<view class="realtext">接待客户</view>
</view>
<view class="real">
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view>
<view class="realtext">正在接待</view>
</view>
<view class="real">
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
<view class="realtext">未标顾问</view>
</view>


</view>
@@ -106,13 +108,14 @@
<view class="realtext">接待时长</view>
</view>
<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 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>

@@ -134,6 +137,10 @@
<view class="realnum">{{Thisweekobj.sumDuration || 0}}</view>
<view class="realtext">录音时长</view>
</view>
<view class="real">
<view class="realnum">{{Thisweekobj.avgDuration|| 0}}</view>
<view class="realtext">平均接待时长</view>
</view>
</view>
</view>
@@ -285,6 +292,7 @@
receivingCustomer: data.data.data.receivingCustomer,
activeCustomer: data.data.data.activeCustomer,
sumDuration: Math.floor(data.data.data.sumDuration/60) ||0,
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
tagCustomer: data.data.data.tagCustomer,
fraction: data.data.data.fraction,
receptionCount:data.data.data.receptionCount
@@ -314,6 +322,7 @@
receivingCustomer: data.data.data.receivingCustomer,
activeCustomer: data.data.data.activeCustomer,
sumDuration:Math.floor(data.data.data.sumDuration/60) || 0,
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
tagCustomer: data.data.data.tagCustomer,
fraction: data.data.data.fraction,
receptionCount:data.data.data.receptionCount


+ 2
- 1
pages/mine/details2.vue 查看文件

@@ -418,10 +418,11 @@
var info =this.itemobj;
}else{
var pages = getCurrentPages();
console.log(pages,'当前页面栈信息')
var currPage = pages[pages.length - 1]; //当前页面
var info = currPage.data.info;
}
// console.log(info)
this.innerAudioContext = uni.createInnerAudioContext();
this.innerAudioContext.autoplay = false;
this.innerAudioContext.title = '音频';


+ 3
- 3
utils/http.js 查看文件

@@ -1,10 +1,10 @@

// 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.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 = '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) => {
Vue.prototype.$u.http.setConfig({


Loading…
取消
儲存