},\r
"result_body": {\r
"record_number": 2,\r
- "slicing_task_list": [\r
- {\r
+ "slicing_task_list": [{\r
"task_id": "b1bb0ce7-ebca-4fa7-95ed-4840d70a1177",\r
"task_name": "5G Slice service eMMB",\r
"service_snssai": "1-010101",\r
"service_type": "eMMB",\r
"arrival_time": "1454171445000",\r
- "processing_status": "Waiting to Confirm"\r
+ "processing_status": "WaitingToConfirm"\r
},\r
{\r
"task_id": "b1bb0de7-ebca-4fa7-95ed-4840d7041177",\r
"service_snssai": "1-010101",\r
"service_type": "eMMB",\r
"arrival_time": "1544471445000",\r
- "processing_status": "Waiting to Confirm"\r
+ "processing_status": "WaitingToConfirm"\r
}\r
]\r
}\r
this.message.error('Failed to get form data');
}
this.loading = false;
- },({status, statusText}) => {
- this.message.error(status + ' (' + statusText + ')');
+ }, ({ status, statusText }) => {
+ this.message.error(status + ' (' + statusText + ')');
this.loading = false;
})
}
this.message.error('Failed to get form data');
}
this.loading = false;
- }, ({status, statusText}) => {
- this.message.error(status + ' (' + statusText + ')');
+ }, ({ status, statusText }) => {
+ this.message.error(status + ' (' + statusText + ')');
this.listOfData = [];
this.loading = false;
})
// item.status = '审核阶段';
item.operation = 'Process Task'
break;
+ case 'WaitingToConfirm':
+ // item.status = '审核阶段';
+ item.operation = 'Process Task'
+ break;
case 'Creating':
// item.status = '切片创建中';
item.operation = 'View Progress'
showdetail(data: any): void {
this.taskId = data.task_id;
this.moduleTitle = data.task_name;
- if (data.processing_status === 'WaitingToConfirm') {
+ if (data.processing_status === 'Waiting to Confirm' || data.processing_status === 'WaitingToConfirm') {
this.showDetail = true;
} else {
this.moduleOperation = data.operation;
}
}
- handelCancel(obj: any):void {
+ handelCancel(obj: any): void {
this.showDetail = obj.showDetail;
if (obj.bool) {
if (this.selectedValue && this.selectedValue !== 'all') {