From 5a4bff6befb4c68b7556f6f0057d400b19c9ab49 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 3 Aug 2022 16:17:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E7=AE=97=E8=BE=BE=E6=88=90=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../saas/AppCooperationPropaganda/cooperationDetail.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index c885914e..43918268 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -301,14 +301,13 @@ export default { show: true, formatter: ({ name, value }) => { if (this.tabIndex == 0) { - return `{name|任务达成率\n\n}{value|${ this.detail.completionRate || 0 }%}`; + return `{name|任务达成率\n\n}{value|${ (value / this.info.planCount * 100).toFixed(1) }%}`; } else { - return `{name|群发送达率\n\n}{value|${ this.detail.completionRate || 0 }%}`; + return `{name|群发送达率\n\n}{value|${ (value / this.info.planCount * 100).toFixed(1) }%}`; } }, textStyle: { fontSize: 16, - }, rich: { name: {