|
|
|
@ -2063,7 +2063,13 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
let data = {treeData: JSON.parse( JSON.stringify(this.treeData) ), oldTreeData: JSON.parse( JSON.stringify(this.canvasData.allDisposalNode) )} |
|
|
|
|
let dialogRef = this.dialog.open(uploadDisposalNodes,{data}); |
|
|
|
|
dialogRef.afterClosed().subscribe(data=>{ |
|
|
|
|
|
|
|
|
|
if (data) { |
|
|
|
|
sessionStorage.setItem('examNodeList',JSON.stringify(data)) |
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
|
config.duration = 3000 |
|
|
|
|
this.snackBar.open('节点保存成功','确定',config); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|