登机门优化
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user