소스 검색

关联清表刷新

2 년 전
부모
커밋
b9e21ace3d
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/manager/projectinfo/independent.vue
  2. 3 1
      src/views/manager/projectinfo/qutediaolog/relation.vue

+ 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,