summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-20 18:17:45 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-20 18:18:13 +0800
commit3845a7297d0df2f55da208c2c3b3780e38d114b1 (patch)
tree843fd17bfc3fa44cc55652ab2800f5061319f8c8
parent51140f8faa05cd813351b8678997f99b638f9166 (diff)
feat: Modified some fields
Change-Id: Ib56622a37bd6d6f4f0a0abf60e63d1eef1f9c138 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json2
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_task_list.json2
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts4
-rw-r--r--usecaseui-portal/src/constants/constants.ts2
4 files changed, 5 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
index 0b444646..b4aadc18 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
@@ -7,7 +7,7 @@
"task_id": "b1bb0ce7-ebca-4fa7-95ed-4840d70a1177",
"task_name": "5G Slice service eMMB",
"create_time": "1454171445000",
- "processing_status": "Waiting to Confirm",
+ "processing_status": "WaitingToConfirm",
"business_demand_info": {
"service_name": "5G Slice eMMB",
"service_snssai": "1-010101",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_list.json b/usecaseui-portal/src/app/mock/json/slicing_task_list.json
index fba4bae7..7326d7bf 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_task_list.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_task_list.json
@@ -11,7 +11,7 @@
"service_snssai": "1-010101",
"service_type": "eMMB",
"create_time": "1454171445000",
- "processing_status": "Waiting to Confirm"
+ "processing_status": "WaitingToConfirm"
},
{
"task_id": "6965-8758-5468-2548-457896541236",
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 1429adec..35bd191f 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
@@ -105,7 +105,7 @@ export class SlicingTaskManagementComponent implements OnInit {
// item.status = '规划阶段';
item.operation = 'Process Task'
break;
- case 'Waiting to Confirm':
+ case 'WaitingToConfirm':
// item.status = '审核阶段';
item.operation = 'Process Task'
break;
@@ -125,7 +125,7 @@ export class SlicingTaskManagementComponent implements OnInit {
showdetail(data: any): void {
this.taskId = data.task_id;
this.moduleTitle = data.task_name;
- if (data.processing_status === 'Waiting to Confirm') {
+ if (data.processing_status === 'WaitingToConfirm') {
this.showDetail = true;
} else {
this.moduleOperation = data.operation;
diff --git a/usecaseui-portal/src/constants/constants.ts b/usecaseui-portal/src/constants/constants.ts
index c3fe0bf8..7db7657c 100644
--- a/usecaseui-portal/src/constants/constants.ts
+++ b/usecaseui-portal/src/constants/constants.ts
@@ -8,7 +8,7 @@ export const TASK_PROCESSING_STATUS = [
value: 'Planning'
},
{
- title: 'Waiting to Confirm',
+ title: 'WaitingToConfirm',
value: 'WaitingToConfirm'
},
{