From 3851003d7f7f7b5838a73e671584035449ae59b8 Mon Sep 17 00:00:00 2001 From: zhangab Date: Fri, 1 Feb 2019 17:34:44 +0800 Subject: Fix request body partially missing bug Change-Id: Id569479a7c38cd728ba23669da07f8917c6095c0 Issue-ID: USECASEUI-210 Signed-off-by: zhangab --- .../ccvpn-creation/ccvpn-creation.component.html | 63 +++++++++++----------- .../app/ccvpn-network/ccvpn-network.component.ts | 6 ++- 2 files changed, 37 insertions(+), 32 deletions(-) diff --git a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html index 15486238..8398551a 100644 --- a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html +++ b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html @@ -25,21 +25,21 @@ - +

Site List

- @@ -98,7 +98,7 @@
- +

Site_Group List

@@ -124,23 +124,23 @@ {{ item.siteName }} - - +
- + -
+ - @@ -181,13 +181,13 @@
  • Name:
  • Description:
  • -
  • Type: +
  • Type:
  • -
  • Role: +
  • Role: @@ -196,10 +196,11 @@
  • PostCode:
  • VLAN:
  • Address: - - - -
  • + + + + +
@@ -209,7 +210,7 @@
  • Name:
  • Version:
  • ESN:
  • -
  • Class: +
  • Class: @@ -222,7 +223,7 @@
  • WAN Port

    - @@ -252,14 +253,14 @@ - +
    • Name:
    • Description:
    • -
    • Port Type: +
    • Port Type: @@ -280,9 +281,9 @@
      - + -
      +
      @@ -292,16 +293,16 @@ + x="25%" y="30%" width="50%"/> - + {{ item.name }} diff --git a/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts b/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts index 000e0d16..bb0bf89b 100644 --- a/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts +++ b/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts @@ -1128,6 +1128,7 @@ export class CcvpnNetworkComponent implements OnInit { // }); }); // return pro; + console.log(params); } createCloudLinks(time) { @@ -1138,7 +1139,9 @@ export class CcvpnNetworkComponent implements OnInit { "link-name": this.linkName, "link-type": "cross-link", "operational-status": "up", - "relationship-list": { + "in-maint":"false", + "relationship-list": [ + { "relationship": [ { "related-to": "p-interface", @@ -1154,6 +1157,7 @@ export class CcvpnNetworkComponent implements OnInit { } ] } + ] } // var pro = new Promise(function (resolve, reject) { -- cgit 1.2.3-korg