Files
airport-chengdu-web/src/app/pages/basic-data/airport/airport.component.html
T

78 lines
3.9 KiB
HTML

<div class="main-page">
<div class="page-content">
<div class="search-filter mb-3">
<div class="first-condition row">
<div class="line-operator-left input-container mb-3 col-xlg-8 col-mlg-8 col-xl-8 col-lg-10">
<select class="mr-4 form-control" [(ngModel)]="SEL_COL" name="" id="">
<option value="">选择列名</option>
<option *ngFor="let col of col_lists" [value]="col.col_code">{{col.col_chn}}</option>
</select>
<label class="radio-inline custom-radio nowrap mr-4">
<input type="radio" [(ngModel)]="FLT_POS" [value]="1" name="filter-position">
<span>过滤</span>
</label>
<label class="radio-inline custom-radio nowrap mr-4">
<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()" id="inputInfo">
</div>
</div>
<div class="second-condition mb-3 row">
<div class="input-container mr-4">
<label for="airportGroupId">机场集团:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.airportGroupId" (ngModelChange)="selectChange()" id="jt">
<option value=""></option>
<option *ngFor="let item of airportgroups" [value]="item.airportGroupId">{{item.airportGroupName}}</option>
</select>
</div>
<div class="input-container mr-4">
<label for="cityId">城市:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.cityId" (ngModelChange)="selectChange()" id="city">
<option value=""></option>
<option *ngFor="let item of citys" [value]="item.cityId">{{item.cityNameChn}}</option>
</select>
</div>
</div>
</div>
<div class="airline-table">
<div id="table-container" class="table-container">
<table id="table" class="table table-bordered table-striped">
<thead>
<tr>
<th>序号</th>
<th>机场代码</th>
<th>机场中文名</th>
<th>中文简称</th>
<th>机场英文名</th>
<th>英文简称</th>
<th>IATA码</th>
<th>CAA码</th>
<th>ICAO码</th>
<th>机场集团</th>
<th>所在城市</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let airport of render_data;let i = index" (click)="selectRow(airport)"
[ngClass]="{'selected':row_state===airport}">
<td>{{i+1}}</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.airportGroupName}}</td>
<td>{{airport.cityNameChn}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>