This commit is contained in:
chenjianan
2019-04-08 09:44:57 +08:00
parent d19de80d28
commit af1ab2c65d

View File

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