Fix E2E Service Instantiation bugs 85/72285/1
authorguochuyicmri <guochuyi@chinamobile.com>
Fri, 9 Nov 2018 10:47:20 +0000 (18:47 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Fri, 9 Nov 2018 10:47:48 +0000 (18:47 +0800)
Change-Id: I1391fc8b98bec4aae9f65541d65300d3eb18167d
Issue-ID: USECASEUI-179
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts

index a2343d7..4dd3f5c 100644 (file)
@@ -424,7 +424,7 @@ export class CcvpnCreationComponent implements OnInit {
   // 提交创建数据
   submit(){   
     let globalCustomerId = this.createParams.commonParams.customer.id;
-    let globalServiceType = this.createParams.commonParams.serviceType;
+    let globalServiceType = this.createParams.commonParams.serviceType.name;
     let sotnInputs = {}; 
     // 由于请求模板不一样,所以外层需要循环请求回来的真实名字,内层循环本地参数,将当前值赋给真实名字
     this.sotnNames.forEach((name)=>{
index f478c69..02d6229 100644 (file)
@@ -169,7 +169,7 @@ export class E2eCreationComponent implements OnInit {
         this.service.parameters.resources.push(nsService);
       })
 
-      this.e2eCloseCreate.emit(this.service); 
+      this.e2eCloseCreate.emit({service:this.service}); 
 
     }else if(type == "ns"){
       //create ns instance