浏览代码

机构树刷新

luojun 1 年之前
父节点
当前提交
def5bd40d0
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      src/views/system/dept/index.vue

+ 10 - 0
src/views/system/dept/index.vue

@@ -712,6 +712,11 @@ export default {
             this.$modal.msgSuccess("处理成功");
             this.open = false;
             this.getList();
+
+            this.$store.dispatch("getOrgTree");
+            this.$store.dispatch("getDepTree");
+            this.$store.dispatch("getBusinessTree");
+            this.$store.dispatch("getWholeTree");
             // this.getDeptTree();
           });
         }
@@ -726,6 +731,11 @@ export default {
             this.open = false;
             this.getList();
             this.getDeptTree();
+            
+            this.$store.dispatch("getOrgTree");
+            this.$store.dispatch("getDepTree");
+            this.$store.dispatch("getBusinessTree");
+            this.$store.dispatch("getWholeTree");
           });
         }
       });