fix: fix bugs of task form 90/99390/1
authorcyuamber <xuranyjy@chinamobile.com>
Tue, 10 Dec 2019 08:13:03 +0000 (16:13 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Tue, 10 Dec 2019 08:13:09 +0000 (16:13 +0800)
Change-Id: I3dd5a3cddcaa8450204bb9df6d1498ec0247011a
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts

index e9cb839..6c4d904 100644 (file)
@@ -25,7 +25,7 @@ export class SlicingTaskManagementComponent implements OnInit {
   pageNum: string = '1';
 
   ngOnInit() {
-    this.getTaskList()
+    this.getTaskList();
   }
 
   getTaskList(): void {
@@ -116,8 +116,8 @@ export class SlicingTaskManagementComponent implements OnInit {
 
   showdetail(data: any): void {
     this.taskId = data.task_id;
-    this.moduleTitle = data.status;
-    if (data.status === '审核阶段') {
+    this.moduleTitle = data.processing_status;
+    if (data.processing_status === 'Waiting to Confirm') {
       this.showDetail = true;
     } else {
       this.showProcess = true;