From 309e801a5b17c5116fc097125e5ddbb8511ad2cb Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Wed, 24 Apr 2019 17:18:25 +0800 Subject: Fix instance instantiation for CCVPN Change-Id: I25107cef4a4d6d814c0bb3df24a46e9336c53543 Issue-ID: USECASEUI-220 Signed-off-by: guochuyicmri --- .../services-list/services-list.component.html | 27 +++++++++++++++++++++- .../services-list/services-list.component.ts | 13 ++++++----- 2 files changed, 33 insertions(+), 7 deletions(-) (limited to 'usecaseui-portal/src/app/services') 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 770cda06..bb8e5140 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 @@ -52,9 +52,20 @@
SERVICE TYPE: - + +
+
+ Use Case: + + + + + + +
TEMPLATE: @@ -62,6 +73,20 @@
+
+
+ Orchestrator: + + + +
+
+
+
+ + +
+
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 3a066746..bf1d5d00 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 @@ -44,7 +44,8 @@ export class ServicesListComponent implements OnInit { serviceTypeList2 = []; serviceTypeSelected = {name:null}; serviceTypeSelected2 = {name: null}; - templateTypeSelected =null; + serviceTypeSelectedName = ""; + templateTypeSelected ="CCVPN"; orchestratorSelected = {name:null,id:null}; listSortMasters=JSON.parse(sessionStorage.getItem('listSortMasters')); language="en"; @@ -160,7 +161,7 @@ export class ServicesListComponent implements OnInit { return false; } this.serviceTypeSelected2 = this.serviceTypeList2[0]; - this.templateTypeSelected = this.serviceTypeList2[0].name; + this.serviceTypeSelectedName = this.serviceTypeSelected2.name; console.log(this.serviceTypeList2); this.getAlltemplates(); }) @@ -179,10 +180,10 @@ export class ServicesListComponent implements OnInit { } // templates = []; - template1={name:null}; - template2={name:null}; - template3={name:null}; - template4={name:null}; + template1 = {name: null}; + // template2 = {name: null}; + // template3 = {name: null}; + // template4 = {name: null}; getAlltemplates(){ // this.myhttp.getAllServiceTemplates(this.templateTypeSelected) -- cgit 1.2.3-korg