diff options
author | Tao Shen <shentao@chinamobile.com> | 2019-04-04 07:59:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-04 07:59:16 +0000 |
commit | bf099f65e6e5b7b43458eb58bd75e2b134c63b74 (patch) | |
tree | 16e71ed410a4c221205080c0ff6a6c641ac22de0 /usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html | |
parent | 0a42f3237519f65c103318cff8e19155117ea898 (diff) | |
parent | 9b7c41cc4a49bc1980ed48d6a29fc28f1b291417 (diff) |
Merge "Fix instance instantiation for CCVPN"
Diffstat (limited to 'usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html')
-rw-r--r-- | usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html index f64e1237..2f0469c2 100644 --- a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html +++ b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html @@ -284,17 +284,17 @@ <tr *ngFor="let item of siteModalTable.data; let i = index;"> <td>{{i+1}}</td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_name}}</span> - <input nz-input [(ngModel)]="siteWanParams.sitewanport_name" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_name}}</span> + <input nz-input [(ngModel)]="item.sitewanport_name" *ngIf="item.tabInputShow"> </td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_description}}</span> - <input nz-input [(ngModel)]="siteWanParams.sitewanport_description" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_description}}</span> + <input nz-input [(ngModel)]="item.sitewanport_description" *ngIf="item.tabInputShow"> </td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_portType}}</span> - <nz-select style="width: 100px;" [(ngModel)]="siteWanParams.sitewanport_portType" nzAllowClear - nzPlaceHolder="Choose" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_portType}}</span> + <nz-select style="width: 100px;" [(ngModel)]="item.sitewanport_portType" nzAllowClear + nzPlaceHolder="Choose" *ngIf="item.tabInputShow"> <nz-option nzValue="GE" nzLabel="GE"></nz-option> <nz-option nzValue="FE" nzLabel="FE"></nz-option> <nz-option nzValue="XGE" nzLabel="XGE"></nz-option> @@ -304,32 +304,32 @@ </nz-select> </td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_portNumber}}</span> - <input nz-input [(ngModel)]="siteWanParams.sitewanport_portNumber" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_portNumber}}</span> + <input nz-input [(ngModel)]="item.sitewanport_portNumber" *ngIf="item.tabInputShow"> </td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_ipAddress}}</span> - <input nz-input [(ngModel)]="siteWanParams.sitewanport_ipAddress" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_ipAddress}}</span> + <input nz-input [(ngModel)]="item.sitewanport_ipAddress" *ngIf="item.tabInputShow"> </td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_providerIpAddress}}</span> - <input nz-input [(ngModel)]="siteWanParams.sitewanport_providerIpAddress" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_providerIpAddress}}</span> + <input nz-input [(ngModel)]="item.sitewanport_providerIpAddress" *ngIf="item.tabInputShow"> </td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_transportNetworkName}}</span> - <input nz-input [(ngModel)]="siteWanParams.sitewanport_transportNetworkName" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_transportNetworkName}}</span> + <input nz-input [(ngModel)]="item.sitewanport_transportNetworkName" *ngIf="item.tabInputShow"> </td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_inputBandwidth}}</span> - <input nz-input [(ngModel)]="siteWanParams.sitewanport_inputBandwidth" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_inputBandwidth}}</span> + <input nz-input [(ngModel)]="item.sitewanport_inputBandwidth" *ngIf="item.tabInputShow"> </td> <td> - <span *ngIf="wanPortEditNum==(i+1) && !wanPortModal">{{item.sitewanport_outputBandwidth}}</span> - <input nz-input [(ngModel)]="siteWanParams.sitewanport_outputBandwidth" *ngIf="wanPortEditNum==(i+1) && wanPortModal"> + <span *ngIf="!item.tabInputShow">{{item.sitewanport_outputBandwidth}}</span> + <input nz-input [(ngModel)]="item.sitewanport_outputBandwidth" *ngIf="item.tabInputShow"> </td> <td> - <span class="action" (click)="editWanPort(i+1)"><i class="anticon anticon-edit" style="margin: 0 5px"></i></span> - <span class="action" (click)="deleteModel(i+1)"><i class="anticon anticon-delete"></i></span> + <span class="action" (click)="editWanPort(i+1,item,siteWanData)"><i class="anticon anticon-edit" style="margin: 0 5px"></i></span> + <span class="action" (click)="deleteModel(i+1,item,siteWanData)"><i class="anticon anticon-delete"></i></span> </td> </tr> <!-- </ng-template> --> |