|
|
|
@ -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` |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|