diff --git a/src/views/org/OrgList.vue b/src/views/org/OrgList.vue index 10639d7..b1b6263 100644 --- a/src/views/org/OrgList.vue +++ b/src/views/org/OrgList.vue @@ -18,7 +18,7 @@ 编辑 - + 删除 @@ -42,7 +42,7 @@ 编辑 - + 删除 @@ -129,13 +129,10 @@ orgDel({ id: record.id, deleteReason: '' }).then((res) => { if (res.code === 200) { this.$message.success('删除成功') - this.getOrgTree() - this.$refs.table.clearRefreshSelected() + this.$refs.table.refresh(true) } else { this.$message.error('删除失败:' + res.msg) } - }).catch((err) => { - this.$message.error('删除错误:' + err.msg) }) }, handleOk () {