summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-23 20:08:02 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-23 20:08:24 +0800
commit1321f2095d4259a2b985030702f713d95feee715 (patch)
tree6c22b0339b91ec6b4b5e4458a35d84ecce24637b /usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts
parentd045d2d97b28dab10805a257e1747e926e43d0fa (diff)
Fix instance instantiation for CCVPN
Change-Id: I2d8a9b4e868bb74d4409540d46ce87e604e17c57 Issue-ID: USECASEUI-220 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts')
-rw-r--r--usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts b/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts
index 0b138575..f599e82b 100644
--- a/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts
+++ b/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts
@@ -715,16 +715,16 @@ export class CcvpnDetailComponent implements OnInit {
serviceType: globalServiceType, //serviceType.value
parameters: {
locationConstraints: [],
- },
- resources: [],
- requestInputs: {
- sdwanvpnresource_list: [],
- sdwansiteresource_list: []
+ resources: [],
+ requestInputs: {
+ sdwanvpnresource_list: [],
+ sdwansiteresource_list: []
+ }
}
}
};
- servicebody.service.requestInputs.sdwanvpnresource_list = servicebody.service.requestInputs.sdwanvpnresource_list.concat(this.sotnVpnTableData);
- servicebody.service.requestInputs.sdwansiteresource_list = servicebody.service.requestInputs.sdwansiteresource_list.concat(this.siteTableData);
+ servicebody.service.parameters.requestInputs.sdwanvpnresource_list = servicebody.service.parameters.requestInputs.sdwanvpnresource_list.concat(this.sotnVpnTableData);
+ servicebody.service.parameters.requestInputs.sdwansiteresource_list = servicebody.service.parameters.requestInputs.sdwansiteresource_list.concat(this.siteTableData);
console.log(servicebody);
this.closeUpdate.emit(servicebody);
}