summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
authorwangyuerg <wangyuerg@chinamobile.com>2021-03-25 16:47:22 +0800
committerwangyuerg <wangyuerg@chinamobile.com>2021-03-25 16:47:40 +0800
commit486e11c1c018d649c6c8dd6a2abd68ba86b234f1 (patch)
tree98d2c163262c581ef564e41148b8c740a00235c4 /usecaseui-portal
parentcd382d5374bfde0629b8de44a46829c4d0613c3d (diff)
feat:loading
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com> Change-Id: I8b364375197d348c1ff9f51d96cd9ac3b6e76008 Issue-ID: USECASEUI-527
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html2
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html
index ccc41184..711a1355 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html
@@ -57,7 +57,7 @@
</nz-input-group>
<!-- connection links table -->
<div *ngIf="item.type==='table-radio'">
- <nz-table #basicTable [nzData]="connectionLinkTable" nzShowPagination="true"
+ <nz-table #basicTable [nzLoading]="loading" [nzData]="connectionLinkTable" nzShowPagination="true"
[nzPageSize]="pageSize" (nzPageIndexChange)="pageIndexChange($event)"
nzFrontPagination="false" [nzTotal]="recordNum">
<thead>
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 9897f5ab..3db19334 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
@@ -171,6 +171,7 @@ export class SubnetParamsModelComponent implements OnInit {
.then((res) => {
if (pageNo === 1) {
// the first page
+ this.loading = false
this.connectionLinkTable =
res.result_body.connection_links_list;
this.recordNum = res.result_body.record_number;