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

75 lines
4.3 KiB
HTML
Raw Normal View History

2018-12-24 15:56:36 +08:00
<div class="main-page">
2019-02-20 10:47:48 +08:00
<div class="page-content" #pageContent>
<div class="search-filter mb-3" #searchFilter>
2018-11-21 18:22:08 +08:00
<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">
2019-02-20 10:47:48 +08:00
<select class="mr-4 form-control" [(ngModel)]="SEL_COL" (ngModelChange)="resetPositionArray()" name="" id="">
2018-11-21 18:22:08 +08:00
<option value="">选择列名</option>
2019-02-20 10:47:48 +08:00
<option *ngFor="let col of render_col_lists" [value]="col.COL_CODE">{{col.COL_CN}}</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-12-04 18:16:01 +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>
2019-02-20 10:47:48 +08:00
<input class="form-control" [(ngModel)]="SEARCH" (ngModelChange)="resetPositionArray()" type="text" (keyup.enter)="inputEnter()" id="inputerInfo">
2018-11-21 18:22:08 +08:00
</div>
</div>
2018-12-04 18:16:01 +08:00
2018-11-21 18:22:08 +08:00
<div class="second-condition mb-3 row">
2018-12-04 18:16:01 +08:00
<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>
<option *ngFor="let items of terminalAreas" [value]="items.terminalAreaCode">{{items.terminalAreaName}}</option>
</select>
</div>
<div class="input-container mr-4">
<label for="gateStatus">资源状态:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.gateStatus" (ngModelChange)="selectChange()"
id="zy">
<option value=""></option>
<option value="0">可用</option>
<option value="1">在用</option>
<option value="2">锁定</option>
<option value="3">禁用</option>
<option value="4">预分</option>
<!-- <option *ngFor="let items of gates" [value]="items.gateStatus">{{items.gateStatus}}</option> -->
</select>
</div>
2018-11-21 18:22:08 +08:00
</div>
2018-11-13 15:09:19 +08:00
</div>
2018-12-04 18:16:01 +08:00
2018-11-21 18:22:08 +08:00
<div class="airline-table">
2019-02-20 10:47:48 +08:00
<div #tableContainer id="table-container" class="table-container">
<div class="table-head" #tableHead>
<table class="table">
<thead>
<tr>
<th style="min-width:55px">序号</th>
<th *ngFor="let col of render_col_lists" [ngStyle]="{'min-width':col.COL_WIDTH}">{{col.COL_CN}}</th>
</tr>
</thead>
</table>
</div>
<div class="table-body" #tableBody (scroll)="handleScroll($event)">
<div class="list-view-phantom" [ngStyle]="{ 'height': wait_render_data.length * 42 + 'px' }"></div>
<table #tableContent id="table" class="table table-striped">
<tbody>
<ng-container *ngFor="let gate of render_data;last as isLast;index as i">
<tr *ngIf="setWidth(isLast)" (click)="selectRow(gate)" [ngClass]="{'selected':getSelectedRow(gate)}">
<td style="min-width:55px">{{start+i+1}}</td>
<td *ngFor="let col of render_col_lists" [ngStyle]="{'min-width':col.COL_WIDTH}">{{gate[col.COL_CODE]}}</td>
</tr>
</ng-container>
</tbody>
</table>
</div>
2018-11-21 18:22:08 +08:00
</div>
</div>
</div>
2018-12-04 18:16:01 +08:00
</div>