gangyj 3 years ago
parent
commit
5ad2a559b4
2 changed files with 4 additions and 22 deletions
  1. 4 17
      src/views/manager/contractinfo/detail.vue
  2. 0 5
      src/views/manager/projectinfo/list.vue

+ 4 - 17
src/views/manager/contractinfo/detail.vue

@@ -411,11 +411,11 @@
           </div>
         </el-tab-pane>
         <el-tab-pane
-          v-if="contractForm.contractType == 1 || contractForm.contractType == 2"
-          :label="contractForm.contractType == 2?'分配日志WBS':'分配WBS'"
+          v-if="contractForm.contractType == 1"
+          label="分配WBS"
           name="2"
         >
-          <div v-if="contractForm.contractType == 1">
+          <div>
             <div
               v-if="!wbsId"
               class="text-align-c"
@@ -429,19 +429,6 @@
               :right-props="{children: 'children',label: 'nodeName',}"
             ></tree-tree>
           </div>
-          <div v-else>
-            <div
-              v-if="!wbsId"
-              class="text-align-c"
-            >项目暂未分配日志WBS树
-            </div>
-            <tree-tree
-              :left-tree-data="leftTreeData"
-              ref="treetotree"
-              @onAddTree="treeChang"
-              @onDelTree="treeChang"
-            ></tree-tree>
-          </div>
         </el-tab-pane>
         <el-tab-pane
           label="分配项目人员"
@@ -1084,7 +1071,7 @@ export default {
       });
       this.typeChang[this.activeType] = false;
       let num = Number(this.activeType);
-      if (this.contractForm.contractType == 1 || this.contractForm.contractType == 2) {
+      if (this.contractForm.contractType == 1) {
         if (type == 'n') {
           num++;
         } else if (type == 'p') {

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

@@ -120,11 +120,6 @@
                 v-if="item.contractType==2"
                 @click="contractDetail(item,'2',item.contractType)"
               >分配日志WBS</el-link>
-              <el-link
-                type="primary"
-                class="mg-l-10"
-                @click="contractDetail(item,'3',item.contractType)"
-              >分配项目人员</el-link>
               <el-link
                 type="primary"
                 class="mg-l-10"