接口数据对接

This commit is contained in:
714943302@qq.com
2018-11-21 18:24:06 +08:00
parent 93f9dc0940
commit afa2130c8d
2 changed files with 210 additions and 328 deletions
@@ -14,12 +14,12 @@
<input type="radio" [(ngModel)]="FLT_POS" [value]="2" name="filter-position">
<span>查找定位</span>
</label>
<input class="form-control" [(ngModel)]="SEARCH" type="text" (keyup.enter) = "inputEnter()">
<input class="form-control" [(ngModel)]="SEARCH" type="text" (keyup.enter) = "inputEnter()" id="inputerInfo">
</div>
<div class="line-operator-right mb-3 col-xlg-4 col-mlg-4 col-xl-4 col-lg-1">
<!-- <button type="button" class="btn btn-info mr-3">值机岛编辑</button>
<button type="button" class="btn btn-info mr-3">打印</button> -->
<button type="button" class="btn btn-info mr-3">刷新</button>
<button type="button" class="btn btn-info mr-3" (click)="clearFiter()">刷新</button>
</div>
</div>
</div>
@@ -30,18 +30,17 @@
<thead>
<tr>
<th>序号</th>
<!-- <th>值机岛代码</th>
<th>值机岛名称</th> -->
<th *ngFor="let airline_col of col_lists">{{airline_col.COL_CN}}</th>
<th>值机岛代码</th>
<th>值机岛名称</th>
<!-- th *ngFor="let airline_col of col_lists">{{airline_col.COL_CN}}</th> -->
</tr>
</thead>
<tbody>
<tr *ngFor="let airline_row of render_data;let i = index" (click)="selectRow(airline_row)"
[ngClass]="{'selected':row_state['renderFlight']===airline_row['renderFlight']}">
<tr *ngFor="let checkinGroup of checkinGroups;let i = index">
<td>{{i+1}}</td>
<!-- <td>{{airline_col.checkinGroupCode}}</td>
<td>{{airline_col.checkinGroupName}}</td> -->
<td *ngFor="let airline_col of col_lists" [ngStyle]="{'background-color':getColor(airline_col.COL_CODE)}">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td>
<td>{{checkinGroup.checkinGroupCode}}</td>
<td>{{checkinGroup.checkinGroupName}}</td>
<!-- <td *ngFor="let airline_col of col_lists" [ngStyle]="{'background-color':getColor(airline_col.COL_CODE)}">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td> -->
</tr>
</tbody>
</table>