From b1e80ec0ca997b4056c1e19dae8ee727e4136533 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 20 Dec 2021 15:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E6=9D=91=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/3.0.0/AppVillageActivity/components/Detail.vue | 6 ++++-- packages/3.0.0/AppVillageActivity/components/List.vue | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/3.0.0/AppVillageActivity/components/Detail.vue b/packages/3.0.0/AppVillageActivity/components/Detail.vue index 5331e18e..ca4645d2 100644 --- a/packages/3.0.0/AppVillageActivity/components/Detail.vue +++ b/packages/3.0.0/AppVillageActivity/components/Detail.vue @@ -94,6 +94,7 @@ if (this.params && this.params.id) { this.id = this.params.id this.getInfo(this.params.id) + this.getList(this.params.id) } }, @@ -107,10 +108,11 @@ }) }, - getList () { + getList (id) { this.instance.post(`/app/appvillageactivityuser/list`, null, { params: { - ...this.search + ...this.search, + activityId: id } }).then(res => { if (res.code == 0) { diff --git a/packages/3.0.0/AppVillageActivity/components/List.vue b/packages/3.0.0/AppVillageActivity/components/List.vue index 74555afd..5b6cc72f 100644 --- a/packages/3.0.0/AppVillageActivity/components/List.vue +++ b/packages/3.0.0/AppVillageActivity/components/List.vue @@ -141,7 +141,7 @@ remove (id) { this.$confirm('确定删除该数据?').then(() => { - this.instance.post(`/app/apppetition/delete?ids=${id}`).then(res => { + this.instance.post(`/app/appvillageactivityinfo/delete?ids=${id}`).then(res => { if (res.code == 0) { this.$message.success('删除成功!') this.getList()