diff options
author | 2020-08-28 09:06:45 +0800 | |
---|---|---|
committer | 2020-08-28 09:06:58 +0800 | |
commit | 107f0ae0a4963682bfe8ce10ef9ba2b0f87ec8b7 (patch) | |
tree | d2577ee95b06c8f415814ecdbe76e222042e79ce /usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html | |
parent | 3e5274bb7d0e5c9abf5aed9a6e6d82a28da5ec7e (diff) |
feat: Three new parameters for Endpoint of An/Cn 5G slicingTast
Change-Id: If29e1b67c9fcdec31950cd38d0cadba4eb55010c
Issue-ID: USECASEUI-444
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/subnet-params-model.component.html')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html | 31 |
1 files changed, 28 insertions, 3 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 552523c0..50b6e5ad 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 @@ -19,13 +19,13 @@ </form> <form nz-form *ngIf="title === 'An' || title === 'Cn'"> <nz-form-item *ngFor="let item of coreFormItems"> - <nz-form-label [nzSpan]="(item.key === 'an_coverage_area_ta_list' && title === 'An')?7:13" nzRequired> + <nz-form-label [nzSpan]="(item.key === 'an_coverage_area_ta_list' || item.title === 'Endpoint')?7:13" nzRequired *ngIf=" item.title !== 'Endpoint' || EndpointEnable "> {{ item.title }} </nz-form-label> - <nz-form-control [nzSpan]="8" *ngIf="item.key !== 'an_coverage_area_ta_list'"> + <nz-form-control [nzSpan]="item.title === 'Endpoint'?14:8" *ngIf="item.key !== 'an_coverage_area_ta_list'"> <input nz-input [id]="item.key" [name]="item.key" [(ngModel)]="detailData[item.key]" [readOnly]="item.title === 'S-NSSAI'" [disabled]="item.title === 'S-NSSAI'" - *ngIf=" item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' " /> + *ngIf=" item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' && item.title !== 'Endpoint' " /> <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"> @@ -36,6 +36,31 @@ <nz-option [nzValue]="option.key" [nzLabel]="option.title" *ngFor="let option of item.options"> </nz-option> </nz-select> + <!-- 2020.08.17 Add 3 parameters for Endpoint--> + <!-- Comment: The following code--> + <nz-input-group *ngIf="item.title === 'Endpoint' && EndpointEnable"> + <div *ngFor="let option of item.options;let i=index"> + <input nz-input + *ngIf="option.title !== 'nexthop_info'" + [id]="option.key" + [name]="option.key" + [title]="EndpointInputs[i][option.key]" + [(ngModel)]="EndpointInputs[i][option.key]" + style="width:32%;margin-right:1%" /> + <nz-select + *ngIf="option.title === 'nexthop_info'" + [name]="option.key" + [title]="EndpointInputs[i][option.key]" + [(ngModel)]="EndpointInputs[i][option.key]" style="width:34%;"> + <nz-option + *ngFor="let infoOption of NexthopInfoOptions" + [nzValue]="infoOption.key" + [nzLabel]="infoOption.title" + ></nz-option> + </nz-select> + </div> + </nz-input-group> + <!-- Comment: Above code--> </nz-form-control> <div *ngIf="title === 'An' && item.key === 'an_coverage_area_ta_list'"> <div *ngFor="let area of areaList; let i = index"> |