|
|
@@ -137,6 +137,7 @@ |
|
|
|
<view class="ratecenter" v-if="activeTotal==2"> |
|
|
|
<view class="boxtittabs"> |
|
|
|
<div class="items" @tap="showTemplate = true">销讲业务:{{ showBeText }}</div> |
|
|
|
<div class="items">销讲执行:{{ totalRate||0 }}%</div> |
|
|
|
</view> |
|
|
|
<view |
|
|
|
style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;"> |
|
|
@@ -409,13 +410,13 @@ |
|
|
|
agentName: '' |
|
|
|
}, |
|
|
|
Thevisitingrecords: [], |
|
|
|
totalRate: [], |
|
|
|
totalRate: "", // 销讲执行百分比 |
|
|
|
ratelist: [], |
|
|
|
fllowList: [], |
|
|
|
KeyWordsfractionList: [], //需求挖掘话术list |
|
|
|
userInfo: {}, |
|
|
|
buttonisshow: false, |
|
|
|
|
|
|
|
|
|
|
|
showBeText: '全部业务', // |
|
|
|
templateList: [], // 销讲业务 |
|
|
|
showTemplate: false, // 展示选择销讲业务弹窗 |
|
|
@@ -444,7 +445,7 @@ |
|
|
|
this.tabtimetap(0) |
|
|
|
this.getMarketingBusiness() |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
|
|
// 销讲业务方法 |
|
|
@@ -530,7 +531,7 @@ |
|
|
|
} |
|
|
|
if (item.children && item.children.length) { |
|
|
|
item.children.forEach((obj, i) => { |
|
|
|
obj.show = false; |
|
|
|
obj.show = false; |
|
|
|
if (i == 0 && index == 0) { |
|
|
|
obj.show = true; |
|
|
|
} |
|
|
@@ -714,9 +715,13 @@ |
|
|
|
ratepercent: 0, |
|
|
|
children: [] |
|
|
|
}) |
|
|
|
} else { |
|
|
|
if (item.selected == 0) { |
|
|
|
level2rate += item.fraction |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
// this.totalRate = level2rate; |
|
|
|
this.totalRate = level2rate; |
|
|
|
res.forEach(subitem => { |
|
|
|
let subitempid = subitem.pid |
|
|
|
level1.forEach(item => { |
|
|
@@ -774,8 +779,11 @@ |
|
|
|
|
|
|
|
.items { |
|
|
|
padding: 0 24rpx; |
|
|
|
width: 100%; |
|
|
|
width: 50%; |
|
|
|
height: 100%; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
overflow: hidden; |
|
|
|
white-space: nowrap; |
|
|
|
text-overflow: ellipsis; |
|
|
|