diff options
author | 2019-12-11 17:23:05 +0800 | |
---|---|---|
committer | 2019-12-11 17:24:12 +0800 | |
commit | bc115d88c7cbb728880839dd5e32987db167234b (patch) | |
tree | b350546c93a6cdf8ebb763dd15f4cb66a351b192 /usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model | |
parent | 87f400207edddbe97c423ea87dc55a7b4a9ea03f (diff) |
feat: add some i18n resource
Change-Id: I2686afd33ef3eb2138ac1130416618ba2005929b
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/slicing-task-model/subnet-params-model')
2 files changed, 7 insertions, 7 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html index 62df0709..c7df1bf1 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html @@ -1,7 +1,7 @@ <nz-modal [(nzVisible)]="showModel" [nzTitle]="title + 'Parameter'" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()" nzWidth="700px"> <div class="subnet_params_container"> - <form nz-form *ngIf="title === '无线域'"> + <form nz-form *ngIf="title === 'An'"> <nz-form-item *ngFor="let item of wirelessFormItems"> <nz-form-label [nzSpan]="6" nzRequired [nzFor]="item.key"> {{ item.title }} @@ -34,7 +34,7 @@ </div> </nz-form-item> </form> - <form nz-form *ngIf="title === '传输域'"> + <form nz-form *ngIf="title === 'Tn'"> <nz-form-item *ngFor="let item of transferFormItems"> <nz-form-label [nzSpan]="7" nzRequired [nzFor]="item.key"> {{ item.title }} @@ -44,12 +44,12 @@ </nz-form-control> </nz-form-item> </form> - <form nz-form *ngIf="title === '核心域'"> + <form nz-form *ngIf="title === 'Cn'"> <nz-form-item *ngFor="let item of coreFormItems"> - <nz-form-label [nzSpan]="10" nzRequired [nzFor]="item.key"> + <nz-form-label [nzSpan]="13" nzRequired [nzFor]="item.key"> {{ item.title }} </nz-form-label> - <nz-form-control [nzSpan]="10"> + <nz-form-control [nzSpan]="8"> <input nz-input [id]="item.key" [name]="item.key" [(ngModel)]="detailData[item.key]" [readOnly]="item.title === 'S-NSSAI'" *ngIf=" item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' " /> diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts index 92c50d15..f091667a 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts @@ -24,7 +24,7 @@ export class SubnetParamsModelComponent implements OnInit { ngOnInit() { } ngOnChanges() { - if (this.title === '无线域') { + if (this.title === 'An') { this.AreaFormatting(); } } @@ -116,7 +116,7 @@ export class SubnetParamsModelComponent implements OnInit { handleOk(): void { let params: object; - if (this.title === '无线域') { + if (this.title === 'An') { const an_coverage_area_ta_list: string[] = []; this.areaList.forEach( item => { let str: string = ''; |