|
@@ -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') {
|