summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-20 11:16:13 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-20 11:16:29 +0800
commitc01971699cefbd773ed1af72db276540d6734858 (patch)
treeda879146de0293820309368365b7f151774310f0
parent33525aee0aaa0bdbfa2e36be6a47745150f6350d (diff)
feat: Added some English fields in View Progress component
Change-Id: Idf43e88b468c39765fb8d204f72f92ff119a6f72 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.html2
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts6
2 files changed, 2 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.html
index 166f58dd..38aab545 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.html
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.html
@@ -47,5 +47,5 @@
</nz-spin>
</nz-modal>
<ng-template #modalFooter>
- <button nz-button nzType="primary" (click)="handleOk()">OK</button>
+ <button nz-button nzType="primary" (click)="handleCancel()">OK</button>
</ng-template>
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts
index 80cad730..d47618a5 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts
@@ -91,7 +91,7 @@ export class CheckProcessModelComponent implements OnInit {
currentProgress = 2;
status = 'finish'
}
- const title = item === 'an_progress'? '无线域': (item === 'tn_progress'? '传输域' : '核心域')
+ const title = item === 'an_progress'? 'An': (item === 'tn_progress'? 'Tn' : 'Cn')
let obj = { [item]: result_body[item], currentProgress, title, status };
this.data.push(obj)
})
@@ -117,9 +117,5 @@ export class CheckProcessModelComponent implements OnInit {
this.showProcess = false;
this.cancel.emit(this.showProcess)
}
- handleOk() {
- this.handleCancel();
- }
-
}
\ No newline at end of file