2018-11-13 14:16:16 +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-14 17:26:21 +08:00
< select class = "mr-4 form-control" [( ngModel )]=" SEL_COL " name = "" id = "" >
< option value = "" > 选择列名</ option >
2018-11-13 14:16:16 +08:00
</ select >
< label class = "radio-inline custom-radio nowrap mr-4" >
2018-11-14 17:26:21 +08:00
< input type = "radio" [( ngModel )]=" FLT_POS " [ value ]=" 1 " name = "filter-position" >
2018-11-14 15:38:07 +08:00
< span > 过滤</ span >
</ label >
< label class = "radio-inline custom-radio nowrap mr-4" >
2018-11-14 17:26:21 +08:00
< input type = "radio" [( ngModel )]=" FLT_POS " [ value ]=" 2 " name = "filter-position" >
2018-11-14 15:38:07 +08:00
< span > 查找定位</ span >
</ label >
2018-11-16 14:14:07 +08:00
< input class = "form-control" [( ngModel )]=" SEARCH " type = "text" ( keyup . enter ) = " inputEnter ()" >
2018-11-13 14:16:16 +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 >
</ div >
</ div >
</ div >
< div class = "airline-table" >
2018-11-16 14:14:07 +08:00
< div id = "table-container" class = "table-container" >
< table id = "table" class = "table table-bordered table-striped" >
2018-11-13 14:16:16 +08:00
< thead >
< tr >
< th > 序号</ th >
< th * ngFor = "let airline_col of col_lists" > {{airline_col.COL_CN}}</ th >
</ tr >
</ thead >
< tbody >
2018-11-16 14:14:07 +08:00
< tr * ngFor = "let airline_row of render_data;let i = index" ( click )=" selectRow ( airline_row )"
[ ngClass ]="{' selected ' :row_state [' renderFlight '][' FLNO ']=== airline_row [' renderFlight '][' FLNO ']}" >
2018-11-13 14:16:16 +08:00
< td > {{i+1}}</ 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 >
</ div >
</ div >
</ div >
</ div >