机场数据、下拉框数据绑定值
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
<label for="airlineCode">航空公司: </label>
|
<label for="airlineCode">航空公司: </label>
|
||||||
<select class="form-control" [(ngModel)]="filterItems.airlineCode" (ngModelChange)="selectChange()" id="airlineCompany">
|
<select class="form-control" [(ngModel)]="filterItems.airlineCode" (ngModelChange)="selectChange()" id="airlineCompany">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option *ngFor="let item of aircrafts" [value]="item.airlineCode">{{item.airlineCode}}</option>
|
<option *ngFor="let item of airlines" [value]="item.airlineName">{{item.airlineName}}</option>
|
||||||
<!-- <option value="GH">海南航空公司</option>
|
<!-- <option value="GH">海南航空公司</option>
|
||||||
<option value="CH">国外航空公司</option> -->
|
<option value="CH">国外航空公司</option> -->
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ public filterItems = {
|
|||||||
airlineCode:'',
|
airlineCode:'',
|
||||||
aircraftTypeCode:'',
|
aircraftTypeCode:'',
|
||||||
}
|
}
|
||||||
|
airlines : Array<any>; //航空公司
|
||||||
aircrafts : Array<any>;
|
aircrafts : Array<any>;
|
||||||
public row_state: any = { renderFlight: {} };
|
public row_state: any = { renderFlight: {} };
|
||||||
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
||||||
@@ -39,6 +39,14 @@ ngOnInit() {
|
|||||||
this.render_data = this.aircrafts;
|
this.render_data = this.aircrafts;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
//航空公司
|
||||||
|
this.airlines = this.basicDataService.airline;
|
||||||
|
this.basicDataService.airline_subject.subscribe(
|
||||||
|
data=>{
|
||||||
|
this.airlines = data;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 固定表头
|
* 固定表头
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<label for="terminalAreaCode">所属航站楼区域: </label>
|
<label for="terminalAreaCode">所属航站楼区域: </label>
|
||||||
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option *ngFor="let item of carousels" [value]="item.terminalAreaCode" >{{item.terminalAreaCode}}</option>
|
<option *ngFor="let item of terminalAreas" [value]="item.terminalAreaName" >{{item.terminalAreaName}}</option>
|
||||||
<!-- <option value="GH">国内区域</option>
|
<!-- <option value="GH">国内区域</option>
|
||||||
<option value="CH">国际区域</option>
|
<option value="CH">国际区域</option>
|
||||||
<option value="QT">其他区域</option> -->
|
<option value="QT">其他区域</option> -->
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ public filterItems = {
|
|||||||
terminalAreaCode:'',
|
terminalAreaCode:'',
|
||||||
carouselStatus:'',
|
carouselStatus:'',
|
||||||
}
|
}
|
||||||
|
terminalAreas:Array<any>; //所属航站楼区域
|
||||||
carousels:Array<any>;
|
carousels:Array<any>;
|
||||||
public row_state: any = { renderFlight: {} };
|
public row_state: any = { renderFlight: {} };
|
||||||
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
||||||
@@ -37,6 +38,13 @@ ngOnInit() {
|
|||||||
this.render_data = this.carousels;
|
this.render_data = this.carousels;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
//所属航站楼区域
|
||||||
|
this.terminalAreas = this.basicDataService.terminal_area;
|
||||||
|
this.basicDataService.terminal_area_subject.subscribe(
|
||||||
|
data=>{
|
||||||
|
this.terminalAreas = data;
|
||||||
|
}
|
||||||
|
)
|
||||||
/**
|
/**
|
||||||
* 固定表头
|
* 固定表头
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<label for="terminalAreaCode">所属航站楼区域: </label>
|
<label for="terminalAreaCode">所属航站楼区域: </label>
|
||||||
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option *ngFor="let items of checkinDesks" [value]="items.terminalAreaCode">{{items.terminalAreaCode}}</option>
|
<option *ngFor="let items of terminalAreas" [value]="items.terminalAreaName">{{items.terminalAreaName}}</option>
|
||||||
<!-- <option value="GH">国内区域</option>
|
<!-- <option value="GH">国内区域</option>
|
||||||
<option value="CH">国外区域</option>
|
<option value="CH">国外区域</option>
|
||||||
<option value="QH">其他区域</option> -->
|
<option value="QH">其他区域</option> -->
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
<label for="checkinGroupCode">值机岛: </label>
|
<label for="checkinGroupCode">值机岛: </label>
|
||||||
<select class="form-control" [(ngModel)]="filterItems.checkinGroupCode" (ngModelChange)="selectChange()" id="zjd">
|
<select class="form-control" [(ngModel)]="filterItems.checkinGroupCode" (ngModelChange)="selectChange()" id="zjd">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option *ngFor="let items of checkinDesks" [value]="items.checkinGroupCode">{{items.checkinGroupCode}}</option>
|
<option *ngFor="let items of checkinGroups" [value]="items.checkinGroupName">{{items.checkinGroupName}}</option>
|
||||||
<!-- <option value="A">A岛</option>
|
<!-- <option value="A">A岛</option>
|
||||||
<option value="B">B岛</option>
|
<option value="B">B岛</option>
|
||||||
<option value="C">C岛</option> -->
|
<option value="C">C岛</option> -->
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
<label for="chutCode">行李传送带: </label>
|
<label for="chutCode">行李传送带: </label>
|
||||||
<select class="form-control" [(ngModel)]="filterItems.chutCode" (ngModelChange)="selectChange()" id="xl">
|
<select class="form-control" [(ngModel)]="filterItems.chutCode" (ngModelChange)="selectChange()" id="xl">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option *ngFor="let items of checkinDesks" [value]="items.chutCode">{{items.chutCode}}</option>
|
<option *ngFor="let items of chuts" [value]="items.chutName">{{items.chutName}}</option>
|
||||||
<!-- <option value="X">X行李</option>
|
<!-- <option value="X">X行李</option>
|
||||||
<option value="Z">Z行李</option>
|
<option value="Z">Z行李</option>
|
||||||
<option value="Y">Y行李</option> -->
|
<option value="Y">Y行李</option> -->
|
||||||
|
|||||||
@@ -27,6 +27,9 @@ public filterItems = {
|
|||||||
chutCode:'',
|
chutCode:'',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkinGroups : Array<any>; //值机岛
|
||||||
|
terminalAreas : Array<any>; //所属航站楼区域
|
||||||
|
chuts : Array<any>; //行李传送带
|
||||||
checkinDesks : Array<any>;
|
checkinDesks : Array<any>;
|
||||||
public row_state: any = { renderFlight: {} };
|
public row_state: any = { renderFlight: {} };
|
||||||
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
||||||
@@ -39,6 +42,27 @@ ngOnInit() {
|
|||||||
this.render_data = this.checkinDesks;
|
this.render_data = this.checkinDesks;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
//所属航站楼区域
|
||||||
|
this.terminalAreas = this.basicDataService.terminal_area;
|
||||||
|
this.basicDataService.terminal_area_subject.subscribe(
|
||||||
|
data=>{
|
||||||
|
this.terminalAreas = data;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
//值机岛
|
||||||
|
this.checkinGroups = this.basicDataService.checkin_group;
|
||||||
|
this.basicDataService.checkin_group_subject.subscribe(
|
||||||
|
data=>{
|
||||||
|
this.checkinGroups = data;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
//行李传送带
|
||||||
|
this.chuts = this.basicDataService.chut;
|
||||||
|
this.basicDataService.chut_subject.subscribe(
|
||||||
|
data=>{
|
||||||
|
this.chuts = data;
|
||||||
|
}
|
||||||
|
)
|
||||||
/**
|
/**
|
||||||
* 固定表头
|
* 固定表头
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -35,15 +35,13 @@
|
|||||||
<label for="">洲/地区: </label>
|
<label for="">洲/地区: </label>
|
||||||
<select class="form-control">
|
<select class="form-control">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option value="GH">非洲</option>
|
|
||||||
<option value="CH">亚洲</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-container mr-4">
|
<div class="input-container mr-4">
|
||||||
<label for="countryId">国家: </label>
|
<label for="countryId">国家: </label>
|
||||||
<select class="form-control" [(ngModel)]="filterItems.countryId" (ngModelChange)="selectChange()" id="citry">
|
<select class="form-control" [(ngModel)]="filterItems.countryId" (ngModelChange)="selectChange()" id="citry">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option *ngFor="let item of citys" [value]="item.cityId">{{item.countryId}}</option>
|
<option *ngFor="let item of citys" [value]="item.countryId">{{item.countryId}}</option>
|
||||||
<!-- <option value="ZG">中国</option>
|
<!-- <option value="ZG">中国</option>
|
||||||
<option value="MG">美国</option>
|
<option value="MG">美国</option>
|
||||||
<option value="YG">英国</option> -->
|
<option value="YG">英国</option> -->
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<label for="terminalAreaCode">所属航站楼区域: </label>
|
<label for="terminalAreaCode">所属航站楼区域: </label>
|
||||||
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option *ngFor="let items of gates" [value]="items.terminalAreaCode">{{items.terminalAreaCode}}</option>
|
<option *ngFor="let items of terminalAreas" [value]="items.terminalAreaName">{{items.terminalAreaName}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-container mr-4">
|
<div class="input-container mr-4">
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ public filterItems = {
|
|||||||
terminalAreaCode:'',
|
terminalAreaCode:'',
|
||||||
gateStatus:'',
|
gateStatus:'',
|
||||||
}
|
}
|
||||||
|
terminalAreas : Array<any>; //所属航站楼区域
|
||||||
gates : Array<any>;
|
gates : Array<any>;
|
||||||
public row_state: any = { renderFlight: {} };
|
public row_state: any = { renderFlight: {} };
|
||||||
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
||||||
@@ -38,6 +38,13 @@ ngOnInit() {
|
|||||||
this.render_data = this.gates;
|
this.render_data = this.gates;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
//所属航站楼区域
|
||||||
|
this.terminalAreas = this.basicDataService.terminal_area;
|
||||||
|
this.basicDataService.terminal_area_subject.subscribe(
|
||||||
|
data=>{
|
||||||
|
this.terminalAreas = data;
|
||||||
|
}
|
||||||
|
)
|
||||||
/**
|
/**
|
||||||
* 固定表头
|
* 固定表头
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<label for="terminalAreaCode">所属航站楼区域: </label>
|
<label for="terminalAreaCode">所属航站楼区域: </label>
|
||||||
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option *ngFor="let items of stands" [value]="items.terminalAreaCode">{{items.terminalAreaCode}}</option>
|
<option *ngFor="let items of terminalAreas" [value]="items.terminalAreaName">{{items.terminalAreaName}}</option>
|
||||||
<!-- <option value="GH">国内区域</option>
|
<!-- <option value="GH">国内区域</option>
|
||||||
<option value="CH">国际区域</option>
|
<option value="CH">国际区域</option>
|
||||||
<option value="QH">其他区域</option> -->
|
<option value="QH">其他区域</option> -->
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ public filterItems = {
|
|||||||
standStatus:'',
|
standStatus:'',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
terminalAreas : Array<any>; //所属航站楼区域
|
||||||
stands : Array<any>;
|
stands : Array<any>;
|
||||||
public row_state: any = { renderFlight: {} };
|
public row_state: any = { renderFlight: {} };
|
||||||
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
||||||
@@ -39,6 +40,13 @@ ngOnInit() {
|
|||||||
this.render_data = this.stands;
|
this.render_data = this.stands;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
//所属航站楼区域
|
||||||
|
this.terminalAreas = this.basicDataService.terminal_area;
|
||||||
|
this.basicDataService.terminal_area_subject.subscribe(
|
||||||
|
data=>{
|
||||||
|
this.terminalAreas = data;
|
||||||
|
}
|
||||||
|
)
|
||||||
/**
|
/**
|
||||||
* 固定表头
|
* 固定表头
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user