diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-13 16:15:24 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-13 16:15:30 +0800 |
commit | 572a0457a0fb11ce239e5e9d3666b1387fa93442 (patch) | |
tree | 34bc3f9a5815145d230fddaa054dee4c60731195 /usecaseui-portal | |
parent | 2e359b756193f4c93fe24b35162067d9b4470c33 (diff) |
Fix instance instantiation for e2e/NS
Change-Id: Icd1cc946fd0a25de2751ad4f465f27ae3d89fe50
Issue-ID: USECASEUI-252
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal')
-rw-r--r-- | usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html | 8 | ||||
-rw-r--r-- | usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html index 3f642e97..497693fe 100644 --- a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html +++ b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.html @@ -49,7 +49,7 @@ <h5 *ngIf="parameter.type === 'vf_location'" style="padding-left:10px;">id: {{parameter.name}}</h5> <span *ngIf="parameter.type === 'vf_location'"> vf_location: </span> - <nz-select *ngIf="parameter.type === 'vf_location'" style="width: 165px;" + <nz-select *ngIf="parameter.type === 'vf_location'" [(ngModel)]="parameter.value" nzAllowClear> <nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option> </nz-select> @@ -69,7 +69,7 @@ <h5 *ngIf="input.type === 'vf_location'" style="padding-left:10px;">id: {{input.name}}</h5> <span *ngIf="input.type === 'vf_location'"> vf_location: </span> - <nz-select *ngIf="input.type === 'vf_location'" style="width: 165px;" + <nz-select *ngIf="input.type === 'vf_location'" [(ngModel)]="input.value" nzAllowClear> <nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" @@ -105,7 +105,7 @@ <h5 *ngIf="parameter.type === 'vf_location'" style="padding-left:10px;">id: {{parameter.name}}</h5> <span *ngIf="parameter.type === 'vf_location'"> vf_location: </span> - <nz-select *ngIf="parameter.type === 'vf_location'" style="width: 165px;" + <nz-select *ngIf="parameter.type === 'vf_location'" [(ngModel)]="parameter.value" nzAllowClear> <nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option> </nz-select> @@ -121,7 +121,7 @@ <li *ngFor="let vnf of nsTemplateParameters.vnfs;"> <h5 style="padding-left:10px;">id: {{vnf.vnf_id}}</h5> <span> vf_location: </span> - <nz-select style="width: 165px;" [(ngModel)]="vnf.value" nzAllowClear> + <nz-select [(ngModel)]="vnf.value" nzAllowClear> <nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option> </nz-select> </li> diff --git a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less index 79e952f4..3a1693b6 100644 --- a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less +++ b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.less @@ -120,11 +120,12 @@ hr { ul li { margin: 10px 0; width: 40%; + margin-right: 5%; float: left; text-align: left; span { display: inline-block; - width: 25%; + width: 30%; font: 700 14px "Arial"; vertical-align: middle; overflow: hidden; @@ -132,7 +133,7 @@ hr { text-align: left; } input,nz-select{ - width: 170px; + width: 65%; } } } |