登机门选择列名数据绑定及查找定位数据过滤筛选
This commit is contained in:
@@ -3,8 +3,13 @@
|
|||||||
<div class="search-filter mb-3">
|
<div class="search-filter mb-3">
|
||||||
<div class="first-condition row">
|
<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">
|
<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" name="" id="">
|
<select class="mr-4 form-control" [(ngModel)]="SEL_COL" name="" id="">
|
||||||
<option value="">选择列名</option>
|
<option value="">选择列名</option>
|
||||||
|
<option value="gateCode">登机门代码</option>
|
||||||
|
<option value="gateName">登机门名称</option>
|
||||||
|
<option value="terminalAreaCode">航站楼区域</option>
|
||||||
|
<option value="gateStatus">资源状态</option>
|
||||||
|
<!-- <option *ngFor="let items of gates" [value]="items.titleInfo">{{items.titleInfo}}</option> -->
|
||||||
</select>
|
</select>
|
||||||
<label class="radio-inline custom-radio nowrap mr-4">
|
<label class="radio-inline custom-radio nowrap mr-4">
|
||||||
<input type="radio" [(ngModel)]="FLT_POS" [value]="1" name="filter-position">
|
<input type="radio" [(ngModel)]="FLT_POS" [value]="1" name="filter-position">
|
||||||
@@ -45,7 +50,7 @@
|
|||||||
<div id="table-container" class="table-container">
|
<div id="table-container" class="table-container">
|
||||||
<table id="table" class="table table-bordered table-striped">
|
<table id="table" class="table table-bordered table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr id="titleInfo">
|
||||||
<th>序号</th>
|
<th>序号</th>
|
||||||
<th>登机门代码</th>
|
<th>登机门代码</th>
|
||||||
<th>登机门名称</th>
|
<th>登机门名称</th>
|
||||||
@@ -55,9 +60,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let gate of render_data;let i = index">
|
<tr *ngFor="let gate of render_data;let i = index" (click)="selectRow(gate)"
|
||||||
<!-- <tr *ngFor="let gate of render_data;let i = index" (click)="selectRow(gate)"
|
[ngClass]="{'selected':row_state===gate}">
|
||||||
[ngClass]="{'selected':row_state===gate}"> -->
|
|
||||||
<td>{{i+1}}</td>
|
<td>{{i+1}}</td>
|
||||||
<td>{{gate.gateCode}}</td>
|
<td>{{gate.gateCode}}</td>
|
||||||
<td>{{gate.gateName}}</td>
|
<td>{{gate.gateName}}</td>
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ ngOnInit() {
|
|||||||
* 选中某行
|
* 选中某行
|
||||||
* @param i
|
* @param i
|
||||||
*/
|
*/
|
||||||
/* selectRow(i) {
|
selectRow(i) {
|
||||||
this.row_state = i;
|
this.row_state = i;
|
||||||
} */
|
}
|
||||||
|
|
||||||
//输入框回车事件
|
//输入框回车事件
|
||||||
inputEnter() {
|
inputEnter() {
|
||||||
|
|||||||
Reference in New Issue
Block a user