Browse Source

保存wbs400后刷新右侧树

gangyj 3 năm trước cách đây
mục cha
commit
5a8016ada4
1 tập tin đã thay đổi với 9 bổ sung1 xóa
  1. 9 1
      src/views/manager/projectinfo/detail.vue

+ 9 - 1
src/views/manager/projectinfo/detail.vue

@@ -975,7 +975,15 @@ export default {
       } else {
         this.getTreeList();
       }
-    }
+    },
+
+    getRightTree() {
+      findProjectTree(this.projectForm.id, this.projectForm.referenceWbsTemplateId).then((res) => {
+        if (Array.isArray(res.data.data)) {
+          this.$refs.treetotree.setRightTree(res.data.data);
+        }
+      })
+    },
 
   }
 };