Browse Source

调试接待记录

newyun
corala 1 year ago
parent
commit
ae070acc34
7 changed files with 18 additions and 53 deletions
  1. +1
    -1
      manifest.json
  2. +6
    -15
      pages/center/consumer/consumerDetail.vue
  3. +0
    -2
      pages/center/prohibited/details.vue
  4. +0
    -1
      pages/center/records/index.vue
  5. +3
    -24
      pages/index/consumer/index.vue
  6. +3
    -5
      pages/index/index.vue
  7. +5
    -5
      pages/mine/details2.vue

+ 1
- 1
manifest.json View File

@@ -82,7 +82,7 @@
"usingComponents" : true,
"permission" : {},
"requiredBackgroundModes" : [ "audio" ],
"lazyCodeLoading": "requiredComponents",
"lazyCodeLoading" : "requiredComponents",
"plugins" : {
"WechatSI" : {
"version" : "0.3.4",


+ 6
- 15
pages/center/consumer/consumerDetail.vue View File

@@ -222,7 +222,7 @@
<view v-if="KeyWordsfractionList.length">
<view class="top-box">
<view style="width:50%;text-align:center">挖掘执行:{{customerInfo.wordFraction||0}}%</view>
<view style="width:50%;text-align:center">挖掘成功:{{percent||0}}%</view>
<view style="width:50%;text-align:center">挖掘成功:{{customerInfo.wordFinishFraction||0}}%</view>
</view>
<view style="
width: 100%;
@@ -441,14 +441,6 @@
})
}
},
// 计算挖掘执行的完成率
getPercent() {
let countArr = this.KeyWordsfractionList.filter(item => item.selected == 0)
// console.log(countArr)
this.percent = (countArr.length / this.KeyWordsfractionList.length) * 100
this.percent = this.percent.toFixed(0)

},
//挖掘率话术客户标签展示
getKeywordsList(list) {
let keywords = [];
@@ -485,7 +477,6 @@
}
});
this.KeyWordsfractionList = res;
this.getPercent()
} else {
this.KeyWordsfractionList = [];
}
@@ -525,12 +516,12 @@
this.getfindKeyWordsBycusId()
}
},
tapThevisiting(item) {
tapThevisiting(_item) {
uni.showLoading({
title: '加载中',
mask: true
});
if (item.yon != 0) {
if (_item.yon != 0) {
setTimeout(function() {
uni.hideLoading();
}, 2000);
@@ -545,12 +536,12 @@
pageNum: 1,
pageSize: 100,
query: {
customerId: item.id,
customerId: _item.id,
}
}
var item = {
bg: 0,
customerId: item.id,
customerId: _item.id,
id: ''
}
uni.setStorageSync("entrance", 1); //写入缓存
@@ -569,7 +560,7 @@
if (res[0].merge == 0) {
let newobj = res[0];
uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}&wordFraction=${_item.wordFraction}`
})
} else {
let newobj = res[0];


+ 0
- 2
pages/center/prohibited/details.vue View File

@@ -108,14 +108,12 @@
:data-speaker="item.speaker">
<view class="avatar">
<view :style="[SPEAKERSTYLE(item.speaker)]">
<!-- <image v-if="item.isShow == 0" :src="Aimg" mode="widthFix"></image> -->
<text v-if="item.isShow == 0">顾</text>
<text v-else>{{ item.speaker | toCapital }}</text>
</view>
</view>
<view class="contentInfo">
<view class="info">
<!-- <text class="AudioUserName">{{ item.speaker | toCapital }}</text> -->
<text class="AudioUserName" v-if="item.isShow == 0">{{ item.username }}</text>
<text class="AudioUserName" v-else>{{ item.speaker | toCapital }}</text>
<text>{{conversionTiame(item.bg/1000)}}</text>


+ 0
- 1
pages/center/records/index.vue View File

@@ -693,7 +693,6 @@
this.recordList = list;
}else{
this.recordList = [].concat(this.recordList,list)
// [...this.recordList, ...list];
}
this.totalRecord = data.pages;
this.totalRecords = data.total;


+ 3
- 24
pages/index/consumer/index.vue View File

@@ -69,15 +69,6 @@
<view class="content-sec-lab">
负责顾问:<view class="content-sec-lab1">{{item.agentName || ''}}</view>
</view>
<!-- <view class="content-sec-lab" style="line-height: 46rpx;">
客户意向:
<text v-if="item.demand.cusSemanticWordsList==null">暂无</text>
<template v-else>
<block v-for="(che,ind) in item.demand.cusSemanticWordsList" :key='ind'>
<view class="content-sec-tips" v-if="ind<=3">{{che.name}}</view>
</block>
</template>
</view> -->
<view class="content-sec-lab">
<view class="u-flex" style="flex:1">
挖掘执行:<view class="content-sec-lab1">{{item.wordFraction||0}}%</view>
@@ -826,7 +817,7 @@
this.$u.post("/customer/customerManagement", parames)
.then((data) => {
this.LOADING = false;
var list = data.results || [];
var list = data.records || [];
list.forEach((item) => {
if (this.userInfo.dataCode == 6) {
item.isshow = true;
@@ -834,25 +825,13 @@
item.isshow = false;
}
});

list.forEach((item) => {
if (item.demand.cusSemanticWordsList != null) {
item.demand.cusSemanticWordsList.forEach((che) => {
if (che.isInterval == 0) {
che.name = che.name + che.unit + "-" + che.endName + che.unit;
}
});
} else {
item.demand.cusSemanticWordsList = []
}
});
if (this.isRefresh) {
this.recordList = list;
} else {
this.recordList = [...this.recordList, ...list];
}
this.totalRecord = data.totalPage;
this.totalRecords = data.totalRecord;
this.totalRecord = data.pages;
this.totalRecords = data.total;
})
.catch((e) => {
this.LOADING = false;


+ 3
- 5
pages/index/index.vue View File

@@ -94,8 +94,7 @@
<!-- 今日工作 -->
<view class="contbox" v-if="permissions.shishinum">
<view class="title">
<image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png"
mode="" />今日工作
<image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" mode="" />今日工作
</view>
<view class="real-timebox">
<view class="timebox">
@@ -107,7 +106,7 @@
<view class="realtext">平均执行率</view>
</view>
<view class="real">
<view class="realnum">{{realtimeobj.avgDuration|| 0}}</view>
<view class="realnum">{{realtimeobj.wordFraction|| 0}}</view>
<view class="realtext">平均挖掘率</view>
</view>
<view class="real" @click="tapjumpreception('11')">
@@ -163,14 +162,13 @@
<view class="realtext">平均执行率</view>
</view>
<view class="real">
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view>
<view class="realnum">{{Thisweekobj.wordFraction || 0}}</view>
<view class="realtext">平均挖掘率</view>
</view>
<view class="real" @click="tapjumpreception('33')">
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
</view>
</view>
<view class="timebox" style="margin-bottom:0;">
<view class="real" @click="tapjumpreception('7')">


+ 5
- 5
pages/mine/details2.vue View File

@@ -358,7 +358,7 @@
<!-- 需求挖掘率 -->
<view v-if="zhixingcenterindex == 2" class="cenisbox">
<view class="top-box">
<view style="width:50%;text-align:center">挖掘执行:{{KeyWordsfraction||0}}%</view>
<view style="width:50%;text-align:center">挖掘执行:{{wordFraction||0}}%</view>
<view style="width:50%;text-align:center">挖掘成功:{{percent||0}}%</view>
</view>
<view
@@ -504,7 +504,6 @@
</view>
</view>
</view>
<!-- @click="Edittag(item,chend,index,i)" -->
<view class="cenisbox" v-if="kehuyixiangcenterindex==1">
<view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
v-if="Acquirecustomerintentlist2.length==0">
@@ -595,7 +594,6 @@
data() {
return {
KeyWordsfractionList: [],
KeyWordsfraction: 0,
customStyle: {
'width': '320rpx',
'font-size': '34rpx',
@@ -709,6 +707,8 @@
refined: false, // 多选加精;
nowPlaying: 0, // 当前播放位置
stepPosition: 0, // 需要跳转的播放位置
percent: 0,// 挖掘成功
wordFraction: 0,// 挖掘执行
};
},
computed: {
@@ -726,7 +726,7 @@
this.customerId = options.customerId;
this.itemobj = uni.getStorageSync('searchobj');
this.stateisshow = options.stateisshow;
this.KeyWordsfraction = options.wordFraction == 'undefined' ? 0 : options.wordFraction;
this.wordFraction = options.wordFraction == 'undefined' ? 0 : options.wordFraction;

this.$zaudio.autoPlay = true
if (options.refresh) this.refresh = options.refresh
@@ -819,7 +819,7 @@
}
return keywords.join(",");
},
// 计算挖掘执行的完成率
// // 计算挖掘执行的完成率
getPercent() {
let countArr = this.KeyWordsfractionList.filter(item => item.selected == 0)
this.percent = (countArr.length / this.KeyWordsfractionList.length) * 100


Loading…
Cancel
Save