航班异常状态信息字段修改
This commit is contained in:
@@ -62,7 +62,7 @@ export class RelatedTabComponent implements OnInit {
|
||||
let fretIndex = this.lines.preFlight['ABN'].findIndex(ele => ele.TYPE === 'RTN');
|
||||
|
||||
if (delyIndex > -1) {
|
||||
let delyMessage = this.lines.preFlight['ABN'][delyIndex].BODY
|
||||
let delyMessage = this.lines.preFlight['ABN'][delyIndex].DLY
|
||||
this.predelay = Object.assign({}, delyMessage[delyMessage.length - 1]);
|
||||
|
||||
let fimsFlightstatusDefinition = null;
|
||||
@@ -82,11 +82,11 @@ export class RelatedTabComponent implements OnInit {
|
||||
this.predelay['DURA'] = parseInt(this.predelay['DURA'].substr(0, 2)) * 3600000 + parseInt(this.predelay['DURA'].substr(2, 3)) * 60000 + this.predelay['STRT']
|
||||
}
|
||||
if (cancleIndex > -1) {
|
||||
let cancle = this.lines.preFlight['ABN'][cancleIndex].BODY;
|
||||
let cancle = this.lines.preFlight['ABN'][cancleIndex].CAN;
|
||||
this.precancle = new Date(this.utils.dateFormatter(cancle)).getTime();
|
||||
}
|
||||
if (fdivIndex > -1) {
|
||||
let fdiv = this.lines.preFlight['ABN'][fdivIndex].BODY;
|
||||
let fdiv = this.lines.preFlight['ABN'][fdivIndex].ALT;
|
||||
if (fdiv.DDES) {
|
||||
this.prefdiv = Object.assign({}, fdiv);
|
||||
let airportIndex = this.allAirports.findIndex(val => val.airportCodeIata === this.prefdiv.DDES);
|
||||
@@ -96,7 +96,7 @@ export class RelatedTabComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
if (fretIndex > -1) {
|
||||
let fret = this.lines.preFlight['ABN'][fretIndex].BODY;
|
||||
let fret = this.lines.preFlight['ABN'][fretIndex].RTN;
|
||||
if (fret.VALUE && fret.REID) {
|
||||
this.prefret = Object.assign({}, fret);
|
||||
}
|
||||
@@ -109,7 +109,7 @@ export class RelatedTabComponent implements OnInit {
|
||||
let fretIndex = this.lines.reaFlight['ABN'].findIndex(ele => ele.TYPE === 'RTN');
|
||||
|
||||
if (delyIndex > -1) {
|
||||
let delyMessage = this.lines.reaFlight['ABN'][delyIndex].BODY
|
||||
let delyMessage = this.lines.reaFlight['ABN'][delyIndex].DLY
|
||||
this.readelay = Object.assign({}, delyMessage[delyMessage.length - 1]);
|
||||
|
||||
let fimsFlightstatusDefinition = null;
|
||||
@@ -130,11 +130,11 @@ export class RelatedTabComponent implements OnInit {
|
||||
this.readelay['DURA'] = parseInt(this.readelay['DURA'].substr(0, 2)) * 3600000 + parseInt(this.readelay['DURA'].substr(2, 3)) * 60000 + this.readelay['STRT'];
|
||||
}
|
||||
if (cancleIndex > -1) {
|
||||
let cancle = this.lines.reaFlight['ABN'][cancleIndex].BODY;
|
||||
let cancle = this.lines.reaFlight['ABN'][cancleIndex].CAN;
|
||||
this.reacancle = new Date(this.utils.dateFormatter(cancle)).getTime();
|
||||
}
|
||||
if (fdivIndex > -1) {
|
||||
let fdiv = this.lines.reaFlight['ABN'][fdivIndex].BODY;
|
||||
let fdiv = this.lines.reaFlight['ABN'][fdivIndex].ALT;
|
||||
if (fdiv.DDES) {
|
||||
this.reafdiv = Object.assign({}, fdiv);
|
||||
let airportIndex = this.allAirports.findIndex(val => val.airportCodeIata === this.reafdiv.DDES);
|
||||
@@ -145,7 +145,7 @@ export class RelatedTabComponent implements OnInit {
|
||||
|
||||
}
|
||||
if (fretIndex > -1) {
|
||||
let fret = this.lines.reaFlight['ABN'][fretIndex].BODY;
|
||||
let fret = this.lines.reaFlight['ABN'][fretIndex].RTN;
|
||||
if (fret.VALUE && fret.REID) {
|
||||
this.reafret = Object.assign({}, fret);
|
||||
}
|
||||
|
||||
@@ -2,6 +2,24 @@
|
||||
<div class="mb-4 fieldset-card">
|
||||
<fieldset>
|
||||
<legend>航班VIP信息</legend>
|
||||
<!-- <div>
|
||||
<p style="padding-left:10px">
|
||||
<label>姓名:</label>
|
||||
<label>张勤</label>
|
||||
</p>
|
||||
<p style="padding-left:10px">
|
||||
<label>职位:</label>
|
||||
<label>成都军区总医院主任医师</label>
|
||||
</p>
|
||||
<p style="padding-left:10px">
|
||||
<label>随从人数:</label>
|
||||
<label>0</label>
|
||||
</p>
|
||||
<p style="padding-left:10px">
|
||||
<label>vipcode:</label>
|
||||
<label>VC12987</label>
|
||||
</p>
|
||||
</div> -->
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user