diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-12-11 16:55:18 +0800 |
---|---|---|
committer | xu ran <xuranyjy@chinamobile.com> | 2019-12-11 09:05:20 +0000 |
commit | 4c1173fd6d79beeb25b740f1865bb04fb0384946 (patch) | |
tree | 9e5c57335f8bece8b09236df3525d8d7827834bf /usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management | |
parent | 3829d66ffaca12629ec09fee92b362fe599db9c6 (diff) |
feat: add some i18n resource
Change-Id: I29c18f62adebd0582de1641f9dea45f0ca104599
Issue-ID: USECASEUI-370
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management')
2 files changed, 35 insertions, 94 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 c5bb47b3..376d1770 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 @@ -12,7 +12,7 @@ [NSTinfo]="NSTinfo" > </app-basic-info> - <nz-list [nzDataSource]="data" nzBordered nzHeader="任务详情:" [nzFooter]="null" [nzRenderItem]="defaultItem" > + <nz-list [nzDataSource]="data" nzBordered nzHeader="Task Detail:" [nzFooter]="null" [nzRenderItem]="defaultItem" > <ng-template #defaultItem let-item> <nz-list-item nz-row nzType="flex" nzJustify="center" > <nz-steps 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 127a5b98..62df0709 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,68 +1,33 @@ -<nz-modal - [(nzVisible)]="showModel" - [nzTitle]="title + '参数'" - (nzOnCancel)="handleCancel()" - (nzOnOk)="handleOk()" - nzWidth="700px" -> +<nz-modal [(nzVisible)]="showModel" [nzTitle]="title + 'Parameter'" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()" + nzWidth="700px"> <div class="subnet_params_container"> <form nz-form *ngIf="title === '无线域'"> <nz-form-item *ngFor="let item of wirelessFormItems"> <nz-form-label [nzSpan]="6" nzRequired [nzFor]="item.key"> - {{ item.title }} - </nz-form-label> - <nz-form-control - [nzSpan]="10" - *ngIf="item.key !== 'an_coverage_area_ta_list'" - > - <input - nz-input - [(ngModel)]="detailData[item.key]" - [name]="item.key" - [id]="item.key" - /> + {{ item.title }} + </nz-form-label> + <nz-form-control [nzSpan]="10" *ngIf="item.key !== 'an_coverage_area_ta_list'"> + <input nz-input [(ngModel)]="detailData[item.key]" [name]="item.key" [id]="item.key" /> </nz-form-control> <div *ngIf="item.key === 'an_coverage_area_ta_list'"> <div *ngFor="let area of areaList; let i = index"> - <nz-form-control - [nzSpan]="4" - [nzOffset]="i && !ind ? 6 : 0" - class="subnet_params_area" - *ngFor="let item of area; let ind = index" - > - <nz-select - [(ngModel)]="item.selected" - [name]="'area' + i + ind" + <nz-form-control [nzSpan]="4" [nzOffset]="i && !ind ? 6 : 0" class="subnet_params_area" + *ngFor="let item of area; let ind = index"> + <nz-select [(ngModel)]="item.selected" [name]="'area' + i + ind" (nzOpenChange)="handleChange(area, item)" - (ngModelChange)=" handleChangeSelected(area, item) " - > - <nz-option - [nzValue]="op.name" - [nzLabel]="op.name" - *ngFor="let op of item.options" - ></nz-option> + (ngModelChange)=" handleChangeSelected(area, item) "> + <nz-option [nzValue]="op.name" [nzLabel]="op.name" *ngFor="let op of item.options"> + </nz-option> </nz-select> </nz-form-control> <nz-form-control [nzSpan]="1" [nzOffset]="1"> - <button - nz-button - nzType="primary" - nzSize="small" - class="subnet_params_button" - *ngIf="!i" - (click)="creatAreaList()" - > - <i nz-icon class="anticon anticon-plus subnet_params_icon" ></i> + <button nz-button nzType="primary" nzSize="small" class="subnet_params_button" *ngIf="!i" + (click)="creatAreaList()"> + <i nz-icon class="anticon anticon-plus subnet_params_icon"></i> </button> - <button - nz-button - nzType="primary" - nzSize="small" - class="subnet_params_button" - *ngIf="i" - (click)="deleteAreaList(i)" - > - <i nz-icon class="anticon anticon-minus subnet_params_icon" ></i> + <button nz-button nzType="primary" nzSize="small" class="subnet_params_button" *ngIf="i" + (click)="deleteAreaList(i)"> + <i nz-icon class="anticon anticon-minus subnet_params_icon"></i> </button> </nz-form-control> </div> @@ -72,58 +37,34 @@ <form nz-form *ngIf="title === '传输域'"> <nz-form-item *ngFor="let item of transferFormItems"> <nz-form-label [nzSpan]="7" nzRequired [nzFor]="item.key"> - {{ item.title }} - </nz-form-label> + {{ item.title }} + </nz-form-label> <nz-form-control [nzSpan]="12"> - <input - nz-input - [(ngModel)]="detailData[item.key]" - [name]="item.key" - [id]="item.key" - /> + <input nz-input [(ngModel)]="detailData[item.key]" [name]="item.key" [id]="item.key" /> </nz-form-control> </nz-form-item> </form> <form nz-form *ngIf="title === '核心域'"> <nz-form-item *ngFor="let item of coreFormItems"> <nz-form-label [nzSpan]="10" nzRequired [nzFor]="item.key"> - {{ item.title }} - </nz-form-label> + {{ item.title }} + </nz-form-label> <nz-form-control [nzSpan]="10"> - <input - nz-input - [id]="item.key" - [name]="item.key" - [(ngModel)]="detailData[item.key]" + <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' " - /> - <nz-radio-group - [name]="item.key" - [(ngModel)]="detailData[item.key]" - *ngIf="item.title === 'Resource Sharing Level'" - > - <label - nz-radio - [nzValue]="option.key" - *ngFor="let option of item.options" - > - {{ option.title }} - </label> + *ngIf=" item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' " /> + <nz-radio-group [name]="item.key" [(ngModel)]="detailData[item.key]" + *ngIf="item.title === 'Resource Sharing Level'"> + <label nz-radio [nzValue]="option.key" *ngFor="let option of item.options"> + {{ option.title }} + </label> </nz-radio-group> - <nz-select - [name]="item.key" - [(ngModel)]="detailData[item.key]" - *ngIf="item.title === 'Mobility'" - > - <nz-option - [nzValue]="option.key" - [nzLabel]="option.title" - *ngFor="let option of item.options" - ></nz-option> + <nz-select [name]="item.key" [(ngModel)]="detailData[item.key]" *ngIf="item.title === 'Mobility'"> + <nz-option [nzValue]="option.key" [nzLabel]="option.title" *ngFor="let option of item.options"> + </nz-option> </nz-select> </nz-form-control> </nz-form-item> </form> </div> -</nz-modal> +</nz-modal>
\ No newline at end of file |