diff --git a/pages/mine/messageList.vue b/pages/mine/messageList.vue index 45c4baf..0ada8cd 100644 --- a/pages/mine/messageList.vue +++ b/pages/mine/messageList.vue @@ -30,6 +30,9 @@ + {{item.title}} diff --git a/pages/reportExcel/dayReport.vue b/pages/reportExcel/dayReport.vue index 89072ec..ed1927e 100644 --- a/pages/reportExcel/dayReport.vue +++ b/pages/reportExcel/dayReport.vue @@ -52,11 +52,16 @@ - 平均执行率: + 平均执行率: + 销讲执行率: - 平均执行率{{ weekObj.fraction || 0 }}% + + 平均执行率: + 销讲执行率: + {{ weekObj.fraction || 0 }}% + 对比昨天{{ weekObj.fractionPK > 0 ? '+' : '' }}{{ weekObj.fractionPK || 0 }}% @@ -90,7 +95,8 @@ - 销讲维度执行前三: + 销讲维度执行前三: + 项目平均执行率排名: @@ -121,7 +127,8 @@ - 销讲维度执行弱项前三: + 销讲维度执行弱项前三: + 项目平均接访时长排名: @@ -146,7 +153,7 @@ - + 6 @@ -177,7 +184,7 @@ - + 7 @@ -211,11 +218,17 @@ - 8 + + - 平均执行率最低的顾问: + 平均执行率最低的顾问: + 执行率最低的项目: @@ -240,7 +253,12 @@ - 9 + + @@ -250,9 +268,9 @@ - + - 10 + 8 @@ -279,9 +297,9 @@ - + - 11 + 9 @@ -310,7 +328,12 @@ - 12 + + @@ -324,7 +347,12 @@ - 13 + + @@ -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 })