summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/services
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-03-14 17:32:28 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-03-14 17:32:49 +0800
commit96d989b84a7ebb4e288442cf888af3357f961046 (patch)
tree7adf295285254e41f9b12cad9a03896a31fc0971 /usecaseui-portal/src/app/services
parent8d5ff3d30de0c774fd8048fb36a451b206681f1b (diff)
Service instance topology front-end development
Change-Id: Ie39ede5583468def6ddfdbf6aa15b44aca61b982 Issue-ID: USECASEUI-224 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/services')
-rw-r--r--usecaseui-portal/src/app/services/services-list/services-list.component.html6
-rw-r--r--usecaseui-portal/src/app/services/services-list/services-list.component.ts8
2 files changed, 12 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/services/services-list/services-list.component.html b/usecaseui-portal/src/app/services/services-list/services-list.component.html
index 48cd38a0..57e74464 100644
--- a/usecaseui-portal/src/app/services/services-list/services-list.component.html
+++ b/usecaseui-portal/src/app/services/services-list/services-list.component.html
@@ -272,7 +272,11 @@
<div class="detailComponent" *ngIf="detailshow">
<app-ccvpn-detail [namesTranslate]="namesTranslate" [detailParams]="detailData"
- (closeDetail)="detailshow = false;"></app-ccvpn-detail>
+ (closeDetail)="detailshow = false;listDisplay = false;"></app-ccvpn-detail>
+ </div>
+ <div class="detailComponent" *ngIf="detailshow2">
+ <app-e2e-detail [namesTranslate]="namesTranslate" [detailParams]="detailData"
+ (closeDetail)="detailshow2 = false;listDisplay = false;"></app-e2e-detail>
</div>
<div class="createComponent" *ngIf="createshow">
<app-ccvpn-creation
diff --git a/usecaseui-portal/src/app/services/services-list/services-list.component.ts b/usecaseui-portal/src/app/services/services-list/services-list.component.ts
index 163aa9cd..4263c20e 100644
--- a/usecaseui-portal/src/app/services/services-list/services-list.component.ts
+++ b/usecaseui-portal/src/app/services/services-list/services-list.component.ts
@@ -419,6 +419,7 @@ export class ServicesListComponent implements OnInit {
// show detail
detailshow = false;
+ detailshow2 = false;
detailData:Object;
serviceDetail(service){
service["siteSer"]=[];
@@ -433,7 +434,12 @@ export class ServicesListComponent implements OnInit {
service.sdwanSer.push(item);
}
})
- this.detailshow = true;
+ if(service["serviceDomain"]=='CCVPN' ||service["serviceDomain"]=='SOTN' ){
+ this.detailshow = true;
+ }else if(service["serviceDomain"]=='E2E Service' || service["serviceDomain"]=='Network Service'){
+ this.detailshow2 = true;
+ }
+ this.listDisplay = true;
this.detailData = service;
console.log(service);
}