diff --git a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts index 58fb14f..1797bfd 100644 --- a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts +++ b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts @@ -706,7 +706,7 @@ export class EntryPlanLookComponent implements OnInit { sessionStorage.setItem("buildingTypeId", this.unittypeId) sessionStorage.setItem("editable", "1") let companyId = sessionStorage.getItem("companyId") - window.open(`/keyUnit/editunitinfo?id=${companyId}`); + window.open(`/keyUnit/editunitinfo?id=${companyId}&orName=${this.route.snapshot.queryParams.orName}&orId=${this.route.snapshot.queryParams.orId}`); } } } diff --git a/tsconfig.json b/tsconfig.json index 6435d0e..cc7e648 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "module": "esnext", "moduleResolution": "node", "importHelpers": true, - "target": "es2015", + "target": "es2015",//es6 "allowJs": true, "typeRoots": [ "node_modules/@types"