本村活动

This commit is contained in:
yanran200730
2021-12-20 15:33:09 +08:00
parent 0b6c9ed68b
commit b1e80ec0ca
2 changed files with 5 additions and 3 deletions

View File

@@ -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) {

View File

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