机场下拉框数据转换
This commit is contained in:
@@ -25,7 +25,7 @@ public filterItems = {
|
||||
airportGroupId:'',
|
||||
cityId:'',
|
||||
}
|
||||
|
||||
citys : Array<any>; //城市
|
||||
airports : Array<any>;
|
||||
public row_state: any = { renderFlight: {} };
|
||||
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
||||
@@ -39,6 +39,13 @@ ngOnInit() {
|
||||
this.render_data = this.airports;
|
||||
}
|
||||
)
|
||||
//城市
|
||||
this.citys = this.basicDataService.city;
|
||||
this.basicDataService.city_subject.subscribe(
|
||||
data=>{
|
||||
this.citys = data;
|
||||
}
|
||||
)
|
||||
/**
|
||||
* 固定表头
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user