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

95 lines
5.3 KiB
HTML
Raw Normal View History

2018-11-14 15:13: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">
2018-11-14 17:43:00 +08:00
<select class="mr-4 form-control" [(ngModel)]="SEL_COL" name="" id="">
<option value="">选择列名</option>
<option value="standCode">机位代码</option>
<option value="standName">机位名称</option>
<option value="standType">机位类型</option>
<option value="standStatus">资源状态</option>
2018-11-28 09:17:45 +08:00
<option value="terminalAreaName">航站楼区域</option>
2018-11-14 17:43:00 +08:00
</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-21 18:22:08 +08:00
<input class="form-control" [(ngModel)]="SEARCH" type="text" (keyup.enter) = "inputEnter()" id="inputerInfo">
2018-11-14 15:13: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> -->
2018-11-28 09:17:45 +08:00
<!-- <button type="button" class="btn btn-info mr-3">刷新</button> -->
2018-11-14 15:13:08 +08:00
</div>
</div>
<div class="second-condition mb-3 row">
<div class="input-container mr-4">
2018-11-21 18:22:08 +08:00
<label for="terminalAreaCode">所属航站楼区域:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
2018-11-14 15:13:08 +08:00
<option value=""></option>
2018-11-28 09:17:45 +08:00
<option *ngFor="let items of terminalAreas" [value]="items.terminalAreaCode">{{items.terminalAreaName}}</option>
2018-11-21 18:22:08 +08:00
<!-- <option value="GH">国内区域</option>
2018-11-15 17:45:25 +08:00
<option value="CH">国际区域</option>
2018-11-21 18:22:08 +08:00
<option value="QH">其他区域</option> -->
2018-11-14 15:13:08 +08:00
</select>
</div>
<div class="input-container mr-4">
2018-11-21 18:22:08 +08:00
<label for="standType">机位类型:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.standType" (ngModelChange)="selectChange()" id="jtype">
2018-11-14 15:13:08 +08:00
<option value=""></option>
2018-11-21 18:22:08 +08:00
<option *ngFor="let items of stands" [value]="items.standType">{{items.standType}}</option>
<!-- <option value="YJW">远机位</option>
2018-11-15 17:45:25 +08:00
<option value="JJW">近机位</option>
<option value="GWJW">过夜机位</option>
2018-11-21 18:22:08 +08:00
<option value="ZJW">专机位</option> -->
2018-11-14 15:13:08 +08:00
</select>
</div>
<div class="input-container mr-4">
2018-11-21 18:22:08 +08:00
<label for="standStatus">资源状态:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.standStatus" (ngModelChange)="selectChange()" id="zystatus">
2018-11-14 15:13:08 +08:00
<option value=""></option>
2018-11-21 18:22:08 +08:00
<option *ngFor="let items of stands" [value]="items.standStatus">{{items.standStatus}}</option>
<!-- <option value="K">可用</option>
<option value="R">不可用</option> -->
2018-11-14 15:13:08 +08:00
</select>
</div>
</div>
</div>
<div class="airline-table">
2018-11-19 09:59:36 +08:00
<div id="table-container" class="table-container">
<table id="table" class="table table-bordered table-striped">
2018-11-14 15:13:08 +08:00
<thead>
<tr>
<th>序号</th>
2018-11-21 18:22:08 +08:00
<th>机位代码</th>
2018-11-19 09:59:36 +08:00
<th>机位名称</th>
<th>机位类型</th>
<th>资源状态</th>
2018-11-21 18:22:08 +08:00
<th>航站楼区域</th>
<!-- <th *ngFor="let airline_col of stand_lists">{{airline_col.COL_CN}}</th> -->
2018-11-14 15:13:08 +08:00
</tr>
</thead>
<tbody>
<tr *ngFor="let stand of render_data;let i = index" (click)="selectRow(stand)"
[ngClass]="{'selected':row_state===stand}">
2018-11-14 15:13:08 +08:00
<td>{{i+1}}</td>
2018-11-21 18:22:08 +08:00
<td>{{stand.standCode}}</td>
<td>{{stand.standName}}</td>
<td>{{stand.standType}}</td>
<td>{{stand.standStatus}}</td>
2018-11-28 09:17:45 +08:00
<td>{{stand.terminalAreaName}}</td>
2018-11-21 18:22:08 +08:00
<!-- <td *ngFor="let airline_col of stand_lists" [ngStyle]="{'background-color':getColor(airline_col.COL_CODE)}">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td> -->
2018-11-14 15:13:08 +08:00
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>