BUG 30376
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
<el-table-column slot="options" label="操作" fixed="right" width="120" align="center">
|
<el-table-column slot="options" label="操作" fixed="right" width="120" align="center">
|
||||||
<div class="table-options" slot-scope="{row}">
|
<div class="table-options" slot-scope="{row}">
|
||||||
<el-button type="text" title="详情" @click="toDetail(row.id)">详情</el-button>
|
<el-button type="text" title="详情" @click="toDetail(row.id)">详情</el-button>
|
||||||
|
<el-button type="text" title="删除" @click="handleDelete(row.id)">删除</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</ai-table>
|
</ai-table>
|
||||||
@@ -127,6 +128,20 @@
|
|||||||
id: ''
|
id: ''
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
handleDelete(ids) {
|
||||||
|
this.$confirm("是否要进行删除?").then(() => {
|
||||||
|
this.$instance.post("/app/appclapeventinfo/delete", null, {
|
||||||
|
params: {ids}
|
||||||
|
}).then(res => {
|
||||||
|
if (res?.code == 0) {
|
||||||
|
this.$u.toast("删除成功!")
|
||||||
|
this.current = 1
|
||||||
|
this.isMore = false
|
||||||
|
this.getList()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}).catch(() => 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user