diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-12-10 16:53:06 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-12-10 16:53:20 +0800 |
commit | bff56675c3a12bafe443fbb52f5d9eea99461db7 (patch) | |
tree | 29aafcabdc95c69e4abfd12a921c64919bed2c4f /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management | |
parent | 8f0482631540bc23eeb83c6d28ee05dd19057443 (diff) |
feat:opmizite of slicing business page & 5G slicing monitor page
Change-Id: I8fc683a7a423605ef13b7eab43a2e816114df07e
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management')
2 files changed, 9 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.html index 47bd9e59..c6f41171 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.html @@ -1,15 +1,18 @@ +<nz-spin [nzSpinning]="isSpinning"> <nz-list class="taskmodel_list" nzBordered [nzHeader]="'Carry Slicing Businress List :'" [nzFooter]="null"> <nz-table #businessTable [nzData]="businessList" [nzShowPagination]="false" nzHideOnSinglePage + class="model-table-padding" > <thead> <tr> <th>Service Instance Id</th> <th>Service Instance Name</th> <th>Service Type</th> + <th>S-NSSAI</th> <th>Status</th> <th width="100px">Detail</th> </tr> @@ -36,12 +39,14 @@ [nzData]="nssiList" [nzShowPagination]="false" nzHideOnSinglePage + class="model-table-padding" > <thead> <tr> <th>Service Instance Id</th> <th>Service Instance Name</th> <th>Service Type</th> + <th>Environment Context</th> <th>Status</th> <th width="100px">Detail</th> </tr> @@ -61,4 +66,5 @@ </ng-template> </tbody> </nz-table> -</nz-list>
\ No newline at end of file +</nz-list> +</nz-spin>
\ No newline at end of file diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts index 070a483f..c34787d9 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts @@ -18,6 +18,7 @@ export class NsiModelComponent implements OnInit { @Input() nsiId; businessList: any[]; nssiList: any[]; + isSpinning: boolean = true; ngOnInit() { this.getNsiDetail() } @@ -25,6 +26,7 @@ export class NsiModelComponent implements OnInit { this.myhttp.getSlicingNsiDetail(this.nsiId).subscribe(res => { const {result_header: {result_code}, result_body: {hosted_business_list,included_nssi_list} } = res; if (+result_code === 200) { + this.isSpinning = false; this.businessList = hosted_business_list; this.nssiList = included_nssi_list; } |