|
@@ -642,14 +642,14 @@ export default {
|
|
this.wbsmodel.forEach((da) => {
|
|
this.wbsmodel.forEach((da) => {
|
|
if (da.id == val) {
|
|
if (da.id == val) {
|
|
this.loading = true
|
|
this.loading = true
|
|
- window.setTimeout(() => {
|
|
|
|
- this.excelForm.wbsType = da.wbsType
|
|
|
|
- }, 2000)
|
|
|
|
|
|
+ this.excelForm.wbsType = da.wbsType
|
|
this.loading = false
|
|
this.loading = false
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- this.wbstree()
|
|
|
|
|
|
+ window.setTimeout(() => {
|
|
|
|
+ this.wbstree();
|
|
|
|
+ }, 100)
|
|
},
|
|
},
|
|
nodeClickExcel (data) {//wbs树点击事件
|
|
nodeClickExcel (data) {//wbs树点击事件
|
|
console.log(data);
|
|
console.log(data);
|
|
@@ -709,7 +709,7 @@ export default {
|
|
let linkIds = ''
|
|
let linkIds = ''
|
|
val.arrs.forEach(da => {
|
|
val.arrs.forEach(da => {
|
|
if (da.isLinkTable != da.changeTable) {
|
|
if (da.isLinkTable != da.changeTable) {
|
|
- linkIds = `${linkIds}${linkIds != '' ? ',' : ''}${da.pkeyId}`
|
|
|
|
|
|
+ linkIds =`${linkIds}${linkIds != '' ? ',' : ''}${da.pkeyId}_${da.isLinkTable}`
|
|
}
|
|
}
|
|
})
|
|
})
|
|
if (linkIds != '') {
|
|
if (linkIds != '') {
|