|
|
|
@ -1197,7 +1197,8 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
} else {//如果是想定作业编辑模式
|
|
|
|
|
const dialogRef = this.dialog.open(saveOneDialog, { |
|
|
|
|
data: {allDisposalNode: this.canvasData.allDisposalNode, |
|
|
|
|
data: { |
|
|
|
|
allDisposalNode: this.canvasData.allDisposalNode, |
|
|
|
|
selectedBuildingData: this.beforeOneCheckedBuilding, |
|
|
|
|
selectedSiteData: this.selectingSitePlan, |
|
|
|
|
siteOrbuilding: this.checkedBuildingIndex, |
|
|
|
@ -1489,16 +1490,16 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//子节点跟随父节点的islook变化
|
|
|
|
|
if(node.children && node.children.length != 0){ |
|
|
|
|
node.children.forEach(item=>{ |
|
|
|
|
item.isLook = !node.isLook
|
|
|
|
|
if(item.children && item.children.length != 0){ |
|
|
|
|
item.children.forEach(i=>{ |
|
|
|
|
i.isLook = !node.isLook
|
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
if (node.children && node.children.length != 0) { |
|
|
|
|
node.children.forEach(item => { |
|
|
|
|
item.isLook = !node.isLook |
|
|
|
|
if (item.children && item.children.length != 0) { |
|
|
|
|
item.children.forEach(i => { |
|
|
|
|
i.isLook = !node.isLook |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const nodes = this.treeControl.dataNodes; |
|
|
|
|