zhongxiaoyu %!s(int64=3) %!d(string=hai) anos
pai
achega
e7070c673d

+ 6 - 1
src/views/organizationManagement/components/organizationHome.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2021-11-29 09:27:43
- * @LastEditTime: 2022-03-23 16:00:53
+ * @LastEditTime: 2022-03-23 16:31:35
  * @LastEditors: your name
  * @Description: 权限管理
  * @FilePath: \Foshan4A2.0\src\views\authorityManagement\components\home.vue
@@ -435,6 +435,11 @@ export default {
         this.expandedKeys.push(this.currentKey)
       }
     },
+    // 根据选中节点获取卡片
+    setCards() {
+      this.currDataArr = this.decompose(this.dataArr, "OrganId", this.currentKey);
+      this.childrenData = this.decompose(this.dataArr, "OrganUpid", this.currentKey);
+    },
     // 节点展开
     handleExpand (obj) {
       this.expandedKeys.push(obj.OrganId)