第一次行排序(待优化)

This commit is contained in:
zhouyuejun
2018-11-06 09:41:04 +08:00
parent 280467d77c
commit 4e0f2c7438
14 changed files with 2418 additions and 2014 deletions
+6 -3
View File
@@ -106,17 +106,20 @@
</div>
<div class="airline-table">
<div class="table-container">
<table class="table table-striped">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>序号</th>
<th>重要提示</th>
<th *ngFor="let airline_col of airline_col_lists">{{airline_col.COL_CN}}</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let airline_row of airline_row_lists;let i = index" (click)="selectRow($event,i)" [ngClass]="{'active':row_state===i}">
<tr *ngFor="let airline_row of airline_row_lists;let i = index" (click)="selectRow($event,i)"
[ngClass]="{'active':row_state===i}">
<td>{{i+1}}</td>
<td [ngStyle]="{'background-color':''}" *ngFor="let airline_col of airline_col_lists">{{airline_row[airline_col.COL_CODE]}}</td>
<td></td>
<td *ngFor="let airline_col of airline_col_lists" [ngStyle]="{'background-color':getColor(airline_col.COL_CODE)}">{{airline_col.COL_CODE|dataFormatter:airline_row}}</td>
</tr>
</tbody>
</table>