From 2ae228575339a424b913bd1458bfd42d8c22062a Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 28 Jul 2022 14:18:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=AE=B5=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cooperationDetail.vue | 32 +++++++++++-------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index 1a3ee49c..6479687c 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -35,25 +35,25 @@
{{ - tabIndex == 0 ? "计划送达居民:" : "计划送达居民群:" + tabIndex == 0 ? "计划执行成员:" : "计划送达居民群:" }} {{ info.planCount || 0 }}
{{ - tabIndex == 0 ? "未送达居民:" : "未送达居民群:" + tabIndex == 0 ? "未执行成员:" : "未送达居民群:" }} {{ info.unExecutedCount || 0 }}
{{ - tabIndex == 0 ? "已送达居民:" : "已送达居民群:" + tabIndex == 0 ? "已执行成员:" : "已送达居民群:" }} {{ info.executedCount || 0 }}
{{ - tabIndex == 0 ? "无法送达居民:" : "无法送达居民群:" + tabIndex == 0 ? "无法执行成员:" : "无法送达居民群:" }} {{ info.cannotExecuteCount || 0 }}
@@ -102,16 +102,6 @@ export default { tabs: ["成员统计", "居民群统计"], tabIndex: 0, pieEcharts: null, - subsection0: [ - { name: "未执行" }, - { name: "已执行" }, - { name: "无法执行" }, - ], - subsection1: [ - { name: "未送达" }, - { name: "已送达" }, - { name: "无法送达" }, - ], subIndex: 0, tableData: [], createTime: "", @@ -125,6 +115,20 @@ export default { }; }, computed: { + subsection0() { + return [ + { name: "未执行" }, + { name: "已执行" }, + { name: "无法执行" }, + ] + }, + subsection1() { + return [ + { name: "未送达" }, + { name: "已送达" }, + { name: "无法送达" }, + ] + }, colConfigs0() { return [ { slot: "groupOwnerId", label: "成员" },