2018-11-15 09:06:56 +08:00
< 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" >
2018-11-19 11:16:26 +08:00
< select class = "mr-4 form-control" [( ngModel )]=" SEL_COL " name = "" id = "" >
2018-11-15 09:06:56 +08:00
< option value = "" > 选择列名</ 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 >
2018-11-19 11:16:26 +08:00
< input class = "form-control" [( ngModel )]=" SEARCH " type = "text" ( keyup . enter ) = " inputEnter ()" >
2018-11-15 09:06:56 +08:00
</ 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" > 刷新</ button >
</ div >
</ div >
< div class = "second-condition mb-3 row" >
< div class = "input-container mr-4" >
2018-11-19 11:16:26 +08:00
< label for = "" > 航空公司: </ label >
< select class = "form-control" [( ngModel )]=" filterItems . HK " ( ngModelChange )=" selectChange ()" >
< option value = "" ></ option >
< option value = "GH" > 海南航空公司</ option >
< option value = "CH" > 国外航空公司</ option >
</ select >
2018-11-15 09:06:56 +08:00
</ div >
2018-11-19 11:16:26 +08:00
< div class = "input-container mr-4" >
< label for = "" > 机型: </ label >
< select class = "form-control" [( ngModel )]=" filterItems . JX " ( ngModelChange )=" selectChange ()" >
< option value = "" ></ option >
< option value = "A" > A306</ option >
< option value = "B" > B252</ option >
< option value = "C" > C256</ option >
</ select >
</ div >
</ div >
2018-11-15 09:06:56 +08:00
</ div >
< div class = "airline-table" >
2018-11-19 11:16:26 +08:00
< div id = "table-container" class = "table-container" >
< table id = "table" class = "table table-bordered table-striped" >
2018-11-15 09:06:56 +08:00
< thead >
< tr >
< th > 序号</ th >
2018-11-19 11:16:26 +08:00
<!-- <th>飞机号</th>
<th>最大乘客数</th>
<th>最大货物重量</th>
<th>最大起飞重量</th>
<th>最大廊桥数</th>
<th>机主航空公司</th>
<th>航空公司</th>
<th>机型</th> -->
2018-11-15 09:06:56 +08:00
< th * ngFor = "let airline_col of aircraft_lists" > {{airline_col.COL_CN}}</ th >
</ tr >
</ thead >
< tbody >
2018-11-19 11:16:26 +08:00
< tr * ngFor = "let airline_row of render_data;let i = index" ( click )=" selectRow ( airline_row )"
[ ngClass ]="{' selected ' :row_state [' renderFlight ']=== airline_row [' renderFlight ']}" >
2018-11-15 09:06:56 +08:00
< td > {{i+1}}</ td >
2018-11-19 11:16:26 +08:00
<!-- <td>{{airline_col.aircraftNumber}}</td>
<td>{{airline_col.maxPassengers}}</td>
<td>{{airline_col.maxFreightWeight}}</td>
<td>{{airline_col.maxTakeoffWeight}}</td>
<td>{{airline_col.maxAirbridges}}</td>
<td>{{airline_col.aircraftOwnerCode}}</td>
<td>{{airline_col.airlineCode}}</td>
<td>{{airline_col.aircraftTypeCode}}</td> -->
2018-11-15 09:06:56 +08:00
< td * ngFor = "let airline_col of aircraft_lists" [ ngStyle ]="{' background-color ' :getColor ( airline_col . COL_CODE )}" > {{airline_row['renderFlight'][airline_col.COL_CODE]}}</ td >
</ tr >
</ tbody >
</ table >
</ div >
</ div >
</ div >
</ div >