|
@@ -4860,17 +4860,19 @@ export default {
|
|
|
|
|
|
let type=''
|
|
|
let projectId=''
|
|
|
+ let wbsId=''
|
|
|
for (let index = 0; index < this.templateIdList.length; index++) {
|
|
|
const elemet = this.templateIdList[index];
|
|
|
if(elemet.id==val){
|
|
|
type = elemet.type;
|
|
|
projectId=elemet.id
|
|
|
+ wbsId=elemet.wbsId
|
|
|
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
if(type===2){
|
|
|
- selectByNodeTable(this.curTreeData.id, projectId, this.id).then((res) => {
|
|
|
+ selectByNodeTable(this.curTreeData.id, projectId, wbsId).then((res) => {
|
|
|
if (res.data.data.length) {
|
|
|
this.preTableData = res.data.data;
|
|
|
} else {
|