机场数据、下拉框数据绑定值
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<label for="terminalAreaCode">所属航站楼区域: </label>
|
||||
<select class="form-control" [(ngModel)]="filterItems.terminalAreaCode" (ngModelChange)="selectChange()" id="qy">
|
||||
<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="CH">国外区域</option>
|
||||
<option value="QH">其他区域</option> -->
|
||||
@@ -43,7 +43,7 @@
|
||||
<label for="checkinGroupCode">值机岛: </label>
|
||||
<select class="form-control" [(ngModel)]="filterItems.checkinGroupCode" (ngModelChange)="selectChange()" id="zjd">
|
||||
<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="B">B岛</option>
|
||||
<option value="C">C岛</option> -->
|
||||
@@ -53,7 +53,7 @@
|
||||
<label for="chutCode">行李传送带: </label>
|
||||
<select class="form-control" [(ngModel)]="filterItems.chutCode" (ngModelChange)="selectChange()" id="xl">
|
||||
<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="Z">Z行李</option>
|
||||
<option value="Y">Y行李</option> -->
|
||||
|
||||
@@ -27,6 +27,9 @@ public filterItems = {
|
||||
chutCode:'',
|
||||
}
|
||||
|
||||
checkinGroups : Array<any>; //值机岛
|
||||
terminalAreas : Array<any>; //所属航站楼区域
|
||||
chuts : Array<any>; //行李传送带
|
||||
checkinDesks : Array<any>;
|
||||
public row_state: any = { renderFlight: {} };
|
||||
public render_data: Array<object> = []; //显示数据,即需要显示的数据
|
||||
@@ -39,6 +42,27 @@ ngOnInit() {
|
||||
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;
|
||||
}
|
||||
)
|
||||
/**
|
||||
* 固定表头
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user