diff options
author | 2019-12-28 09:04:06 +0800 | |
---|---|---|
committer | 2019-12-28 09:04:11 +0800 | |
commit | f574888b41dbf6d465973899c0265c4baa251f7f (patch) | |
tree | 27fbf4b4b3b51c2533b5856e6a781c92c4c1171c /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management | |
parent | 9503c398fcbf257cda1b590f4a4e14083fd2053c (diff) |
feat:Optimize loading of slicing page
Change-Id: I7bebe12f9e62268ce40142b518e592a9335040f5
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/nssi-management')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts index 034b9a5e..7536a831 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-table/nssi-table.component.ts @@ -41,11 +41,15 @@ export class NssiTableComponent implements OnInit { } this.myhttp.getSlicingNssiList(paramsObj,this.isSelect).subscribe (res => { const { result_header: { result_code }, result_body: { nssi_service_instances,record_number } } = res; + this.loading = false; if (+result_code === 200) { this.total = record_number; this.loading = false; this.listOfData = nssi_service_instances; } + },(res) => { + this.loading = false; + console.error(res); }) } getListOfProcessingStatus(){ |