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