Explorar o código

增加征拆划分按钮

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
c7f77e3d31
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  1. 15 0
      src/views/manager/projectinfo/list.vue

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