|
@@ -77,7 +77,7 @@ export default {
|
|
|
const messageDatas = [...returnData]
|
|
|
messageDatas.map(item => {
|
|
|
const { dataObjectId } = item
|
|
|
- if (dataObjectId?.length) {
|
|
|
+ if (dataObjectId && dataObjectId.length) {
|
|
|
const len = dataObjectId.length
|
|
|
const popNums = [100, 101, 102].map(item => item.toString())
|
|
|
const target = dataObjectId.substring(len - 3, len)
|
|
@@ -87,95 +87,7 @@ export default {
|
|
|
item.readTime = item.readTime.replace('T', ' ') + '(广州)'
|
|
|
}
|
|
|
})
|
|
|
- this.messageList = [
|
|
|
- {
|
|
|
- "flightNo": "ZH9221",
|
|
|
- "ID": 2016911,
|
|
|
- "dataType": "BPM",
|
|
|
- "dataState": null,
|
|
|
- "abnormalState": null,
|
|
|
- "luggageNum": "3479409623",
|
|
|
- "groupName": null,
|
|
|
- "checkInLocation": null,
|
|
|
- "checkInLocationDescription": null,
|
|
|
- "checkInDate": null,
|
|
|
- "transportMedium": null,
|
|
|
- "transportID": null,
|
|
|
- "specialType": null,
|
|
|
- "flightDate": "2023-07-18",
|
|
|
- "target_airport": null,
|
|
|
- "outAirport": "CAN",
|
|
|
- "landAirport": null,
|
|
|
- "passenger_cabin": null,
|
|
|
- "groundtransportationDateStar": null,
|
|
|
- "groundtransportationDateEnd": null,
|
|
|
- "groundtransportationAddress": null,
|
|
|
- "doTerminal": null,
|
|
|
- "operationArea": null,
|
|
|
- "operatingPosition": null,
|
|
|
- "inflightNo": null,
|
|
|
- "inflightDate": null,
|
|
|
- "inairport": null,
|
|
|
- "inpassenger_cabin": null,
|
|
|
- "secondary_code": "G",
|
|
|
- "agentNumber": null,
|
|
|
- "device_ID": null,
|
|
|
- "processing_time": "2023-07-18T09:22:22",
|
|
|
- "location_code": null,
|
|
|
- "to_location_code": null,
|
|
|
- "location_describe": null,
|
|
|
- "to_location_describe": null,
|
|
|
- "PNRNO": null,
|
|
|
- "transferFlightNO": null,
|
|
|
- "transferFlightDate": null,
|
|
|
- "transferAirport": null,
|
|
|
- "passengerName": null,
|
|
|
- "checkin_number": null,
|
|
|
- "security_number": null,
|
|
|
- "passengerinfoState": null,
|
|
|
- "cantransportation": null,
|
|
|
- "activeState": null,
|
|
|
- "luggage_describe": null,
|
|
|
- "canLoad": null,
|
|
|
- "seatNum": null,
|
|
|
- "passengerState": null,
|
|
|
- "printerID": null,
|
|
|
- "container_ID": null,
|
|
|
- "loadAddress": null,
|
|
|
- "luggageType": null,
|
|
|
- "sourceAirport": "CAN",
|
|
|
- "sourceSign": null,
|
|
|
- "sourceOther": null,
|
|
|
- "creation_time": null,
|
|
|
- "dataObjectId": null,
|
|
|
- "sourceData": "{\"msg\":\"{\"meta\":{\"id\":\"JD068155044\",\"type\":\"node\",\"st\":\"2023-07-1809:22:29\"},\"data\":{\"type\":0,\"manifest\":[\"\"],\"code\":[\"3479409623\"],\"staff\":\"81880454\",\"flt\":\"ZH9221\",\"ftd\":\"2023-07-18\",\"n\":\"JD06\",\"t\":\"2023-07-1809:22:22\"}}\",\"dataObjectId\":null}",
|
|
|
- "luggageCount": null,
|
|
|
- "luggageWeight": null,
|
|
|
- "weightUnit": null,
|
|
|
- "luggageSize": null,
|
|
|
- "externalFeatures": null,
|
|
|
- "securityInspectionDescription": null,
|
|
|
- "securityInspectionResults": null,
|
|
|
- "reasonsForSecurity": null,
|
|
|
- "securityInspectionMethod": null,
|
|
|
- "frequentflyerNO": null,
|
|
|
- "frequentflyerGrade": null,
|
|
|
- "readAddess": null,
|
|
|
- "readTime": "2023-07-18T09:22:22",
|
|
|
- "currentResult": null,
|
|
|
- "loadNumber": null,
|
|
|
- "processTimeType": null,
|
|
|
- "checkInTimeType": null,
|
|
|
- "createtime": null,
|
|
|
- "nodeCode": "INFL",
|
|
|
- "nodeName": "JD06",
|
|
|
- "carrierFlights": "ZH9221",
|
|
|
- "carrierFlightsDate": "2023-07-18",
|
|
|
- "errMessage": null,
|
|
|
- "freeText": null,
|
|
|
- "exception_type": null
|
|
|
- }
|
|
|
- ]
|
|
|
+ this.messageList = messageDatas
|
|
|
// this.messageList = returnData.map(message => ({
|
|
|
// ...message,
|
|
|
// readTime: message.readTime ? `${message.readTime.replace('T', ' ')}(广州)` : '(北京)'
|