summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-05 12:24:47 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-05 12:24:53 +0800
commit19b190ce4d1042c769b93c50882b91e748af061d (patch)
tree6e5a576f277059f52b2c160521e91fc4141d3bcd /usecaseui-portal/src/app
parent2272314ce11daf597d5113fbe3e16243ac4430d9 (diff)
feat: Modify the html structure of the task processing dialog
Change-Id: I117c5d5cf6b5a7ab4f2251836c13ce2ee986b9c0 Issue-ID: USECASEUI-352 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json2
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html6
2 files changed, 4 insertions, 4 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 0682c16b..4e570cc9 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
@@ -6,7 +6,7 @@
"result_body": {
"task_id": "b1bb0ce7-ebca-4fa7-95ed-4840d70a1177",
"task_name": "5G Slice service eMMB",
- "create_timer": "1454171445000",
+ "create_time": "1454171445000",
"processing_status": "Waiting to Confirm",
"business_demand_info": {
"service_name": "5G Slice eMMB",
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html
index 5e6914ab..e2c5561e 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html
@@ -16,7 +16,7 @@
</nz-list-item>
<nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8">
<div nz-col nzSpan="10">
- <span>Arrived Time: {{ check.create_timer }}</span>
+ <span>Arrived Time: {{ check.create_time | date: 'yyyy-MM-dd HH:mm:ss' }}</span>
</div>
<div nz-col nzSpan="8">
<span>Status: {{ check.processing_status }}</span>
@@ -28,8 +28,8 @@
<nz-list class="taskmodel_list" [nzDataSource]="businessRequirement" nzBordered [nzHeader]="'业务需求信息:'"
[nzFooter]="null" [nzRenderItem]="businessItem">
<ng-template #businessItem let-item>
- <nz-list-item *ngFor="let ite of businessList " nz-row>
- <div nz-col nz-Span='10'>
+ <nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8" *ngFor="let list of businessList ">
+ <div nz-col [nzSpan]="list.length === 1 ? '24' : '8'" *ngFor="let ite of list">
<span class="ant-typography">{{ ite.title }} : &nbsp;{{ item[ite.key] }}</span>
</div>
</nz-list-item>