BUG 29286

This commit is contained in:
aixianling
2022-04-29 15:44:01 +08:00
parent abe2f9892e
commit c398a354b9

View File

@@ -44,7 +44,7 @@
<el-table-column slot="options" width="100px" fixed="right" label="操作" align="center"> <el-table-column slot="options" width="100px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div class="table-options"> <div class="table-options">
<el-button type="text" @click="remove(row.gmrId)">删除</el-button> <el-button type="text" @click="remove(row.gmpId)">删除</el-button>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
@@ -286,9 +286,11 @@ export default {
}) })
}, },
remove(id) { remove(ids) {
this.$confirm('确定删除该数据?').then(() => { this.$confirm('确定删除该数据?').then(() => {
this.instance.post(`/app/appgirdmemberresident/delete?ids=${id}`).then(res => { this.instance.post(`/app/appgirdmemberpoverty/delete`, null, {
params: {ids}
}).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.$message.success('删除成功!') this.$message.success('删除成功!')
this.getList() this.getList()