From cd382d5374bfde0629b8de44a46829c4d0613c3d Mon Sep 17 00:00:00 2001 From: wangyuerg Date: Thu, 25 Mar 2021 15:38:10 +0800 Subject: feat:Null processing add loading Signed-off-by: wangyuerg Change-Id: I615b82148629554c4012d0af90dd51aef6637350 Issue-ID: USECASEUI-527 --- .../business-order/business-order.component.html | 4 ++-- .../slicing-business-model.component.html | 22 ++++++++++++---------- .../subnet-params-model.component.ts | 5 ++++- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html index 2098cf72..57e08be7 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html @@ -18,9 +18,9 @@

{{ masktext }}

- + - + diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html index aa99279f..c8a02490 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html @@ -41,13 +41,14 @@
  • - +

    {{rantext}}

    {{businessDetailInfo.an_ip_adrress}} -

    +

  • @@ -58,7 +59,7 @@

  • {{ businessDetailInfo.an_nextHop_info }}

    - +

    PE

  • @@ -73,7 +74,7 @@
  • {{businessDetailInfo.cn_nextHop_info}}

    - +

    PE

  • @@ -85,13 +86,14 @@
  • - +

    {{rantext}}

    {{businessDetailInfo.cn_ip_adrress}} - +

diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts index 310a1cb9..9897f5ab 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts @@ -50,6 +50,7 @@ export class SubnetParamsModelComponent implements OnInit { pageSize: number = 2; recordNum: number = 0; hasPageNo: number[] = []; + loading = false; objectKeys = Object.keys; // Comment: Above code @@ -164,6 +165,7 @@ export class SubnetParamsModelComponent implements OnInit { pageNo: pageNo, pageSize: pageSize, }; + this.loading = true; this.http .getConnectionLinkTable(pageObj, this.getConnetionFailed) .then((res) => { @@ -267,9 +269,10 @@ export class SubnetParamsModelComponent implements OnInit { } judgeTn(): void { + console.log('fprm',this.formData) if ( this.formData["sliceProfile_TN_resourceSharingLevel"] === - "non-shared" + "non-shared" || this.formData["sliceProfile_TN_resourceSharingLevel"]==null ) { //:todo clear?? // this.connectionLinkTable.forEach((item) => { -- cgit 1.2.3-korg