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 '拒绝加积分' } },