机场数据接口数据对接
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<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="inputInfo">
|
||||
</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>
|
||||
@@ -27,20 +27,22 @@
|
||||
|
||||
<div class="second-condition mb-3 row">
|
||||
<div class="input-container mr-4">
|
||||
<label for="">机场集团: </label>
|
||||
<select class="form-control" [(ngModel)]="filterItems.JT" (ngModelChange)="selectChange()">
|
||||
<label for="airportGroupId">机场集团: </label>
|
||||
<select class="form-control" [(ngModel)]="filterItems.airportGroupId" (ngModelChange)="selectChange()" id="jt">
|
||||
<option value=""></option>
|
||||
<option value="GH">国内机场</option>
|
||||
<option value="CH">国际机场</option>
|
||||
<!-- <option value="GH">国内机场</option>
|
||||
<option value="CH">国际机场</option> -->
|
||||
<option *ngFor="let item of airports" [value]="item.airportGroupId">{{item.airportGroupId}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="input-container mr-4">
|
||||
<label for="">城市: </label>
|
||||
<select class="form-control" [(ngModel)]="filterItems.CS" (ngModelChange)="selectChange()">
|
||||
<label for="cityId">城市: </label>
|
||||
<select class="form-control" [(ngModel)]="filterItems.cityId" (ngModelChange)="selectChange()" id="city">
|
||||
<option value=""></option>
|
||||
<option value="GZ">广州</option>
|
||||
<!-- <option value="GZ">广州</option>
|
||||
<option value="SH">上海</option>
|
||||
<option value="BJ">北京</option>
|
||||
<option value="BJ">北京</option> -->
|
||||
<option *ngFor="let item of airports" [value]="item.cityId">{{item.cityId}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -52,7 +54,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<!-- <th>机场代码</th>
|
||||
<th>机场代码</th>
|
||||
<th>机场中文名</th>
|
||||
<th>中文简称</th>
|
||||
<th>机场英文名</th>
|
||||
@@ -61,25 +63,24 @@
|
||||
<th>CAA码</th>
|
||||
<th>ICAO码</th>
|
||||
<th>机场集团</th>
|
||||
<th>所在城市</th> -->
|
||||
<th *ngFor="let airline_col of airport_lists">{{airline_col.COL_CN}}</th>
|
||||
<th>所在城市</th>
|
||||
<!-- <th *ngFor="let airline_col of airport_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 airport of render_data;let i = index">
|
||||
<td>{{i+1}}</td>
|
||||
<!-- <td>{{airline_col.airportCode}}</td>
|
||||
<td>{{airline_col.airportNameChn}}</td>
|
||||
<td>{{airline_col.briefNameChn}}</td>
|
||||
<td>{{airline_col.airportNameEng}}</td>
|
||||
<td>{{airline_col.briefNameEng}}</td>
|
||||
<td>{{airline_col.airportCodeIata}}</td>
|
||||
<td>{{airline_col.airportCodeCaa}}</td>
|
||||
<td>{{airline_col.airportCodeIcao}}</td>
|
||||
<td>{{airline_col.airportGroupId}}</td>
|
||||
<td>{{airline_col.cityId}}</td> -->
|
||||
<td *ngFor="let airline_col of airport_lists" [ngStyle]="{'background-color':getColor(airline_col.COL_CODE)}">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td>
|
||||
<td>{{airport.airportCode}}</td>
|
||||
<td>{{airport.airportNameChn}}</td>
|
||||
<td>{{airport.briefNameChn}}</td>
|
||||
<td>{{airport.airportNameEng}}</td>
|
||||
<td>{{airport.briefNameEng}}</td>
|
||||
<td>{{airport.airportCodeIata}}</td>
|
||||
<td>{{airport.airportCodeCaa}}</td>
|
||||
<td>{{airport.airportCodeIcao}}</td>
|
||||
<td>{{airport.airportGroupId}}</td>
|
||||
<td>{{airport.cityId}}</td>
|
||||
<!-- <td *ngFor="let airline_col of airport_lists" [ngStyle]="{'background-color':getColor(airline_col.COL_CODE)}">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td> -->
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user