|
@@ -132,7 +132,7 @@ export default {
|
|
|
'sortNumber',
|
|
|
'loadNumber',
|
|
|
'boardID',
|
|
|
- 'tounLoad',
|
|
|
+ 'toUnload',
|
|
|
'OFFCount',
|
|
|
'delbag',
|
|
|
'noBSM',
|
|
@@ -202,11 +202,11 @@ export default {
|
|
|
[
|
|
|
'flightNO',
|
|
|
'preFlightNO',
|
|
|
- 'inTransferBaggageCount',
|
|
|
- 'inTransferredBaggageCount',
|
|
|
- 'outTransferBaggageCount',
|
|
|
- 'outTransferredBaggageCount',
|
|
|
- 'tounLoad',
|
|
|
+ // 'inTransferBaggageCount',
|
|
|
+ // 'inTransferredBaggageCount',
|
|
|
+ // 'outTransferBaggageCount',
|
|
|
+ // 'outTransferredBaggageCount',
|
|
|
+ 'toUnload',
|
|
|
'OFFCount',
|
|
|
'checkInNumber',
|
|
|
'unActive',
|
|
@@ -241,32 +241,32 @@ export default {
|
|
|
classes.push('cell-clicked')
|
|
|
}
|
|
|
}
|
|
|
- if (column.property === 'tounLoad' && row[column.property]) {
|
|
|
- classes.push('cell-tounLoad')
|
|
|
+ if (column.property === 'toUnload' && row[column.property]) {
|
|
|
+ classes.push('cell-toUnload')
|
|
|
}
|
|
|
if (column.property === 'warning' && row['warningState'] && row['warningState'] == 2) {
|
|
|
- classes.push('cell-tounLoad')
|
|
|
+ classes.push('cell-toUnload')
|
|
|
}
|
|
|
if (column.property === 'warning' && row['warningState'] && row['warningState'] == 1) {
|
|
|
- classes.push('cell-tounLoadNew')
|
|
|
+ classes.push('cell-toUnloadNew')
|
|
|
}
|
|
|
if (column.property === 'outTransferredBaggageCount' && row['warningState'] && row['warningState'] == 2) {
|
|
|
- classes.push('cell-tounLoad')
|
|
|
+ classes.push('cell-toUnload')
|
|
|
}
|
|
|
if (column.property === 'outTransferredBaggageCount' && row['warningState'] && row['warningState'] == 1) {
|
|
|
- classes.push('cell-tounLoadNew')
|
|
|
+ classes.push('cell-toUnloadNew')
|
|
|
}
|
|
|
if (column.property === 'outTransferBaggageCount' && row['sharpSign']) {
|
|
|
- classes.push('cell-tounLoadNew')
|
|
|
+ classes.push('cell-toUnloadNew')
|
|
|
}
|
|
|
if (column.property === 'inTransferredBaggageCount' && row['warningState'] && row['warningState'] == 2) {
|
|
|
- classes.push('cell-tounLoad')
|
|
|
+ classes.push('cell-toUnload')
|
|
|
}
|
|
|
if (column.property === 'inTransferredBaggageCount' && row['warningState'] && row['warningState'] == 1) {
|
|
|
- classes.push('cell-tounLoadNew')
|
|
|
+ classes.push('cell-toUnloadNew')
|
|
|
}
|
|
|
if (column.property === 'inTransferBaggageCount' && row['sharpSign']) {
|
|
|
- classes.push('cell-tounLoadNew')
|
|
|
+ classes.push('cell-toUnloadNew')
|
|
|
}
|
|
|
return classes.join(' ')
|
|
|
},
|
|
@@ -275,11 +275,11 @@ export default {
|
|
|
[
|
|
|
'flightNO',
|
|
|
'preFlightNO',
|
|
|
- 'inTransferBaggageCount',
|
|
|
- 'inTransferredBaggageCount',
|
|
|
- 'outTransferBaggageCount',
|
|
|
- 'outTransferredBaggageCount',
|
|
|
- 'tounLoad',
|
|
|
+ // 'inTransferBaggageCount',
|
|
|
+ // 'inTransferredBaggageCount',
|
|
|
+ // 'outTransferBaggageCount',
|
|
|
+ // 'outTransferredBaggageCount',
|
|
|
+ 'toUnload',
|
|
|
'OFFCount',
|
|
|
'checkInNumber',
|
|
|
'unActive',
|
|
@@ -326,19 +326,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
break
|
|
|
- // case "inTransferBaggageCount":
|
|
|
- // this.$router.push({
|
|
|
- // path: "/advance",
|
|
|
- // query: {
|
|
|
- // flightNO: row.preFlightNO,
|
|
|
- // transferDeparture: row.flightNO,
|
|
|
- // startDate: row.preFlightDate,
|
|
|
- // endDate: row.preFlightDate,
|
|
|
- // departureStation: row.preAirport,
|
|
|
- // destination: this.formData.currentAirport,
|
|
|
- // },
|
|
|
- // });
|
|
|
- // break;
|
|
|
case 'inTransferBaggageCount':
|
|
|
case 'outTransferBaggageCount':
|
|
|
this.$router.push({
|
|
@@ -350,19 +337,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
break
|
|
|
- // case 'inTransferredBaggageCount':
|
|
|
- // this.$router.push({
|
|
|
- // path: '/advance',
|
|
|
- // query: {
|
|
|
- // flightNO: row.flightNO,
|
|
|
- // transferArrival: row.preFlightNO,
|
|
|
- // startDate: row.flightDate,
|
|
|
- // endDate: row.flightDate,
|
|
|
- // departureStation: this.formData.currentAirport,
|
|
|
- // destination: row.targetAirport
|
|
|
- // }
|
|
|
- // })
|
|
|
- // break
|
|
|
case 'inTransferredBaggageCount':
|
|
|
case 'outTransferredBaggageCount':
|
|
|
this.$router.push({
|
|
@@ -374,247 +348,39 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
break
|
|
|
- // case 'outTransferBaggageCount':
|
|
|
- // this.$router.push({
|
|
|
- // path: '/advance',
|
|
|
- // query: {
|
|
|
- // flightNO: row.preFlightNO,
|
|
|
- // transferDeparture: row.flightNO,
|
|
|
- // startDate: row.preFlightDate,
|
|
|
- // endDate: row.preFlightDate,
|
|
|
- // departureStation: row.preAirport,
|
|
|
- // destination: this.formData.currentAirport
|
|
|
- // }
|
|
|
- // })
|
|
|
- // break
|
|
|
- // case 'outTransferredBaggageCount':
|
|
|
- // this.$router.push({
|
|
|
- // path: '/advance',
|
|
|
- // query: {
|
|
|
- // flightNO: row.flightNO,
|
|
|
- // transferArrival: row.preFlightNO,
|
|
|
- // startDate: row.flightDate,
|
|
|
- // endDate: row.flightDate,
|
|
|
- // departureStation: this.formData.currentAirport,
|
|
|
- // destination: row.targetAirport
|
|
|
- // }
|
|
|
- // })
|
|
|
- // break
|
|
|
- case 'tounLoad':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- unLoad: 0
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'OFFCount':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- unLoad: 1
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'unActive':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- active: 0
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'preLoad':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- active: 1,
|
|
|
- canceled: 0
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'midIn':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- transferIn: 1
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'noCheckInNumber':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- canceled: 1
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'noBSM':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- noBSM: 0
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'checkInNumber':
|
|
|
- case 'checkNumber':
|
|
|
- case 'sortNumber':
|
|
|
- {
|
|
|
- const reflect = {
|
|
|
- checkInNumber: '值机',
|
|
|
- checkNumber: '安检',
|
|
|
- sortNumber: '分拣'
|
|
|
- }
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- status: reflect[column.property]
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- break
|
|
|
- case 'loadNumber':
|
|
|
- case 'boardID':
|
|
|
- {
|
|
|
- const reflect = {
|
|
|
- loadNumber: '装车',
|
|
|
- boardID: '装机'
|
|
|
- }
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: this.formData.currentAirport,
|
|
|
- destination: row.targetAirport,
|
|
|
- status: reflect[column.property],
|
|
|
- canceled: 0
|
|
|
- }
|
|
|
- })
|
|
|
+ default: {
|
|
|
+ const reflect = {
|
|
|
+ toUnload: 'toUnload', // 装车或装机后,isDEL为'DEL',waitOFF为1
|
|
|
+ OFFCount: 'unloaded', // 装车或装机后,isDEL为'DEL',waitOFF为0
|
|
|
+ unActive: 'unActive', // STATUS为'I'
|
|
|
+ preLoad: 'preLoad', // STATUS不为'I',isDEL不为'del'
|
|
|
+ projectedLoad: 'preLoad',
|
|
|
+ midIn: 'inFlightNO',
|
|
|
+ noCheckInNumber: 'canceled', // isDEL为'DEL'
|
|
|
+ noBSM: 'NOBSM', // 1/0
|
|
|
+ checkInNumber: 'checkInTime',
|
|
|
+ checkNumber: 'securityTime',
|
|
|
+ sortNumber: 'sortTime',
|
|
|
+ loadNumber: 'loadTime',
|
|
|
+ boardID: 'inflTime',
|
|
|
+ checkIns: 'checkInTime',
|
|
|
+ numberOfDestinationArrivals: 'arrivedID', // 1/0
|
|
|
+ uninstalled: 'unloadID', // 1/0
|
|
|
+ loadedQuantity: 'loaded', // 'loadTime'不为空,isDEL不为'DEL'
|
|
|
+ terminateArrivalQuantity: 'destination', // 'arrivedID'为1,transferFlightNO为null
|
|
|
+ numberOfContainers: 'inContainer', // 有容器ID
|
|
|
+ numberOfBulk: 'FBULK' // 容器ID为'FBULK'
|
|
|
}
|
|
|
- break
|
|
|
- case 'checkIns':
|
|
|
- case 'numberOfDestinationArrivals':
|
|
|
- case 'uninstalled':
|
|
|
- {
|
|
|
- const reflect = {
|
|
|
- checkIns: '值机',
|
|
|
- numberOfDestinationArrivals: '到达',
|
|
|
- uninstalled: '卸机'
|
|
|
- }
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: row.departureAirport,
|
|
|
- destination: this.formData.currentAirport,
|
|
|
- status: reflect[column.property]
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- break
|
|
|
- case 'projectedLoad':
|
|
|
this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: row.departureAirport,
|
|
|
- destination: this.formData.currentAirport,
|
|
|
- active: 1,
|
|
|
- canceled: 0
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'loadedQuantity':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: row.departureAirport,
|
|
|
- destination: this.formData.currentAirport,
|
|
|
- status: '装车',
|
|
|
- canceled: 0
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'terminateArrivalQuantity':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
- query: {
|
|
|
- flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: row.departureAirport,
|
|
|
- destination: this.formData.currentAirport,
|
|
|
- status: '到达',
|
|
|
- transferIn: 0
|
|
|
- }
|
|
|
- })
|
|
|
- break
|
|
|
- case 'numberOfContainers':
|
|
|
- case 'numberOfBulk':
|
|
|
- this.$router.push({
|
|
|
- path: '/advance',
|
|
|
+ path: `${this.$route.path}/flightView`,
|
|
|
query: {
|
|
|
flightNO: row.flightNO,
|
|
|
- startDate: row.flightDate,
|
|
|
- endDate: row.flightDate,
|
|
|
- departureStation: row.departureAirport,
|
|
|
- destination: this.formData.currentAirport,
|
|
|
- loadType: column.property === 'numberOfContainers' ? 0 : 1
|
|
|
+ flightDate: row.flightDate,
|
|
|
+ fastFilter: reflect[column.property]
|
|
|
}
|
|
|
})
|
|
|
break
|
|
|
- default:
|
|
|
- break
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|