From fe5bfebfe268eed9449b773d397f439da29d5099 Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Fri, 17 Dec 2021 09:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=9F=BA=E6=9C=AC=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/left-domain/left-domain.component.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/app/pages/left-domain/left-domain.component.ts b/src/app/pages/left-domain/left-domain.component.ts index ca5f930..b503fc1 100644 --- a/src/app/pages/left-domain/left-domain.component.ts +++ b/src/app/pages/left-domain/left-domain.component.ts @@ -396,8 +396,15 @@ export class LeftDomainComponent implements OnInit { //关闭 编辑信息/导出Excel 弹窗 closeBaseInfoDialog() { - sessionStorage.setItem('userdata', this.originalData) - this.isShowBaseDialog = false + PlanComponent.instance.isShowLoading = true + let params = { organizationUnitId: PlanComponent.instance.companyData.id } + this.http.get('/api/services/app/GasStation/Get', { params: params }).subscribe((data: any) => { + data.result.govUnitDetail ? data.result.govUnitDetail = JSON.parse(data.result.govUnitDetail) : null + this.baseInfo = data.result + sessionStorage.setItem('userdata', this.originalData) + this.isShowBaseDialog = false + PlanComponent.instance.isShowLoading = false + }) } }