优化季度计划与机位

This commit is contained in:
714943302@qq.com
2018-12-24 16:45:13 +08:00
parent 74a2280cea
commit a284d643a6
2 changed files with 4 additions and 0 deletions
@@ -62,6 +62,7 @@ export class StandComponent implements OnInit {
)
this.basicDataService.standType_subject.subscribe(
data => {
this.standTypes = data;
//停机位类别
if(this.standTypes && this.standTypes.length > 0){
this.standTypesHandle();
@@ -79,6 +79,9 @@ export class SeasonalPlanComponent implements OnInit {
data => {
this.seasonals = data.body;
this.render_data = this.seasonals;
this.airlinesHandle(); //航空公司
this.aircraftTypesHandle(); //机型
this.flightTypesHandle(); //航班类别
this.render_data.forEach(element => {//航线类别列表显示数据转换
if (element['routeType'] == 'D') {
element['routeType'] = '国内'