duy 2 жил өмнө
parent
commit
c7f77e3d31

+ 15 - 0
src/views/manager/projectinfo/list.vue

@@ -61,6 +61,11 @@
       <div class="flex jc-sb pd-b-10">
         <span></span>
         <div>
+          <el-button
+            size="small"
+            @click="splitTree"
+            type="success"
+          >征拆划分</el-button>
           <el-button
             size="small"
             @click="testTree"
@@ -264,6 +269,16 @@ export default {
         }
       });
     },
+   splitTree () {
+      this.$router.push({
+        path: '/project/tree',
+        query: {
+          pid: this.curProjiect.id,
+          wbsid: this.curProjiect.referenceWbsTemplateId,
+          type: 5
+        }
+      });
+    },
     editTree () {
       this.$router.push({
         path: '/project/tree',