2018-10-26 11:33:25 +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-21 18:55:57 +08:00
< select [( ngModel )]=" SEL_COL " class = "mr-4 form-control" name = "" id = "" >
2018-10-26 11:33:25 +08:00
< option value = "" > 选择列名</ option >
2018-11-21 18:55:57 +08:00
< option * ngFor = "let airline_col of col_lists" [ value ]=" airline_col . COL_CODE " > {{airline_col.COL_CN}}</ option >
2018-10-26 11:33:25 +08:00
</ select >
< label class = "radio-inline custom-radio nowrap mr-4" >
2018-11-13 20:28:53 +08:00
< input type = "radio" [( ngModel )]=" FLT_POS " [ value ]=" 1 " name = "filter-position" >
2018-10-26 11:33:25 +08:00
< span > 过滤</ span >
</ label >
< label class = "radio-inline custom-radio nowrap mr-4" >
2018-11-13 20:28:53 +08:00
< input type = "radio" [( ngModel )]=" FLT_POS " [ value ]=" 2 " name = "filter-position" >
2018-10-26 11:33:25 +08:00
< span > 查找定位</ span >
</ label >
2018-11-15 18:29:19 +08:00
< input class = "form-control" [( ngModel )]=" SEARCH " type = "text" ( keyup . enter )=" inputEnter ()" >
2018-10-26 11:33:25 +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>
2018-11-27 18:16:25 +08:00
<button type="button" class="btn btn-info mr-3">查看开关灯记录</button> -->
< button type = "button" class = "btn btn-info mr-3" ( click )=" refresh ()" > 刷新</ button >
2018-10-26 11:33:25 +08:00
<!-- <button type="button" class="btn btn-info">航班动态信息</button> -->
</ div >
</ div >
< div class = "second-condition mb-3 row" >
< div class = "input-container mr-4" >
< label for = "" > 航空公司: </ label >
2018-11-27 18:16:25 +08:00
< select [( ngModel )]=" filterItems . ALCD " ( ngModelChange )=" selectChange ()" class = "form-control" >
2018-10-26 11:33:25 +08:00
< option value = "" ></ option >
2018-11-21 18:55:57 +08:00
< option * ngFor = "let airline of airlines" [ value ]=" airline . airlineCodeIata " > {{airline.airlineName}}</ option >
2018-10-26 11:33:25 +08:00
</ select >
</ div >
< div class = "input-container mr-4" >
< label for = "" > 航线类别: </ label >
2018-11-15 14:57:26 +08:00
< select [( ngModel )]=" filterItems . FLIN " ( ngModelChange )=" selectChange ()" class = "form-control" >
2018-10-26 11:33:25 +08:00
< option value = "" ></ option >
2018-11-12 11:27:23 +08:00
< option value = "D" > 国内</ option >
< option value = "I" > 国际</ option >
< option value = "M" > 混合</ option >
< option value = "R" > 地区</ option >
2018-10-26 11:33:25 +08:00
</ select >
</ div >
< div class = "input-container mr-4" >
< label for = "" > 航班类别: </ label >
2018-11-15 14:57:26 +08:00
< select [( ngModel )]=" filterItems . FLTY " ( ngModelChange )=" selectChange ()" class = "form-control" >
2018-10-26 11:33:25 +08:00
< option value = "" ></ option >
2018-11-12 11:27:23 +08:00
< option value = "" > 客机</ option >
< option value = "" > 货机</ option >
< option value = "" > 军用</ option >
< option value = "" > VIP</ option >
2018-10-26 11:33:25 +08:00
</ select >
</ div >
2018-11-07 16:32:35 +08:00
<!-- <div class="input-container mr-4">
2018-11-27 18:16:25 +08:00
<label for="">航班任务: </label>
<select class="form-control" name="" id="">
<option value=""></option>
</select>
</div> -->
2018-10-26 11:33:25 +08:00
< div class = "input-container mr-4" >
< label for = "" > 到达/出发:</ label >
2018-11-15 14:57:26 +08:00
< select [( ngModel )]=" filterItems . MVIN " ( ngModelChange )=" selectChange ()" class = "form-control" >
2018-10-26 11:33:25 +08:00
< option value = "" ></ option >
2018-11-12 11:27:23 +08:00
< option value = "A" > 到达</ option >
< option value = "D" > 离港</ option >
2018-10-26 11:33:25 +08:00
</ select >
</ div >
< div class = "input-container mr-4" >
< label for = "" > 运营状态: </ label >
2018-11-27 18:16:25 +08:00
< select [( ngModel )]=" filterItems . FTSS " ( ngModelChange )=" selectChange ()" class = "form-control" >
2018-10-26 11:33:25 +08:00
< option value = "" ></ option >
2018-11-27 18:16:25 +08:00
< option * ngFor = "let status of flightStatus" [ value ]=" status . sttc " > {{status.stdc}}</ option >
2018-10-26 11:33:25 +08:00
</ select >
</ div >
< div class = "input-container mr-4" >
< label for = "" > 航站楼: </ label >
2018-11-15 14:57:26 +08:00
< select [( ngModel )]=" filterItems . TRML " ( ngModelChange )=" selectChange ()" class = "form-control" >
2018-10-26 11:33:25 +08:00
< option value = "" ></ option >
2018-11-21 18:55:57 +08:00
< option * ngFor = "let terminal of terminals" [ value ]=" terminal . terminalCode " > {{terminal.terminalName}}</ option >
2018-10-26 11:33:25 +08:00
</ select >
</ div >
< div class = "input-container mr-4" >
< label for = "" > 异常状态: </ label >
2018-11-12 11:27:23 +08:00
< select class = "form-control" >
2018-10-26 11:33:25 +08:00
< option value = "" ></ option >
</ select >
</ div >
2018-11-07 16:32:35 +08:00
< div class = "input-container mr-4" >
< label for = "" > 机坪代理: </ label >
2018-11-12 11:27:23 +08:00
< select [( ngModel )]=" filterItems . FHAG " class = "form-control" >
2018-11-07 16:32:35 +08:00
< option value = "" ></ option >
2018-11-12 11:27:23 +08:00
< option value = "GH" > 国航代理</ option >
< option value = "CH" > 川航代理</ option >
2018-11-07 16:32:35 +08:00
</ select >
</ div >
< div class = "input-container mr-4" >
< label for = "" > 旅客代理: </ label >
2018-11-12 11:27:23 +08:00
< select [( ngModel )]=" filterItems . PHAG " class = "form-control" >
2018-11-07 16:32:35 +08:00
< option value = "" ></ option >
2018-11-12 11:27:23 +08:00
< option value = "GH" > 国航代理</ option >
< option value = "CH" > 川航代理</ option >
2018-11-07 16:32:35 +08:00
</ select >
</ div >
< div class = "input-container mr-4" >
< label for = "" > 维护代理: </ label >
2018-11-12 11:27:23 +08:00
< select [( ngModel )]=" filterItems . MHAG " class = "form-control" >
2018-11-07 16:32:35 +08:00
< option value = "" ></ option >
2018-11-12 11:27:23 +08:00
< option value = "GH" > 国航代理</ option >
< option value = "CH" > 川航代理</ option >
2018-11-07 16:32:35 +08:00
</ select >
</ div >
2018-10-26 11:33:25 +08:00
</ div >
< div class = "third-condition row" >
< label class = "radio-inline custom-checkbox nowrap mr-4" >
2018-11-27 18:16:25 +08:00
< input type = "checkbox" [( ngModel )]=" checkboxGroup . related " ( ngModelChange )=" checkboxChange ()" >
2018-10-26 11:33:25 +08:00
< span > 航班关联信息</ span >
</ label >
< label class = "radio-inline custom-checkbox nowrap mr-4" >
2018-11-27 18:16:25 +08:00
< input type = "checkbox" [( ngModel )]=" checkboxGroup . detail " ( ngModelChange )=" checkboxChange ()" >
2018-11-26 18:53:23 +08:00
< span > 详细信息</ span >
2018-10-26 11:33:25 +08:00
</ label >
< label class = "radio-inline custom-checkbox nowrap mr-4" >
2018-11-27 18:16:25 +08:00
< input type = "checkbox" [( ngModel )]=" checkboxGroup . vip " ( ngModelChange )=" checkboxChange ()" >
2018-10-26 11:33:25 +08:00
< span > 航班VIP信息</ span >
</ label >
< label class = "radio-inline custom-checkbox nowrap mr-4" >
2018-11-27 18:16:25 +08:00
< input type = "checkbox" [( ngModel )]=" checkboxGroup . guarantee " ( ngModelChange )=" checkboxChange ()" >
2018-10-26 11:33:25 +08:00
< span > 保障信息</ span >
</ label >
< label class = "radio-inline custom-checkbox nowrap" >
2018-11-27 18:16:25 +08:00
< input type = "checkbox" [( ngModel )]=" checkboxGroup . special " ( ngModelChange )=" checkboxChange ()" >
2018-10-26 11:33:25 +08:00
< span > 航班特服信息</ span >
</ label >
</ div >
</ div >
< div class = "airline-table" >
2018-11-27 18:16:25 +08:00
< div id = "table-container" class = "table-container" [ ngClass ]="{' table-c ' : ! tabClose ,' table-o ' : tabClose }" >
2018-11-15 14:57:26 +08:00
< table id = "table" class = "table table-bordered table-striped" >
2018-10-26 11:33:25 +08:00
< thead >
< tr >
< th > 序号</ th >
2018-11-06 09:41:04 +08:00
< th > 重要提示</ th >
2018-11-12 11:27:23 +08:00
< th * ngFor = "let airline_col of col_lists" > {{airline_col.COL_CN}}</ th >
2018-10-26 11:33:25 +08:00
</ tr >
</ thead >
< tbody >
2018-11-26 18:53:23 +08:00
< tr * ngFor = "let airline_row of render_data;let i = index;last as isLast" ( click )=" selectRow ( airline_row )"
2018-11-15 18:29:19 +08:00
[ ngClass ]="{' selected ' :row_state [' renderFlight '][' FLNO ']=== airline_row [' renderFlight '][' FLNO ']}" >
< td > {{i+1}}</ td >
2018-11-26 18:53:23 +08:00
< td > {{isLast}}</ td >
2018-11-29 10:40:23 +08:00
< td * ngFor = "let airline_col of col_lists" [ ngClass ]=" getPosition ( airline_col . COL_CODE , airline_row )" [ ngStyle ]="{' background-color ' :getColor ( airline_col . COL_CODE , airline_row )}" > {{airline_row['renderFlight'][airline_col.COL_CODE]}}</ td >
2018-10-26 11:33:25 +08:00
</ tr >
</ tbody >
</ table >
2018-11-26 18:53:23 +08:00
</ div >
2018-11-27 18:16:25 +08:00
< div class = "airline-message" [ ngClass ]="{' tab-c ' : tabClose ,' tab-o ' : ! tabClose }" >
2018-11-26 18:53:23 +08:00
< nz-tabset [ nzTabPosition ]="' top '" [ nzType ]="' card '" [ nzShowPagination ]=" false " >
2018-11-27 18:16:25 +08:00
< nz-tab nzTitle = "关联信息" ( nzClick )=" nzClick ()" * ngIf = "checkboxGroup.related" >
2018-11-26 18:53:23 +08:00
< app-related-tab [ flight ]=" row_state " ></ app-related-tab >
</ nz-tab >
2018-11-27 18:16:25 +08:00
< nz-tab nzTitle = "详细信息" ( nzClick )=" nzClick ()" * ngIf = "checkboxGroup.detail" >
2018-11-26 18:53:23 +08:00
< app-detail-tab [ flight ]=" row_state " ></ app-detail-tab >
</ nz-tab >
2018-11-27 18:16:25 +08:00
< nz-tab nzTitle = "保障信息" ( nzClick )=" nzClick ()" * ngIf = "checkboxGroup.guarantee" >
2018-11-26 18:53:23 +08:00
< app-guarantee-tab ></ app-guarantee-tab >
</ nz-tab >
2018-11-27 18:16:25 +08:00
< nz-tab nzTitle = "VIP信息" ( nzClick )=" nzClick ()" * ngIf = "checkboxGroup.vip" >
2018-11-26 18:53:23 +08:00
< app-vip-tab ></ app-vip-tab >
</ nz-tab >
2018-11-27 18:16:25 +08:00
< nz-tab nzTitle = "特服信息" ( nzClick )=" nzClick ()" * ngIf = "checkboxGroup.special" >
< app-special-tab ></ app-special-tab >
</ nz-tab >
2018-11-26 18:53:23 +08:00
</ nz-tabset >
2018-10-26 11:33:25 +08:00
</ div >
</ div >
</ div >
</ div >