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

77 lines
4.4 KiB
HTML
Raw Normal View History

2018-11-13 15:09:19 +08:00
<div class="main-page">
2018-11-21 18:22:08 +08:00
<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="">
2018-11-21 18:22:08 +08:00
<option value="">选择列名</option>
<option value="gateCode">登机门代码</option>
<option value="gateName">登机门名称</option>
2018-11-28 09:16:49 +08:00
<option value="terminalAreaName">航站楼区域</option>
<option value="gateStatus">资源状态</option>
<!-- <option *ngFor="let items of gates" [value]="items.titleInfo">{{items.titleInfo}}</option> -->
2018-11-21 18:22:08 +08:00
</select>
2018-11-14 17:27:38 +08:00
<label class="radio-inline custom-radio nowrap mr-4">
2018-11-21 18:22:08 +08:00
<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="inputerInfo">
</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> -->
2018-11-28 09:16:49 +08:00
<!-- <button type="button" class="btn btn-info mr-3">刷新</button> -->
2018-11-21 18:22:08 +08:00
</div>
</div>
<div class="second-condition mb-3 row">
<div class="input-container mr-4">
<label for="terminalAreaCode">所属航站楼区域:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
<option value=""></option>
2018-11-28 09:16:49 +08:00
<option *ngFor="let items of terminalAreas" [value]="items.terminalAreaCode">{{items.terminalAreaName}}</option>
2018-11-21 18:22:08 +08:00
</select>
</div>
2018-11-13 15:09:19 +08:00
<div class="input-container mr-4">
2018-11-21 18:22:08 +08:00
<label for="gateStatus">资源状态:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.gateStatus" (ngModelChange)="selectChange()" id="zy">
<option value=""></option>
<option *ngFor="let items of gates" [value]="items.gateStatus">{{items.gateStatus}}</option>
</select>
</div>
2018-11-13 15:09:19 +08:00
</div>
</div>
2018-11-21 18:22:08 +08:00
<div class="airline-table">
<div id="table-container" class="table-container">
<table id="table" class="table table-bordered table-striped">
<thead>
2018-11-28 09:16:49 +08:00
<tr>
2018-11-21 18:22:08 +08:00
<th>序号</th>
<th>登机门代码</th>
<th>登机门名称</th>
<th>航站楼区域</th>
<th>资源状态</th>
<!-- <th *ngFor="let airline_col of gate_lists">{{airline_col.COL_CN}}</th> -->
</tr>
</thead>
<tbody>
<tr *ngFor="let gate of render_data;let i = index" (click)="selectRow(gate)"
[ngClass]="{'selected':row_state===gate}">
2018-11-21 18:22:08 +08:00
<td>{{i+1}}</td>
<td>{{gate.gateCode}}</td>
<td>{{gate.gateName}}</td>
2018-11-28 09:16:49 +08:00
<td>{{gate.terminalAreaName}}</td>
2018-11-21 18:22:08 +08:00
<td>{{gate.gateStatus}}</td>
<!-- <td *ngFor="let airline_col of gate_lists" [ngStyle]="{'background-color':getColor(airline_col.COL_CODE)}">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td> -->
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>