增加航班计划
This commit is contained in:
@@ -54,7 +54,7 @@ inputEnter() {
|
|||||||
this.inputFilter(this.airlines)
|
this.inputFilter(this.airlines)
|
||||||
} else {
|
} else {
|
||||||
this.inputFilter(this.airlines)
|
this.inputFilter(this.airlines)
|
||||||
// this.inputPosition(this.render_data)
|
this.inputPosition(this.airlines)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ inputEnter() {
|
|||||||
selectChange() {
|
selectChange() {
|
||||||
this.return_data = this.airlines.filter(item=>{
|
this.return_data = this.airlines.filter(item=>{
|
||||||
let is_satis = true;
|
let is_satis = true;
|
||||||
for (const key in this.filterItems) {debugger
|
for (const key in this.filterItems) {
|
||||||
if (this.filterItems.hasOwnProperty(key) && this.filterItems[key]) {
|
if (this.filterItems.hasOwnProperty(key) && this.filterItems[key]) {
|
||||||
if (item[key] === this.filterItems[key]) {
|
if (item[key] === this.filterItems[key]) {
|
||||||
is_satis = true;
|
is_satis = true;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ inputEnter() {
|
|||||||
this.inputFilter(this.airports)
|
this.inputFilter(this.airports)
|
||||||
} else {
|
} else {
|
||||||
this.inputFilter(this.airports)
|
this.inputFilter(this.airports)
|
||||||
// this.inputPosition(this.render_data)
|
this.inputPosition(this.airports)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
<option value="GH">国内区域</option>
|
<option value="GH">国内区域</option>
|
||||||
<option value="CH">国际区域</option>
|
<option value="CH">国际区域</option>
|
||||||
<option value="QT">其他区域</option>
|
<option value="QT">其他区域</option>
|
||||||
|
<!-- <option *ngFor="let item of seasonals" [value]="item.airlineId">{{item.airlineId}}</option> -->
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-container mr-4">
|
<div class="input-container mr-4">
|
||||||
@@ -42,24 +43,28 @@
|
|||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
<option value="K">可用</option>
|
<option value="K">可用</option>
|
||||||
<option value="R">不可用</option>
|
<option value="R">不可用</option>
|
||||||
|
<!-- <option *ngFor="let item of seasonals" [value]="item.routeType">{{item.routeType}}</option> -->
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-container mr-4">
|
<div class="input-container mr-4">
|
||||||
<label for="">航班类别: </label>
|
<label for="flightTypeCode">航班类别: </label>
|
||||||
<select class="form-control" (ngModelChange)="selectChange()">
|
<select class="form-control" (ngModelChange)="selectChange()">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
|
<!-- <option *ngFor="let item of seasonals" [value]="item.flightTypeCode">{{item.flightTypeCode}}</option> -->
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-container mr-4">
|
<div class="input-container mr-4">
|
||||||
<label for="">到达/出发: </label>
|
<label for="arriOrDept">到达/出发: </label>
|
||||||
<select class="form-control" (ngModelChange)="selectChange()">
|
<select class="form-control" (ngModelChange)="selectChange()">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
|
<!-- <option *ngFor="let item of seasonals" [value]="item.arriOrDept">{{item.arriOrDept}}</option> -->
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-container mr-4">
|
<div class="input-container mr-4">
|
||||||
<label for="">航班任务: </label>
|
<label for="flightTask">航班任务: </label>
|
||||||
<select class="form-control" (ngModelChange)="selectChange()">
|
<select class="form-control" (ngModelChange)="selectChange()">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
|
<!-- <option *ngFor="let item of seasonals" [value]="item.flightTask">{{item.flightTask}}</option> -->
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -81,22 +86,48 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>序号</th>
|
<th>序号</th>
|
||||||
<!-- <th>登机门代码</th>
|
<!-- <th>航班号</th>
|
||||||
<th>登机门名称</th>
|
<th>航班季度</th>
|
||||||
<th>航站楼区域</th>
|
<th>国际代码</th>
|
||||||
<th>资源状态</th> -->
|
<th>航空公司</th>
|
||||||
<th *ngFor="let airline_col of seasonal_lists">{{airline_col.COL_CN}}</th>
|
<th>航线类别</th>
|
||||||
|
<th>航班类别</th>
|
||||||
|
<th>航班任务</th>
|
||||||
|
<th>运营日</th>
|
||||||
|
<th>开始日期</th>
|
||||||
|
<th>结束日期</th>
|
||||||
|
<th>航线</th>
|
||||||
|
<th>进/出港</th>
|
||||||
|
<th>到达时间</th>
|
||||||
|
<th>出发时间</th>
|
||||||
|
<th>机型</th>
|
||||||
|
<th>飞行距离(千米)</th>
|
||||||
|
<th>飞行时间(分钟)</th> -->
|
||||||
|
<th *ngFor="let seasonal of seasonal_lists">{{seasonal.COL_CN}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let airline_row of render_data;let i = index" (click)="selectRow(airline_row)"
|
<tr *ngFor="let airline_row of render_data;let i = index" (click)="selectRow(airline_row)"
|
||||||
[ngClass]="{'selected':row_state['renderFlight']===airline_row['renderFlight']}">
|
[ngClass]="{'selected':row_state['renderFlight']===airline_row['renderFlight']}">
|
||||||
<td>{{i+1}}</td>
|
<td>{{i+1}}</td>
|
||||||
<!-- <td>{{airline_col.gateCode}}</td>
|
<!-- <td>{{seasonal.flightNumber}}</td>
|
||||||
<td>{{airline_col.gateName}}</td>
|
<td>{{seasonal.seasonRecId}}</td>
|
||||||
<td>{{airline_col.terminalAreaCode}}</td>
|
<td>{{seasonal.internationalCode}}</td>
|
||||||
<td>{{airline_col.gateStatus}}</td> -->
|
<td>{{seasonal.airlineId}}</td>
|
||||||
<td *ngFor="let airline_col of seasonal_lists" [ngStyle]="{'background-color':getColor(airline_col.COL_CODE)}">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td>
|
<td>{{seasonal.routeType}}</td>
|
||||||
|
<td>{{seasonal.flightTypeCode}}</td>
|
||||||
|
<td>{{seasonal.flightTask}}</td>
|
||||||
|
<td>{{seasonal.operationDays}}</td>
|
||||||
|
<td>{{seasonal.startDate}}</td>
|
||||||
|
<td>{{seasonal.endDate}}</td>
|
||||||
|
<td>{{seasonal.startAirport}}</td>
|
||||||
|
<td>{{seasonal.arriOrDept}}</td>
|
||||||
|
<td>{{seasonal.arrivalTime}}</td>
|
||||||
|
<td>{{seasonal.departureTime}}</td>
|
||||||
|
<td>{{seasonal.aircraftTypeCode}}</td>
|
||||||
|
<td>{{seasonal.flyingDistance}}</td>
|
||||||
|
<td>{{seasonal.flyingTime}}</td> -->
|
||||||
|
<td *ngFor="let seasonal of seasonal_lists" [ngStyle]="{'background-color':getColor(seasonal.COL_CODE)}">{{airline_row['renderFlight'][seasonal.COL_CODE]}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user