2018-11-15 09:10:08 +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" >
< select class = "mr-4 form-control" [( ngModel )]=" SEL_COL " name = "" id = "" >
< 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:51:37 +08:00
< input class = "form-control" [( ngModel )]=" SEARCH " type = "text" ( keyup . enter ) = " inputEnter ()" >
2018-11-15 09:10:08 +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>
<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" >
< label for = "" > 航空集团: </ label >
2018-11-19 11:51:37 +08:00
< select [( ngModel )]=" filterItems . JT " class = "form-control" ( ngModelChange )=" selectChange ()" >
2018-11-15 09:10:08 +08:00
< option value = "" ></ option >
< option value = "GH" > 国内航空集团</ option >
2018-11-19 11:51:37 +08:00
< option value = "CH" > 国际航空集团</ option >
< option value = "QH" > 其他航空集团</ option >
2018-11-15 09:10:08 +08:00
</ select >
</ div >
< div class = "input-container mr-4" >
< label for = "" > 航班代理: </ label >
2018-11-19 11:51:37 +08:00
< select [( ngModel )]=" filterItems . HZ " class = "form-control" ( ngModelChange )=" selectChange ()" >
2018-11-15 09:10:08 +08:00
< option value = "" ></ option >
2018-11-19 11:51:37 +08:00
< option value = "GZ" > 广州</ option >
< option value = "XG" > 香港华明</ option >
< option value = "QT" > 其他城市</ option >
2018-11-15 09:10:08 +08:00
</ select >
</ div >
</ div >
</ div >
< div class = "airline-table" >
2018-11-19 11:51:37 +08:00
< div id = "table-container" class = "table-container" >
< table id = "table" class = "table table-bordered table-striped" >
2018-11-15 09:10:08 +08:00
< thead >
< tr >
< th > 序号</ th >
2018-11-19 11:51:37 +08:00
<!-- <th>航空公司代码</th>
<th>航空公司中文名</th>
<th>中文简称</th>
<th>航空公司英文名</th>
<th>英文简称</th>
<th>IATA码</th>
<th>CAA码</th>
<th>ICAO码</th>
<th>上级母公司</th> -->
2018-11-15 09:10:08 +08:00
< th * ngFor = "let airline_col of airline_lists" > {{airline_col.COL_CN}}</ th >
</ tr >
</ thead >
< tbody >
2018-11-19 11:51:37 +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:10:08 +08:00
< td > {{i+1}}</ td >
2018-11-19 11:51:37 +08:00
<!-- <td>{{airline_col.airlineCode}}</td>
<td>{{airline_col.airlineName}}</td>
<td>{{airline_col.briefNameChn}}</td>
<td>{{airline_col.airlineNameEng}}</td>
<td>{{airline_col.briefNameEng}}</td>
<td>{{airline_col.airlineCodeIata}}</td>
<td>{{airline_col.airlineCodeCaa}}</td>
<td>{{airline_col.airlineCodeIcao}}</td>
<td>{{airline_col.parentAirlineId}}</td> -->
2018-11-15 09:10:08 +08:00
< td * ngFor = "let airline_col of airline_lists" [ ngStyle ]="{' background-color ' :getColor ( airline_col . COL_CODE )}" > {{airline_row['renderFlight'][airline_col.COL_CODE]}}</ td >
</ tr >
</ tbody >
</ table >
</ div >
</ div >
</ div >
</ div >