diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-12-23 16:08:13 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-12-23 16:08:17 +0800 |
commit | 04ab7eeada3656d3c30ea780db8291235aabd79c (patch) | |
tree | 296a839446a458c26c701263d24919de602b4877 /usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts | |
parent | 65dc3779955639f8ba5550e6e5f419440fc0e658 (diff) |
fix: fix city names
Change-Id: I131a3b4fd0052374fc9d02d0228f2875af9aba8c
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts | 14 |
1 files changed, 7 insertions, 7 deletions
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 6ea61397..8a0ef970 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 @@ -12,7 +12,7 @@ export class CheckProcessModelComponent implements OnInit { @Input() moduleTitle: string; @Input() showProcess: boolean; @Input() taskId: string; - @Input() moduleOperation: string; + @Input() moduleOperation: string; @Output() cancel = new EventEmitter<boolean>(); @@ -61,11 +61,11 @@ export class CheckProcessModelComponent implements OnInit { return item }) // 前端模拟数据 - let area = ["Beijing;Beijing City;Haidian District", "Beijing;Beijing City;Xicheng District", "Beijing;Beijing City;Changping District"].map(item => { + let area = ["Beijing;Beijing;Haidian District", "Beijing;Beijing;Xicheng District", "Beijing;Beijing;Changping District"].map(item => { item = item.split(';').join(' - ') return item }) - this.businessRequirement = [{...business_demand_info, area}]; + this.businessRequirement = [{ ...business_demand_info, area }]; // 匹配NST信息 this.NSTinfo = [nst_info]; } else { @@ -73,13 +73,13 @@ export class CheckProcessModelComponent implements OnInit { this.message.error(errorMessage); } this.isLoadingShow(); - }, ({status, statusText}) => { + }, ({ status, statusText }) => { this.message.error(status + ' (' + statusText + ')'); this.isLoadingShow(); }) } - isLoadingShow () { + isLoadingShow() { if (this.isGetData) { this.isSpinning = false; } else { @@ -101,7 +101,7 @@ export class CheckProcessModelComponent implements OnInit { } const title = item === 'an_progress' ? 'An' : (item === 'tn_progress' ? 'Tn' : 'Cn') let obj = { [item]: result_body[item], currentProgress, title, status }; - if(result_body[item]){ + if (result_body[item]) { this.data.push(obj) } }) @@ -121,7 +121,7 @@ export class CheckProcessModelComponent implements OnInit { this.message.error('Failed to get progress') } this.isLoadingShow(); - }, ({status, statusText}) => { + }, ({ status, statusText }) => { this.message.error(status + ' (' + statusText + ')'); this.isLoadingShow(); }) |