diff options
author | wangyuerg <wangyuerg@chinamobile.com> | 2021-03-31 14:19:19 +0800 |
---|---|---|
committer | wangyuerg <wangyuerg@chinamobile.com> | 2021-03-31 14:19:37 +0800 |
commit | b830332427139a3fda71c773da572df3a784f543 (patch) | |
tree | eb9884d5e49efd3a135db6c103e20052ac0199cf /usecaseui-portal | |
parent | 28a2b0718270d554c8818b39e4ca62ee4b0b147e (diff) |
feat:Render data
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com>
Change-Id: If845ebf20f5088c537b9cde82da0d591c2fdc1eb
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-management.component.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts index 548f2d12..688126ce 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts @@ -39,7 +39,8 @@ export class SlicingTaskManagementComponent implements OnInit { getTaskList(): void { const { pageNum, pageSize } = this; - this.loading = true; // todo + this.loading = true; + this.listOfData = []; this.myhttp.getSlicingTaskList(pageNum, pageSize).then((res) => { const { slicing_task_list, record_number } = res.result_body; this.dataFormatting(slicing_task_list); @@ -60,6 +61,8 @@ export class SlicingTaskManagementComponent implements OnInit { getListOfProcessingStatus(): void { const { selectedValue, pageNum, pageSize } = this; + + this.listOfData = []; this.loading = true; let getTaskProcessingStatusFailedCallback = () => { this.loading = false; |