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()