From b4ae677932b80b8ec8adfac654f52cdf25e9a890 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 30 Nov 2022 13:48:26 +0800 Subject: [PATCH] bug --- project/pidu/app/AppGoods/components/List.vue | 5 +++++ .../AppGridMemberScore/components/ApplyList.vue | 16 +++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/project/pidu/app/AppGoods/components/List.vue b/project/pidu/app/AppGoods/components/List.vue index 5e0271da..d87ea59a 100644 --- a/project/pidu/app/AppGoods/components/List.vue +++ b/project/pidu/app/AppGoods/components/List.vue @@ -105,6 +105,11 @@ label: '可见范围', formart: v => v === '0' ? '不限' : '指定网格' }, + { + prop: 'arriveTime', + align: 'center', + label: '上架时间' + }, { prop: 'status', align: 'center', diff --git a/project/pidu/app/AppGridMemberScore/components/ApplyList.vue b/project/pidu/app/AppGridMemberScore/components/ApplyList.vue index 3adbdaa7..5fecbc1c 100644 --- a/project/pidu/app/AppGridMemberScore/components/ApplyList.vue +++ b/project/pidu/app/AppGridMemberScore/components/ApplyList.vue @@ -103,13 +103,15 @@ this.getList() } }) - }).catch(() => { - this.instance.post(`/app/appintegralmemberapply/auditApply?id=${id}&opType=2`).then(res => { - if (res.code == 0) { - this.$message.success('审核拒绝成功') - this.getList() - } - }) + }).catch(action => { + if (action === 'cancel') { + this.instance.post(`/app/appintegralmemberapply/auditApply?id=${id}&opType=2`).then(res => { + if (res.code == 0) { + this.$message.success('审核拒绝成功') + this.getList() + } + }) + } }) } }