系统管理bug修改及添加个人修改密码
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
<label for="">航空公司: </label>
|
||||
<select [(ngModel)]="filterItems.ALCD" (ngModelChange)="selectChange('filter')" class="form-control">
|
||||
<option value=""></option>
|
||||
<option *ngFor="let airline of airlinesSelections" [value]="airline.airlineCodeIata">{{airline.airlineName}}</option>
|
||||
<option *ngFor="let airline of airlinesSelections" [value]="airline['airlineCodeIata']">{{airline['airlineName']}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="input-container mr-4">
|
||||
@@ -111,10 +111,10 @@
|
||||
<label for="">异常状态: </label>
|
||||
<select [(ngModel)]="filterItems.Abnormal_state" (ngModelChange)="selectChange('filter')" class="form-control">
|
||||
<option value=""></option>
|
||||
<option value="CNCL">取消</option>
|
||||
<option value="DELY">延误</option>
|
||||
<option value="FDIV">备降</option>
|
||||
<option value="FRET">返航</option>
|
||||
<option value="CAN">取消</option>
|
||||
<option value="DLY">延误</option>
|
||||
<option value="ALT">备降</option>
|
||||
<option value="RTN">返航</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="input-container mr-4">
|
||||
|
||||
@@ -246,8 +246,8 @@ export class MainComponent implements OnInit {
|
||||
*/
|
||||
doSequence(combined_data) {
|
||||
this.raw_data.forEach(element => {
|
||||
if (this.airlinesSelections.findIndex(airline => airline.airlineCodeIata === element['ALCD']) === -1) {
|
||||
let index = this.airlines.findIndex(val => val.airlineCodeIata === element['ALCD']);
|
||||
if (this.airlinesSelections.findIndex(airline => airline['airlineCodeIata'] === element['ALCD']) === -1) {
|
||||
let index = this.airlines.findIndex(val => val['airlineCodeIata'] === element['ALCD']);
|
||||
this.airlinesSelections.push(this.airlines[index]);
|
||||
}
|
||||
if (this.flightTypeSelections.findIndex(flightType => flightType.flightTypeCode === element['FLTY']) === -1) {
|
||||
@@ -630,7 +630,7 @@ export class MainComponent implements OnInit {
|
||||
groupCode: 'userSettingSelected',
|
||||
settingContent: settingContent,
|
||||
}).subscribe(() => {
|
||||
console.log('保存UIsetting成功!');
|
||||
|
||||
})
|
||||
} else if (type === 'time') {
|
||||
this.positionedArray = [];
|
||||
@@ -651,7 +651,7 @@ export class MainComponent implements OnInit {
|
||||
for (const key in filterItems) {
|
||||
if (filterItems.hasOwnProperty(key) && filterItems[key]) {
|
||||
if (key === 'Abnormal_state') {
|
||||
if (item['preFlight'][filterItems[key]] && item['preFlight'][filterItems[key]].length > 0) {
|
||||
if(item['preFlight']['ABN'].findIndex((val)=>val['TYPE']===filterItems[key])>-1){
|
||||
is_satis = true;
|
||||
continue;
|
||||
} else {
|
||||
@@ -687,7 +687,7 @@ export class MainComponent implements OnInit {
|
||||
for (const key in filterItems) {
|
||||
if (filterItems.hasOwnProperty(key) && filterItems[key]) {
|
||||
if (key === 'Abnormal_state') {
|
||||
if (item['reaFlight'][filterItems[key]] && item['reaFlight'][filterItems[key]].length > 0) {
|
||||
if (item['reaFlight']['ABN'].findIndex((val)=>val['TYPE']===filterItems[key])>-1) {
|
||||
is_satis = true;
|
||||
continue;
|
||||
} else {
|
||||
@@ -724,7 +724,7 @@ export class MainComponent implements OnInit {
|
||||
for (const key in filterItems) {
|
||||
if (filterItems.hasOwnProperty(key) && filterItems[key]) {
|
||||
if (key === 'Abnormal_state') {
|
||||
if (item['preFlight'][filterItems[key]] && item['preFlight'][filterItems[key]].length > 0) {
|
||||
if (item['preFlight']['ABN'].findIndex((val)=>val['TYPE']===filterItems[key])>-1) {
|
||||
pre_satis = true;
|
||||
continue;
|
||||
} else {
|
||||
@@ -757,7 +757,7 @@ export class MainComponent implements OnInit {
|
||||
for (const key in filterItems) {
|
||||
if (filterItems.hasOwnProperty(key) && filterItems[key]) {
|
||||
if (key === 'Abnormal_state') {
|
||||
if (item['reaFlight'][filterItems[key]] && item['reaFlight'][filterItems[key]].length > 0) {
|
||||
if (item['reaFlight']['ABN'].findIndex((val)=>val['TYPE']===filterItems[key])>-1) {
|
||||
rea_satis = true;
|
||||
continue;
|
||||
} else {
|
||||
@@ -812,7 +812,7 @@ export class MainComponent implements OnInit {
|
||||
for (const key in filterItems) {
|
||||
if (filterItems.hasOwnProperty(key) && filterItems[key]) {
|
||||
if (key === 'Abnormal_state') {
|
||||
if (item['preFlight'][filterItems[key]] && item['preFlight'][filterItems[key]].length > 0) {
|
||||
if (item['preFlight']['ABN'].findIndex((val)=>val['TYPE']===filterItems[key])>-1) {
|
||||
is_satis = true;
|
||||
continue;
|
||||
} else {
|
||||
@@ -837,7 +837,7 @@ export class MainComponent implements OnInit {
|
||||
for (const key in filterItems) {
|
||||
if (filterItems.hasOwnProperty(key) && filterItems[key]) {
|
||||
if (key === 'Abnormal_state') {
|
||||
if (item['reaFlight'][filterItems[key]] && item['reaFlight'][filterItems[key]].length > 0) {
|
||||
if (item['reaFlight']['ABN'].findIndex((val)=>val['TYPE']===filterItems[key])>-1) {
|
||||
is_satis = true;
|
||||
continue;
|
||||
} else {
|
||||
@@ -863,7 +863,7 @@ export class MainComponent implements OnInit {
|
||||
for (const key in filterItems) {
|
||||
if (filterItems.hasOwnProperty(key) && filterItems[key]) {
|
||||
if (key === 'Abnormal_state') {
|
||||
if (item['preFlight'][filterItems[key]] && item['preFlight'][filterItems[key]].length > 0) {
|
||||
if (item['preFlight']['ABN'].findIndex((val)=>val['TYPE']===filterItems[key])>-1) {
|
||||
pre_satis = true;
|
||||
continue;
|
||||
} else {
|
||||
@@ -885,7 +885,7 @@ export class MainComponent implements OnInit {
|
||||
for (const key in filterItems) {
|
||||
if (filterItems.hasOwnProperty(key) && filterItems[key]) {
|
||||
if (key === 'Abnormal_state') {
|
||||
if (item['reaFlight'][filterItems[key]] && item['reaFlight'][filterItems[key]].length > 0) {
|
||||
if (item['reaFlight']['ABN'].findIndex((val)=>val['TYPE']===filterItems[key])>-1) {
|
||||
rea_satis = true;
|
||||
continue;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user