|
|
|
@ -1220,7 +1220,7 @@ export class AddPlanTwoDialog {
|
|
|
|
|
sessionStorage.setItem('planId',this.selectedRadioData.id) |
|
|
|
|
sessionStorage.setItem('buildingTypeId',this.data.companyData.companyData.buildingTypes[0].id) |
|
|
|
|
sessionStorage.setItem('companyId',this.data.companyData.companyData.id) |
|
|
|
|
window.open('/canvasTool') |
|
|
|
|
window.open('/canvasTool?openType=2') |
|
|
|
|
}else{ |
|
|
|
|
if(this.dataSource.length == 0){ |
|
|
|
|
this.dialogRef.close(); |
|
|
|
@ -1254,7 +1254,7 @@ export class AddPlanTwoDialog {
|
|
|
|
|
sessionStorage.setItem("companyId",this.data.companyData.companyData.id) |
|
|
|
|
sessionStorage.setItem("buildingTypeId",this.data.companyData.companyData.buildingTypes[0].id) |
|
|
|
|
sessionStorage.setItem("editable","1") |
|
|
|
|
window.open('/canvasTool') |
|
|
|
|
window.open('/canvasTool?openType=1') |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|