|
@@ -1162,8 +1162,6 @@ export default {
|
|
|
if ((this.templateType == 1 && this.projectForm.referenceWbsTemplateType === 'private')
|
|
|
|| (this.templateType == 2 && this.projectForm.referenceWbsTemplateTypeTrial === 'private')
|
|
|
&& refId != null && refId.toString().length > 0) {
|
|
|
-
|
|
|
- console.log(1111111111111);
|
|
|
console.log(refId,'refId');
|
|
|
// 私有库右边树形数据是通过 pkeyId 查询的
|
|
|
let ids = refId.toString().split(",");
|
|
@@ -1435,6 +1433,7 @@ export default {
|
|
|
|
|
|
getRightTree() {
|
|
|
this.rightloading = true;
|
|
|
+ this.iswbsselected=true
|
|
|
console.log(this.nowref,'nowrefId');
|
|
|
|
|
|
let refId = this.templateType === 1 ? this.selectData.referenceWbsTemplateId : this.selectData.referenceWbsTemplateIdTrial;
|
|
@@ -1442,6 +1441,7 @@ export default {
|
|
|
if(!refId){
|
|
|
console.log('不存在refId');
|
|
|
this.$refs.treetotree.setRightTree([]);
|
|
|
+ this.iswbsselected=false
|
|
|
}else{
|
|
|
let WbsId=''
|
|
|
if (this.projectForm.referenceWbsTemplateType === 'private' && refId != null && refId.toString().length > 0) {
|
|
@@ -1508,6 +1508,7 @@ export default {
|
|
|
this.$refs.treetotree.setRightTree(res.data.data);
|
|
|
} else {
|
|
|
this.$refs.treetotree.setRightTree([]);
|
|
|
+ this.iswbsselected=false
|
|
|
}
|
|
|
}
|
|
|
|