fix:禅道61

This commit is contained in:
shijing 2025-08-18 16:26:43 +08:00
parent cad994e7e2
commit bc8673b85b
1 changed files with 7 additions and 7 deletions

View File

@ -220,14 +220,14 @@ export default {
// //
delDept(row) { delDept(row) {
let that = this;
let id = row.id; let id = row.id;
let res = this.$API.system.dept.delete.req(id); that.$API.system.dept.delete.req(id).then(res=>{
if (res.err_msg) { that.$refs.table.refresh();
this.$message.error(res.err_msg); that.$message.success("删除成功");
} else { }).catch(res=>{
this.$refs.table.refresh(); that.$message.error(res.err_msg);
this.$message.success("删除成功"); });
}
}, },
submitHandle() { submitHandle() {
let that = this; let that = this;