|
|
@@ -52,11 +52,16 @@ |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
|
<text>平均执行率:</text> |
|
|
|
<text v-if="!weekObj.orgCode">平均执行率:</text> |
|
|
|
<text v-else>销讲执行率:</text> |
|
|
|
</view> |
|
|
|
<view class="r-box"> |
|
|
|
<view class="r-box-item-lang"> |
|
|
|
<view>平均执行率<text class="value">{{ weekObj.fraction || 0 }}%</text></view> |
|
|
|
<view> |
|
|
|
<text v-if="!weekObj.orgCode">平均执行率:</text> |
|
|
|
<text v-else>销讲执行率:</text> |
|
|
|
<text class="value">{{ weekObj.fraction || 0 }}%</text> |
|
|
|
</view> |
|
|
|
<view class="contrast">对比昨天<text class="value" |
|
|
|
:class="{down: weekObj.fractionPK < 0, up: weekObj.fractionPK > 0}">{{ weekObj.fractionPK > 0 ? '+' : '' }}{{ weekObj.fractionPK || 0 }}%</text> |
|
|
|
</view> |
|
|
@@ -90,7 +95,8 @@ |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
|
<text>销讲维度执行前三:</text> |
|
|
|
<text v-if="!weekObj.orgCode">销讲维度执行前三:</text> |
|
|
|
<text v-else>项目平均执行率排名:</text> |
|
|
|
</view> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in carryOutTop" :key="rankIndex"> |
|
|
@@ -121,7 +127,8 @@ |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
|
<text>销讲维度执行弱项前三:</text> |
|
|
|
<text v-if="!weekObj.orgCode">销讲维度执行弱项前三:</text> |
|
|
|
<text v-else>项目平均接访时长排名:</text> |
|
|
|
</view> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in carryOutLast" :key="rankIndex"> |
|
|
@@ -146,7 +153,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index6"> |
|
|
|
<view class="arrs-items index6" v-if="!weekObj.orgCode"> |
|
|
|
<view class="left"> |
|
|
|
6 |
|
|
|
</view> |
|
|
@@ -177,7 +184,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index7"> |
|
|
|
<view class="arrs-items index7" v-if="!weekObj.orgCode"> |
|
|
|
<view class="left"> |
|
|
|
7 |
|
|
|
</view> |
|
|
@@ -211,11 +218,17 @@ |
|
|
|
|
|
|
|
<view class="arrs-items index8"> |
|
|
|
<view class="left"> |
|
|
|
8 |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
8 |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
6 |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
|
<text>平均执行率最低的顾问:</text> |
|
|
|
<text v-if="!weekObj.orgCode">平均执行率最低的顾问:</text> |
|
|
|
<text v-else>执行率最低的项目:</text> |
|
|
|
</view> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in lowest" :key="rankIndex"> |
|
|
@@ -240,7 +253,12 @@ |
|
|
|
|
|
|
|
<view class="arrs-items index9"> |
|
|
|
<view class="left"> |
|
|
|
9 |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
9 |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
7 |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
@@ -250,9 +268,9 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index8"> |
|
|
|
<view class="arrs-items index8" v-if="weekObj.orgCode"> |
|
|
|
<view class="left"> |
|
|
|
10 |
|
|
|
8 |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
@@ -279,9 +297,9 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index8"> |
|
|
|
<view class="arrs-items index8" v-if="weekObj.orgCode"> |
|
|
|
<view class="left"> |
|
|
|
11 |
|
|
|
9 |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
@@ -310,7 +328,12 @@ |
|
|
|
|
|
|
|
<view class="arrs-items index10"> |
|
|
|
<view class="left"> |
|
|
|
12 |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
12 |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
10 |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
@@ -324,7 +347,12 @@ |
|
|
|
|
|
|
|
<view class="arrs-items index11"> |
|
|
|
<view class="left"> |
|
|
|
13 |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
13 |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
11 |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
@@ -395,6 +423,109 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
// 项目拷贝 |
|
|
|
copys() { |
|
|
|
|
|
|
|
let str = ` |
|
|
|
${this.projectName}数智工牌日报 |
|
|
|
|
|
|
|
生成时间:${this.weekObj.createTime || '--'} |
|
|
|
|
|
|
|
1、接待量:${this.weekObj.receptionCount || 0 } |
|
|
|
|
|
|
|
有效接待:${this.weekObj.activeCustomer || 0} |
|
|
|
|
|
|
|
有效接待率:${this.weekObj.validReceptionRate || 0}% |
|
|
|
对比昨天:${ this.weekObj.validReceptionRatePK > 0 ? '+' : '' }${ this.weekObj.validReceptionRatePK || 0 }% |
|
|
|
|
|
|
|
2、平均执行率:${ this.weekObj.fraction || 0 }% |
|
|
|
销讲执行率:${ this.weekObj.fractionPK > 0 ? '+' : '' }${ this.weekObj.fractionPK || 0 }% |
|
|
|
|
|
|
|
3、平均接待时长:${ this.weekObj.avgDuration || 0 }min |
|
|
|
对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min` |
|
|
|
if (this.carryOutTop.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
|
4、项目平均执行率排名:` |
|
|
|
this.carryOutTop.map((item, index) => { |
|
|
|
str += ` |
|
|
|
top${index+1}.${item.title || '--'}${item.value||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
if (this.carryOutLast.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
|
5、项目平均接访时长排名:` |
|
|
|
this.carryOutLast.map((item, index) => { |
|
|
|
str += ` |
|
|
|
top${index+1}.${item.title || '--'}${item.value||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
if (this.consultant.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
|
6、置业顾问平均执行率排名:` |
|
|
|
this.consultant.map((item, index) => { |
|
|
|
str += ` |
|
|
|
top${index+1}.${item.title || '--'}${item.value||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.lowest.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
|
6、执行率最低的项目:` |
|
|
|
this.lowest.map((item, index) => { |
|
|
|
str += ` |
|
|
|
${item.title || '--'}${item.value||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
str += ` |
|
|
|
|
|
|
|
7、客户画像触达:${this.weekObj.reachSum || 0}次` |
|
|
|
|
|
|
|
if (this.weekObj.level1List.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
|
8、画像一级触达接待前三 |
|
|
|
` |
|
|
|
this.weekObj.level1List.map((item, index) => { |
|
|
|
str += ` |
|
|
|
top${index+1}.${item.name || '--'}${item.total||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
if (this.weekObj.level1List.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
|
9、画像关键词触达接待前三 |
|
|
|
` |
|
|
|
this.weekObj.level1List.map((item, index) => { |
|
|
|
str += ` |
|
|
|
top${index+1}.${item.name || '--'}${item.total||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
str += ` |
|
|
|
|
|
|
|
10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条 |
|
|
|
|
|
|
|
|
|
|
|
11、设备情况: |
|
|
|
在线:${this.weekObj.equipmentInfo.onlineNum || 0} |
|
|
|
离线:${this.weekObj.equipmentInfo.offlineNum || 0}` |
|
|
|
|
|
|
|
|
|
|
|
uni.setClipboardData({ |
|
|
|
data: str |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
forShare() { |
|
|
|
this.$u.get("/zkMessage/shareMessage", { |
|
|
@@ -436,6 +567,8 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
copy() { |
|
|
|
if (this.weekObj.orgCode) return this.copys() |
|
|
|
|
|
|
|
let str = ` |
|
|
|
${this.projectName}数智工牌日报 |
|
|
|
|
|
|
@@ -502,44 +635,17 @@ |
|
|
|
${item.title || '--'}${item.value||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
str += ` |
|
|
|
|
|
|
|
9、客户画像触达:${this.weekObj.reachSum || 0}次` |
|
|
|
|
|
|
|
if (this.weekObj.level1List.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
|
10、画像一级触达接待前三 |
|
|
|
` |
|
|
|
this.weekObj.level1List.map((item, index) => { |
|
|
|
str += ` |
|
|
|
top${index+1}.${item.name || '--'}${item.total||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
if (this.weekObj.level1List.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
|
11、画像关键词触达接待前三 |
|
|
|
` |
|
|
|
this.weekObj.level1List.map((item, index) => { |
|
|
|
str += ` |
|
|
|
top${index+1}.${item.name || '--'}${item.total||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
str += ` |
|
|
|
|
|
|
|
12、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条 |
|
|
|
9、客户画像触达:${this.weekObj.reachSum || 0}次 |
|
|
|
|
|
|
|
10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条 |
|
|
|
|
|
|
|
13、设备情况: |
|
|
|
11、设备情况: |
|
|
|
在线:${this.weekObj.equipmentInfo.onlineNum || 0} |
|
|
|
离线:${this.weekObj.equipmentInfo.offlineNum || 0}` |
|
|
|
|
|
|
|
|
|
|
|
uni.setClipboardData({ |
|
|
|
data: str |
|
|
|
}) |
|
|
|