duy 9 months ago
parent
commit
a0eb93650c
1 changed files with 11 additions and 1 deletions
  1. 11 1
      src/views/project/list/wbs-tree.vue

+ 11 - 1
src/views/project/list/wbs-tree.vue

@@ -44,7 +44,9 @@
                     <el-button hc-btn type="danger" @click="nodeParamClick"
                     <el-button hc-btn type="danger" @click="nodeParamClick"
                         >节点参数</el-button
                         >节点参数</el-button
                     >
                     >
-                    <el-button hc-btn color="#626aef">独立表单库</el-button>
+                    <el-button hc-btn color="#626aef" @click="toIndependent"
+                        >独立表单库</el-button
+                    >
                     <el-button hc-btn type="warning">归档文件时间</el-button>
                     <el-button hc-btn type="warning">归档文件时间</el-button>
                 </div>
                 </div>
             </div>
             </div>
@@ -364,6 +366,13 @@
             :scopeType="10"
             :scopeType="10"
         >
         >
         </nodeParamDialog>
         </nodeParamDialog>
+        <!-- 独立表单库 -->
+        <independentPage
+            v-model="independentShow"
+            :wbsType="isType"
+            :projectId="projectInfo.id"
+            :wbsId="wbsId"
+        ></independentPage>
     </hc-drawer>
     </hc-drawer>
 </template>
 </template>
 
 
@@ -382,6 +391,7 @@ import excelApi from "~api/exctab/exceltab";
 import wbsTreeApi from "~api/wbs/tree";
 import wbsTreeApi from "~api/wbs/tree";
 import mainApi from "~api/wbs/private";
 import mainApi from "~api/wbs/private";
 import nodeParamDialog from "../../desk/wbs/node-param-dialog.vue";
 import nodeParamDialog from "../../desk/wbs/node-param-dialog.vue";
+import independentPage from "./independent/index.vue";
 
 
 const props = defineProps({
 const props = defineProps({
     type: {
     type: {