summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/services
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-14 15:44:41 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-14 15:44:45 +0800
commite044dfe80bcefb9004c8b6d3156d15ac56426dad (patch)
tree71754401eb4e1bbb0945d0383dedeee28ab27ad9 /usecaseui-portal/src/app/services
parent14e41af3117a7c8c758cf887da5918356720c730 (diff)
Fix instance instantiation for NS
Change-Id: I8979b70ca2efd8a09d37eb74233e15093a15806a Issue-ID: USECASEUI-255 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.html4
-rw-r--r--usecaseui-portal/src/app/services/services-list/services-list.component.ts11
2 files changed, 2 insertions, 13 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 c6626379..b68210ae 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
@@ -628,11 +628,11 @@
</ng-template>
</div>
<div class="detailComponent" *ngIf="detailshow">
- <app-ccvpn-detail [namesTranslate]="namesTranslate" [detailParams]="detailData"
+ <app-ccvpn-detail [detailParams]="detailData"
(closeDetail)="detailshow = false;listDisplay = false;"></app-ccvpn-detail>
</div>
<div class="detailComponent" *ngIf="detailshow2">
- <app-e2e-detail [namesTranslate]="namesTranslate" [detailParams]="detailData"
+ <app-e2e-detail [detailParams]="detailData"
(closeDetail)="detailshow2 = false;listDisplay = false;"></app-e2e-detail>
</div>
<div class="createComponent" *ngIf="createshow">
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 06991b47..90e996a9 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
@@ -32,7 +32,6 @@ export class ServicesListComponent implements OnInit {
ngOnInit() {
this.getallCustomers();
- this.inputNamests();
}
// customer servicetype
isSol005Interface = false;
@@ -1228,14 +1227,4 @@ e2eCloseCreate(obj,templateCreatestarting,templateCreateSuccessFaild) {
return mypromise;
}
-
- // -->
- namesTranslate:Object;
- inputNamests(){
- this.myhttp.inputNamesTransform()
- .subscribe((data)=>{
- this.namesTranslate = data;
- })
- }
-
}