优化季度计划与机位
This commit is contained in:
@@ -62,6 +62,7 @@ export class StandComponent implements OnInit {
|
|||||||
)
|
)
|
||||||
this.basicDataService.standType_subject.subscribe(
|
this.basicDataService.standType_subject.subscribe(
|
||||||
data => {
|
data => {
|
||||||
|
this.standTypes = data;
|
||||||
//停机位类别
|
//停机位类别
|
||||||
if(this.standTypes && this.standTypes.length > 0){
|
if(this.standTypes && this.standTypes.length > 0){
|
||||||
this.standTypesHandle();
|
this.standTypesHandle();
|
||||||
|
|||||||
@@ -79,6 +79,9 @@ export class SeasonalPlanComponent implements OnInit {
|
|||||||
data => {
|
data => {
|
||||||
this.seasonals = data.body;
|
this.seasonals = data.body;
|
||||||
this.render_data = this.seasonals;
|
this.render_data = this.seasonals;
|
||||||
|
this.airlinesHandle(); //航空公司
|
||||||
|
this.aircraftTypesHandle(); //机型
|
||||||
|
this.flightTypesHandle(); //航班类别
|
||||||
this.render_data.forEach(element => {//航线类别列表显示数据转换
|
this.render_data.forEach(element => {//航线类别列表显示数据转换
|
||||||
if (element['routeType'] == 'D') {
|
if (element['routeType'] == 'D') {
|
||||||
element['routeType'] = '国内'
|
element['routeType'] = '国内'
|
||||||
|
|||||||
Reference in New Issue
Block a user