本村活动
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user