|
|
@@ -241,9 +241,9 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="pingfenbox"> |
|
|
|
<view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%</view> |
|
|
|
<view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate||0}}%</view> |
|
|
|
<view v-if="methodsisshow==true" :class="{ activecllasscet: zhixingcenterindex == 1 }" @click="recordclick(1)">禁忌执行</view> |
|
|
|
<view :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="recordclick(2)">需求挖掘率</view> |
|
|
|
<view :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="recordclick(2)">需求挖掘率{{KeyWordsfraction||0}}%</view> |
|
|
|
</view> |
|
|
|
<view v-if="zhixingcenterindex == 0" class="cenisbox"> |
|
|
|
<view |
|
|
@@ -253,7 +253,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="Level-box" v-for="(item,index) in ratelist" :key="index"> |
|
|
|
<view class="Level1che" @click="changeshow(item,1)"> |
|
|
|
<view class="Level1che" @click="item.show = !item.show"> |
|
|
|
<view class="title1">{{item.name.substring(0,8)}}</view> |
|
|
|
<view class="leve1-jindu"> |
|
|
|
<view class="jindutiao"> |
|
|
@@ -267,7 +267,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i"> |
|
|
|
<view class="Level2che" @click="changeshow2(subitem,1)"> |
|
|
|
<view class="Level2che" @click="item.show = !item.show"> |
|
|
|
<view class="title1">{{subitem.name.substring(0,8)}}</view> |
|
|
|
<view class="leve1-jindu"> |
|
|
|
<view class="zhixing" v-if="!subitem.selected">已执行</view> |
|
|
@@ -310,7 +310,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="Level-box" v-for="(item,index) in KeyWordsfractionList" :key="index"> |
|
|
|
<view class="Level1che" @click="changeshow(item,1)"> |
|
|
|
<view class="Level1che" @click="item.show = !item.show"> |
|
|
|
<view class="title1">{{item.name}}</view> |
|
|
|
<view class="leve1-jindu"> |
|
|
|
<view class="jindutiao"> |
|
|
@@ -342,7 +342,7 @@ |
|
|
|
<!-- 话术在二级下 --> |
|
|
|
<view v-if="item.showLevel==2"> |
|
|
|
<view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i"> |
|
|
|
<view class="Level2che" @click="changeshow2(subitem,1)"> |
|
|
|
<view class="Level2che" @click="item.show = !item.show"> |
|
|
|
<view class="title1 u-line-1">{{subitem.name}}</view> |
|
|
|
<view class="leve1-jindu"> |
|
|
|
<view class="zhixing" v-if="!subitem.selected">已执行</view> |
|
|
@@ -515,6 +515,7 @@ |
|
|
|
|
|
|
|
data() { |
|
|
|
return { |
|
|
|
KeyWordsfraction: 0, |
|
|
|
KeyWordsfractionList: [], |
|
|
|
noClick: true, |
|
|
|
kehuyixiangcenterindex: 0, |
|
|
@@ -1119,7 +1120,6 @@ |
|
|
|
} else { |
|
|
|
tempRoleIndex = this.roleindex |
|
|
|
} |
|
|
|
console.log() |
|
|
|
uni.request({ |
|
|
|
url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id + |
|
|
|
"&bg=" + bgcd + "&speaker=" + tempRoleIndex + "&voFlag=" + voFlagValue + |
|
|
@@ -1575,7 +1575,6 @@ |
|
|
|
this.messagelisy = this.dialogList[i].message |
|
|
|
this.argtextindex1 = i; |
|
|
|
this.argtextindex2 = index; |
|
|
|
|
|
|
|
}, |
|
|
|
//回到顶部 |
|
|
|
gotoTop() { |
|
|
@@ -1584,28 +1583,14 @@ |
|
|
|
this.scrollId = "top"; |
|
|
|
}) |
|
|
|
}, |
|
|
|
//切换tab |
|
|
|
changeTab(type) { |
|
|
|
if (type == 0) { |
|
|
|
this.tab = 0 |
|
|
|
} else { |
|
|
|
this.tab = 1; |
|
|
|
this.getRatelist(); |
|
|
|
} |
|
|
|
}, |
|
|
|
//评分上下显隐 |
|
|
|
changeshow(item, type) { |
|
|
|
item.show = !item.show; |
|
|
|
}, |
|
|
|
changeshow2(item, type) { |
|
|
|
item.show = !item.show; |
|
|
|
}, |
|
|
|
// 客户详情需求挖掘话术 |
|
|
|
getfindKeyWordsBycusId() { |
|
|
|
this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => { |
|
|
|
console.log(res) |
|
|
|
// console.log(res) |
|
|
|
if(res.length){ |
|
|
|
this.KeyWordsfraction = 0 |
|
|
|
res.forEach(item=>{ |
|
|
|
this.KeyWordsfraction += +item.fraction // 总执行率 |
|
|
|
item.show = false |
|
|
|
item.children.forEach(obj=>{ |
|
|
|
obj.show = false |
|
|
|