summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts11
1 files changed, 6 insertions, 5 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 7bba2c07..5c6eb369 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
@@ -17,10 +17,11 @@ export class SlicingTaskManagementComponent implements OnInit {
}
showDetail: boolean = false;
selectedValue = null;
- detailData: object = {};
+ // detailData: object = {};
+ taskId: string;
moduleTitle: string = "";
- listOfData = [];
- statusOptions = TASK_PROCESSING_STATUS;
+ listOfData: any[] = [];
+ statusOptions: any[] = TASK_PROCESSING_STATUS;
getTaskList (): void{
this.myhttp.getSlicingTaskList('1', '10').subscribe (res => {
@@ -64,8 +65,8 @@ export class SlicingTaskManagementComponent implements OnInit {
})
}
- showdetail(data: any) {
- this.detailData = data;
+ showdetail(data: any): void {
+ this.taskId = data.task_id;
this.showDetail = true;
this.moduleTitle = data.status;
}