From 18560aa87094aafd9326c4f580d2fd1bf99bcfa7 Mon Sep 17 00:00:00 2001
From: "aoli.qu" <408346101@qq.com>
Date: Sat, 11 Dec 2021 16:06:28 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/org/OrgList.vue | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
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 @@
编辑
- singleDelete(record)">
+ sysOrgDelete(record)">
删除
@@ -42,7 +42,7 @@
编辑
- singleDelete(record)">
+ sysOrgDelete(record)">
删除
@@ -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 () {