From 161db5f26f0ecf195325a0e851ab0e7d194d2e04 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Mon, 16 Aug 2021 10:30:34 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]linksPlan=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=B8=89=E7=BB=B4=E9=A2=84=E6=A1=88=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../external-links-plan.component.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/external-links-plan/external-links-plan.component.ts b/src/app/external-links-plan/external-links-plan.component.ts index c3f65b8..ece2c71 100644 --- a/src/app/external-links-plan/external-links-plan.component.ts +++ b/src/app/external-links-plan/external-links-plan.component.ts @@ -105,11 +105,12 @@ export class ExternalLinksPlanComponent implements OnInit { // this.threedUrl = this.sanitizer.bypassSecurityTrustResourceUrl(`/keyUnit/viewunitinfoplans?id=${data.companyId}`) }) } else if (this.planData.planMode == 3) { //预案planMode=3时, 第三方网址' - this.http.get(`/api/Plans/${data.companyId}`).subscribe((data: any) => { - data && data.company ? this.companyData = data.company : null - this.threedUrl = this.sanitizer.bypassSecurityTrustResourceUrl(data.url) - this.showType = 2 - }) + // this.http.get(`/api/Plans/${data.companyId}`).subscribe((data: any) => { + // data && data.company ? this.companyData = data.company : null + // this.threedUrl = this.sanitizer.bypassSecurityTrustResourceUrl(data.url) + // this.showType = 2 + // }) + window.location.href = `${data.url}?unitId=${data.company.id}&unitName=${data.company.name}&editMode=false` } }