|
|
|
@ -54,7 +54,9 @@
|
|
|
|
|
<vxe-column title="操作" fixed="right" width="200" align="center">
|
|
|
|
|
<template #default="{ row }">
|
|
|
|
|
<vxe-button type="text" @click="$refs.editForm.edit(row)">编辑</vxe-button>
|
|
|
|
|
<vxe-button type="text" @click="FnDel(row)">删除</vxe-button>
|
|
|
|
|
<a-popconfirm title="是否确认删除?" ok-text="是" cancel-text="否" @confirm="confirm(row)">
|
|
|
|
|
<vxe-button type="text">删除</vxe-button>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
</vxe-table>
|
|
|
|
@ -122,6 +124,9 @@ export default {
|
|
|
|
|
this.init()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
confirm(e) {
|
|
|
|
|
this.FnDel(e)
|
|
|
|
|
},
|
|
|
|
|
FnDel(data) {
|
|
|
|
|
BookingPrintTemplateDeletePrinttemplateRight({ Ids: data.id }).then(res => {
|
|
|
|
|
this.$message.success('删除成功')
|
|
|
|
|