|
@@ -483,7 +483,7 @@ export default {
|
|
|
if (row.flightStatus === 'CAN') {
|
|
|
classes.push('bgl-canceled')
|
|
|
}
|
|
|
- if (row.hasTakeOff === 0) {
|
|
|
+ if (row.hasTakeOff === 1) {
|
|
|
classes.push('bgl-hui')
|
|
|
if (rowIndex === this.leaveCount - 1) {
|
|
|
classes.push('redBorder')
|
|
@@ -543,13 +543,13 @@ export default {
|
|
|
this.baggageCount = 0
|
|
|
tableData.forEach(item => {
|
|
|
item['flightCanceled'] = item['flightStatus'] === 'CAN' ? 1 : 0
|
|
|
- if (item['hasTakeOff'] === 0 && !item['flightCanceled']) {
|
|
|
+ if (item['hasTakeOff'] === 1 && !item['flightCanceled']) {
|
|
|
this.leaveCount++
|
|
|
}
|
|
|
item['landingNumber'] = item['landingNumber'] ?? 0
|
|
|
this.baggageCount = this.baggageCount + item.preLoad
|
|
|
})
|
|
|
- this.tableData = this._.sortBy(tableData, ['hasTakeOff', 'planDepartureTime'])
|
|
|
+ this.tableData = this._.orderBy(tableData, ['hasTakeOff', 'planDepartureTime'], ['desc', 'asc'])
|
|
|
setTableFilters(this.tableData, this.tableDataFilters)
|
|
|
this.toOrderNum(this.baggageCount)
|
|
|
// setInterval(() => {
|