From 0467627ea3c1d125154e720d14e742aaf32c96a8 Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.coom> Date: Thu, 6 Feb 2020 21:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E6=8C=89=E9=92=AE=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/actuserrelation.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/modules/heart/actuserrelation.vue b/src/views/modules/heart/actuserrelation.vue index db387b20..b2e60b10 100644 --- a/src/views/modules/heart/actuserrelation.vue +++ b/src/views/modules/heart/actuserrelation.vue @@ -39,7 +39,8 @@ @@ -76,6 +77,7 @@ export default { deleteURL: '/heart/actuserrelation', deleteIsBatch: true }, + show: false, dataForm: { id: '', actId: '', @@ -114,18 +116,25 @@ export default { formatState: function (row, column) { let state = row.status if (state === '0') { + this.show = true return '报名' } else if (state === '1') { + this.show = false return '审核通过' } else if (state === '2') { + this.show = false return '打卡' } else if (state === '3') { + this.show = false return '取消报名' } else if (state === '4') { + this.show = false return '审核不通过' } else if (state === '5') { + this.show = false return '确认加积分' } else if (state === '6') { + this.show = false return '拒绝加积分' } },