|
|
|
@ -2537,11 +2537,11 @@ function associatedFormsDataRangeDialoghandle(){ |
|
|
|
let dataOnlyChild = JSON.parse(JSON.stringify(data.children)) |
|
|
|
let dataOnlyChild1 = JSON.parse(JSON.stringify(data.children)) |
|
|
|
dataExceptChild = dataExceptChild.filter((obj: { type: string }) => obj.type!== 'table'); |
|
|
|
console.log(dataExceptChild) |
|
|
|
//console.log(dataExceptChild) |
|
|
|
dataExceptChild = removeFirstNumElements(dataExceptChild,8); |
|
|
|
dataOnlyChild = dataOnlyChild.filter((obj: { type: string }) => obj.type== 'table'); |
|
|
|
dataOnlyChild1 = dataOnlyChild1.filter((obj: { type: string }) => obj.type== 'table'); |
|
|
|
console.log(dataOnlyChild1) |
|
|
|
//console.log(dataOnlyChild1) |
|
|
|
dataOnlyChild1.forEach((element: any) => { |
|
|
|
element.children = removeFirstNumElements(element.children,6); |
|
|
|
}); |
|
|
|
@ -2553,16 +2553,16 @@ function associatedFormsDataRangeDialoghandle(){ |
|
|
|
let resDataExceptChild = ref(dataExceptChild) |
|
|
|
let resDataOnlyChild = ref(dataOnlyChild) |
|
|
|
let resDataOnlyChild1 = ref(dataOnlyChild1) |
|
|
|
console.log(resDataOnlyChild1.value) |
|
|
|
//console.log(resDataOnlyChild1.value) |
|
|
|
//console.log(asfasfChildTableList.value) |
|
|
|
//console.log(resDataOnlyChild.value) |
|
|
|
let childTableCount = 0 |
|
|
|
for(let n = 0;n<resDataOnlyChild.value.length;n++){ |
|
|
|
console.log(resDataOnlyChild.value[n]) |
|
|
|
//console.log(resDataOnlyChild.value[n]) |
|
|
|
resDataOnlyChild.value[n].disabled=false |
|
|
|
childTableCount = n; |
|
|
|
} |
|
|
|
console.log(childTableCount) |
|
|
|
//console.log(childTableCount) |
|
|
|
currentChildTableCount = childTableCount |
|
|
|
asfasfFieldTree.value = [{ |
|
|
|
id: 'rootid_'+data.label, |
|
|
|
|