登机门优化

This commit is contained in:
714943302@qq.com
2018-11-22 13:55:44 +08:00
parent 636ec4ed02
commit 62db2ab1ac
3 changed files with 12 additions and 2 deletions
@@ -54,7 +54,7 @@ inputEnter() {
this.inputFilter(this.carousels)
} else {
this.inputFilter(this.carousels)
// this.inputPosition(this.render_data)
this.inputPosition(this.carousels)
}
}
@@ -56,6 +56,8 @@
</thead>
<tbody>
<tr *ngFor="let gate of render_data;let i = index">
<!-- <tr *ngFor="let gate of render_data;let i = index" (click)="selectRow(gate)"
[ngClass]="{'selected':row_state===gate}"> -->
<td>{{i+1}}</td>
<td>{{gate.gateCode}}</td>
<td>{{gate.gateName}}</td>
@@ -49,13 +49,21 @@ ngOnInit() {
tableCont.addEventListener('scroll',scrollHandle);
}
/**
* 选中某行
* @param i
*/
/* selectRow(i) {
this.row_state = i;
} */
//输入框回车事件
inputEnter() {
if (this.FLT_POS === 1) {
this.inputFilter(this.gates)
} else {
this.inputFilter(this.gates)
// this.inputPosition(this.render_data)
this.inputPosition(this.gates)
}
}