diff options
author | 2020-04-10 15:17:25 +0800 | |
---|---|---|
committer | 2020-04-10 15:17:30 +0800 | |
commit | ae3914b676f32b690596c78fa622988f7ed47bf0 (patch) | |
tree | dfc9623a06b165632accf936fa754a17fab934af /usecaseui-portal/src/app/views/services/services-list/services-list.component.ts | |
parent | 03d4bf6a3fe3f5259abb915b7e120bf38ca17d0c (diff) |
fix: Fix detail bug of service page
Change-Id: Icf2c90ee347da8e32ada3998717c14f9aba1a1ba
Issue-ID: USECASEUI-370
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/services-list/services-list.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/services/services-list/services-list.component.ts | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/views/services/services-list/services-list.component.ts b/usecaseui-portal/src/app/views/services/services-list/services-list.component.ts index 96d19cfe..02fdc849 100644 --- a/usecaseui-portal/src/app/views/services/services-list/services-list.component.ts +++ b/usecaseui-portal/src/app/views/services/services-list/services-list.component.ts @@ -460,8 +460,8 @@ export class ServicesListComponent implements OnInit { } // show detail - detailshow = false; - detailshow2 = false; + detailCCVPNShow = false; + detailNSShow = false; detailshowMDONS = false; upDateShow = false; detailData: Object; @@ -480,14 +480,16 @@ export class ServicesListComponent implements OnInit { } }) if (service["serviceDomain"] === 'CCVPN' || service["serviceDomain"] === 'SOTN') { - this.detailshow = true; + this.detailCCVPNShow = true; if (typeNum === 1) { this.upDateShow = false; } else { this.upDateShow = true; } - } else if (service["serviceDomain"] === 'E2E Service' || service["serviceDomain"] === 'Network Service' || service["serviceDomain"] === 'MDONS') { - this.detailshow2 = true; + } else if (service["serviceDomain"] === 'E2E Service' || service["serviceDomain"] === 'Network Service') { + this.detailNSShow = true; + }else if( service["serviceDomain"] === 'MDONS'){ + this.detailshowMDONS = false; } this.listDisplay = true; this.detailData = service; @@ -999,7 +1001,7 @@ export class ServicesListComponent implements OnInit { closeCCVPNUpdate(obj, templateUpdateSuccessFaild) { console.log(obj); - this.detailshow = false; + this.detailCCVPNShow = false; this.listDisplay = false; this.upDateShow = false; this.detailData["rate"] = 0; |