Browse Source

[新增]url添加进入方式

master
邵佳豪 4 years ago
parent
commit
102196298e
  1. 4
      src/app/examiner/create-test-score/create-test-score.component.ts

4
src/app/examiner/create-test-score/create-test-score.component.ts

@ -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')
})
}
}

Loading…
Cancel
Save