动态信息航空公司处理
This commit is contained in:
@@ -171,19 +171,10 @@ export class MainComponent implements OnInit {
|
||||
this.raw_data.push(message);
|
||||
}
|
||||
|
||||
// let testss = []
|
||||
// let combined_linked_data = this.dataHandle.findLinkFlights(this.raw_data);
|
||||
// combined_linked_data.forEach(element => {
|
||||
// let flights_item = this.dataHandle.flightsRenderTransfer(element, this.col_lists);
|
||||
// testss.push(flights_item);
|
||||
// });
|
||||
|
||||
// let combined_data = [];
|
||||
// testss.forEach(item => {
|
||||
// combined_data.push(this.dataHandle.basicDataTransHandle(item, this.airports, this.citys, this.airlines, this.flightStatus));
|
||||
// })
|
||||
// this.combined_data = combined_data;
|
||||
// this.doSequence(this.combined_data);
|
||||
if (this.airlinesSelections.findIndex(airline => airline.airlineCodeIata === message['ALCD']) === -1) {
|
||||
let index = this.airlines.findIndex(val => val.airlineCodeIata === message['ALCD']);
|
||||
this.airlinesSelections.push(this.airlines[index]);
|
||||
}
|
||||
|
||||
let dynamicHandleData = this.dataHandle.dynamicMessageHandle(
|
||||
message,
|
||||
|
||||
Reference in New Issue
Block a user