|
|
@@ -54,11 +54,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> |
|
|
@@ -92,28 +97,54 @@ |
|
|
|
</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"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="serial"> |
|
|
|
{{ rankIndex+1 }} |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in carryOutTop" :key="rankIndex"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="serial"> |
|
|
|
{{ rankIndex+1 }} |
|
|
|
</view> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.title || '--' }} |
|
|
|
</view> |
|
|
|
<view class="rside"> |
|
|
|
({{ rank.value || 0 }}%) |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.title || '--' }} |
|
|
|
</block> |
|
|
|
<template v-if="carryOutTop.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
<view class="rside"> |
|
|
|
({{ rank.value || 0 }}%) |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<!-- consultant --> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in consultant" :key="rankIndex"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="serial"> |
|
|
|
{{ rankIndex+1 }} |
|
|
|
</view> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.title || '--' }} |
|
|
|
</view> |
|
|
|
<view class="rside"> |
|
|
|
({{ rank.value || 0 }}%) |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<template v-if="carryOutTop.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<template v-if="consultant.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
@@ -123,32 +154,57 @@ |
|
|
|
</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"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="serial"> |
|
|
|
{{ rankIndex+1 }} |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in carryOutLast" :key="rankIndex"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="serial"> |
|
|
|
{{ rankIndex+1 }} |
|
|
|
</view> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.title || '--' }} |
|
|
|
</view> |
|
|
|
<view class="rside"> |
|
|
|
({{ rank.value || 0 }}%) |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.title || '--' }} |
|
|
|
</block> |
|
|
|
<template v-if="carryOutLast.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
<view class="rside"> |
|
|
|
({{ rank.value || 0 }}%) |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in recording" :key="rankIndex"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="serial"> |
|
|
|
{{ rankIndex+1 }} |
|
|
|
</view> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.title || '--' }} |
|
|
|
</view> |
|
|
|
<view class="rside"> |
|
|
|
({{ tofixed2(rank.value/60) || 0 }}m) |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<template v-if="carryOutLast.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
<template v-if="recording.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index6"> |
|
|
|
<view class="arrs-items index6" v-if="!weekObj.orgCode"> |
|
|
|
<view class="left"> |
|
|
|
6 |
|
|
|
</view> |
|
|
@@ -179,7 +235,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index7"> |
|
|
|
<view class="arrs-items index7" v-if="!weekObj.orgCode"> |
|
|
|
<view class="left"> |
|
|
|
7 |
|
|
|
</view> |
|
|
@@ -212,26 +268,101 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index8"> |
|
|
|
<view class="left"> |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
8 |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
6 |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
|
<text v-if="!weekObj.orgCode">平均执行率最低的顾问:</text> |
|
|
|
<text v-else>执行率最低的项目:</text> |
|
|
|
</view> |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in lowest" :key="rankIndex"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.title || '--' }} |
|
|
|
</view> |
|
|
|
<view class="rside value"> |
|
|
|
{{ rank.value || 0 }}% |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
|
|
|
|
<template v-if="lowest.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in weekObj.minFraction" :key="rankIndex"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="lside"> |
|
|
|
{{ rankIndex || '--' }} |
|
|
|
</view> |
|
|
|
<view class="rside value"> |
|
|
|
{{ rank || 0 }}% |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
|
|
|
|
<template v-if="!weekObj.minFraction"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index9"> |
|
|
|
<view class="left"> |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
9 |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
7 |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
|
<text>客户画像触达:</text> |
|
|
|
<text class="num value">{{ weekObj.reachSum || 0 }}次</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="arrs-items index8" v-if="weekObj.orgCode"> |
|
|
|
<view class="left"> |
|
|
|
8 |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
|
<text>平均执行率最低的顾问:</text> |
|
|
|
<text>画像一级触达接待前三:</text> |
|
|
|
</view> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in lowest" :key="rankIndex"> |
|
|
|
<block v-for="(rank, rankIndex) in weekObj.level1List" :key="rankIndex"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.title || '--' }} |
|
|
|
{{ rank.name || '--' }} |
|
|
|
</view> |
|
|
|
<view class="rside value"> |
|
|
|
{{ rank.value || 0 }}% |
|
|
|
({{ rank.total || 0 }}) |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
|
|
|
|
<template v-if="lowest.length == 0"> |
|
|
|
<template v-if="!weekObj.level1List || weekObj.level1List.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
@@ -240,21 +371,43 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index9"> |
|
|
|
<view class="arrs-items index8" v-if="weekObj.orgCode"> |
|
|
|
<view class="left"> |
|
|
|
9 |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
|
<text>客户画像触达:</text> |
|
|
|
<text class="num value">{{ weekObj.reachSum || 0 }}次</text> |
|
|
|
<text>画像关键词触达接待前三:</text> |
|
|
|
</view> |
|
|
|
<view class="ranking"> |
|
|
|
<block v-for="(rank, rankIndex) in weekObj.level2List" :key="rankIndex"> |
|
|
|
<view class="ranking-item"> |
|
|
|
<view class="lside"> |
|
|
|
{{ rank.name || '--' }} |
|
|
|
</view> |
|
|
|
<view class="rside value"> |
|
|
|
({{ rank.total || 0 }}) |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
|
|
|
|
<template v-if="!weekObj.level2List || weekObj.level2List.length == 0"> |
|
|
|
<view class="empty"> |
|
|
|
暂无数据 |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="arrs-items index10"> |
|
|
|
<view class="left"> |
|
|
|
10 |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
12 |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
10 |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
@@ -268,7 +421,12 @@ |
|
|
|
|
|
|
|
<view class="arrs-items index11"> |
|
|
|
<view class="left"> |
|
|
|
11 |
|
|
|
<template v-if="!weekObj.orgCode"> |
|
|
|
13 |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
11 |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="right"> |
|
|
|
<view class="r-title"> |
|
|
@@ -350,12 +508,12 @@ |
|
|
|
return 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 项目拷贝 |
|
|
|
copys() { |
|
|
|
|
|
|
|
|
|
|
|
let str = ` |
|
|
|
${this.projectName}数智工牌日报 |
|
|
|
|
|
|
@@ -373,7 +531,7 @@ |
|
|
|
|
|
|
|
3、平均接待时长:${ this.weekObj.avgDuration || 0 }min |
|
|
|
对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min` |
|
|
|
|
|
|
|
|
|
|
|
if (this.consultant.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
@@ -383,7 +541,7 @@ |
|
|
|
top${index+1}.${item.title || '--'}${item.value||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.recording.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
@@ -393,7 +551,7 @@ |
|
|
|
top${index+1}.${item.title || '--'}${this.tofixed2(item.value/60)||'0'}m` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.lowest.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
@@ -403,12 +561,12 @@ |
|
|
|
${i || '--'}${this.weekObj.minFraction[i]||'0'}%` |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
str += ` |
|
|
|
|
|
|
|
7、客户画像触达:${this.weekObj.reachSum || 0}次` |
|
|
|
|
|
|
|
|
|
|
|
if (this.weekObj.level1List.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
@@ -419,7 +577,7 @@ |
|
|
|
top${index+1}.${item.name || '--'}${item.total||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.weekObj.level1List.length > 0) { |
|
|
|
str += ` |
|
|
|
|
|
|
@@ -430,8 +588,8 @@ |
|
|
|
top${index+1}.${item.name || '--'}${item.total||'0'}%` |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
str += ` |
|
|
|
|
|
|
|
10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条 |
|
|
@@ -440,20 +598,20 @@ |
|
|
|
11、设备情况: |
|
|
|
在线:${this.weekObj.equipmentInfo.onlineNum || 0} |
|
|
|
离线:${this.weekObj.equipmentInfo.offlineNum || 0}` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uni.setClipboardData({ |
|
|
|
data: str |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
forShare() { |
|
|
|
this.$u.get("/zkMessage/shareMessage", { |
|
|
|
id: this.id, |
|
|
|
houseId: uni.getStorageSync('buildingID').id |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 跳转首页 |
|
|
|
toHome() { |
|
|
|
uni.navigateTo({ |
|
|
@@ -489,6 +647,7 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
copy() { |
|
|
|
if (this.weekObj.orgCode) return this.copys() |
|
|
|
let str = ` |
|
|
|
${this.projectName}销讲助手日报 |
|
|
|
|
|
|
|