Răsfoiți Sursa

关联清表刷新

2 ani în urmă
părinte
comite
b9e21ace3d

+ 1 - 1
src/views/manager/projectinfo/independent.vue

@@ -104,7 +104,7 @@
       </div>
     </div>
     <Qute ref="Qute" :projectid="projectid" :wbsid="wbsid" :onLoad1="onLoad1" :refreshTree="refreshTree"> </Qute>
-    <Relation ref="Relation" :GLExcelFrom="GLExcelFrom" :wbsid="wbsid"  :onLoad1="onLoad1"></Relation>
+    <Relation ref="Relation" :GLExcelFrom="GLExcelFrom" :wbsid="wbsid"  :onLoad1="onLoad1" :refreshTree="refreshTree"></Relation>
     <!-- 编辑元素 -->
        <!-- 编辑元素 -->
     <el-dialog

+ 3 - 1
src/views/manager/projectinfo/qutediaolog/relation.vue

@@ -92,7 +92,8 @@ import {findNodeTableByCondition as selectByNodeTable} from "@/api/manager/wbspr
 export default {
     props:{
         GLExcelFrom:Object,
-        onLoad1:Function
+        onLoad1:Function,
+        refreshTree:Function
     },
     components:{EditElement},
     data(){
@@ -266,6 +267,7 @@ export default {
                     });
                     // selectByNodeTable刷新表单列表
                     this.onLoad1();
+                    this.refreshTree()
                     this.GLExcel = false;
                     this.rightClick(
                         this.GLExcelFrom.id,