summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2021-03-25 09:01:23 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-25 09:01:23 +0000
commit98be53b1e812f48539019036227b16f18f7d8aac (patch)
tree1158c8bc566e20dd5e468e6405079e1812670de8
parent15ef3b5aa255d9d7174ffea15293f01d119fbc7c (diff)
parent486e11c1c018d649c6c8dd6a2abd68ba86b234f1 (diff)
Merge "feat:loading"
-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;