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