fix bug
This commit is contained in:
@@ -118,22 +118,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 移除
|
// 移除
|
||||||
handleDelete(index, row) {
|
handleDelete(index, row) {
|
||||||
this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
|
this.tableData.splice(index, 1)
|
||||||
confirmButtonText: '确定',
|
|
||||||
cancelButtonText: '取消',
|
|
||||||
type: 'warning'
|
|
||||||
}).then(() => {
|
|
||||||
this.tableData.splice(index, 1)
|
|
||||||
this.$message({
|
|
||||||
message: '已被成功移除',
|
|
||||||
type: 'success'
|
|
||||||
})
|
|
||||||
}).catch(() => {
|
|
||||||
this.$message({
|
|
||||||
type: 'info',
|
|
||||||
message: '已取消删除'
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
// 获取人员编号
|
// 获取人员编号
|
||||||
getpeopleid() {
|
getpeopleid() {
|
||||||
|
|||||||
Reference in New Issue
Block a user