航线变更通知内容修改

This commit is contained in:
zhouyuejun
2019-01-21 12:04:21 +08:00
parent 81b360d52b
commit 40892850f3
4 changed files with 45 additions and 16 deletions
@@ -5,7 +5,8 @@
<div class="tab-container">
<div class="hr-line">描述类 -----------------------------------------</div>
<div class="message-container">
<p class="mt-2"><label>航班号:</label>{{singleFlight.FLNO}}</p>
<p><label>航班号:</label>{{singleFlight.FLNO}}</p>
<p><label>所属航站楼:</label>{{singleFlight.TRML}}</p>
<p><label>航空公司:</label>{{singleFlight.ALCD}}</p>
<p><label>航线类别:</label>{{singleFlight.FLIN}}</p>
<p><label>航班类别:</label>{{singleFlight.FLTY}}</p>
@@ -14,20 +15,22 @@
<p><label>航班机型:</label>{{singleFlight.ACFT}}</p>
<p><label>到达/出发:</label>{{singleFlight.MVIN}}</p>
<p><label>飞机号:</label>{{singleFlight.RENO}}</p>
<p><label>当前状态:</label>{{singleFlight.FTSS}}</p>
<p><label>运营状态:</label>{{singleFlight.FTSS}}</p>
<p><label>备注说明:</label>{{showRemc}}</p>
</div>
<div class="hr-line">资源类 -----------------------------------------</div>
<div class="message-container">
<p class="mt-2"><label>停机位:</label>{{showPsst}}</p>
<p><label>停机位:</label>{{showPsst}}</p>
<p><label>登机门:</label>{{singleFlight.GTDT}}</p>
<p><label>值机柜台:</label>{{singleFlight.CHKC}}</p>
<p><label>行李传送带:</label>{{singleFlight.CHUT}}</p>
</div>
<div class="hr-line">时间类 -----------------------------------------</div>
<div class="message-container">
<p class="mt-2"><label>计划到达/出发</label>{{singleFlight.SODT}}</p>
<p><label>预计到达/出发</label>{{singleFlight.ESTT}}</p>
<p><label>实际到达/出发</label>{{singleFlight.ACTT}}</p>
<p><label>运营日期</label>{{singleFlight.FLDT}}</p>
<p><label>计划时间</label>{{singleFlight.SODT}}</p>
<p><label>预计时间</label>{{singleFlight.ESTT}}</p>
<p><label>实际时间:</label>{{singleFlight.ACTT}}</p>
<p><label>上轮档:</label>{{singleFlight.CHTM_ON}}</p>
<p><label>下轮档:</label>{{singleFlight.CHTM_OFF}}</p>
<p><label>值机开始:</label>{{singleFlight.COTM}}</p>
@@ -35,4 +38,4 @@
<p><label>开始登机:</label>{{singleFlight.BOTM}}</p>
<p><label>登机结束:</label>{{singleFlight.GCTM}}</p>
</div>
</div>
</div>
@@ -11,11 +11,13 @@ export class DetailTabComponent implements OnInit {
public btnClickDisabled: boolean = true;
public showPsst: string;
public showRemc:string;
@Input() set flight(flight) {
this.lines = Object.assign({}, flight);
if (this.lines.preFlight && !this.lines.reaFlight) {
this.singleFlight = this.lines.renderFlight;
this.showRemc = this.lines.preFlight.REMC;
let psst = this.psstFormatter(this.lines.preFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -25,6 +27,7 @@ export class DetailTabComponent implements OnInit {
this.btnClickDisabled = true;
} else if (!this.lines.preFlight && this.lines.reaFlight) {
this.singleFlight = this.lines.renderFlight;
this.showRemc = this.lines.reaFlight.REMC;
let psst = this.psstFormatter(this.lines.reaFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -34,6 +37,7 @@ export class DetailTabComponent implements OnInit {
this.btnClickDisabled = true;
} else {
this.singleFlight = this.lines.renderPreFlight;
this.showRemc = this.lines.preFlight.REMC;
let psst = this.psstFormatter(this.lines.preFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -51,6 +55,7 @@ export class DetailTabComponent implements OnInit {
showPreFlight() {
if (this.lines.preFlight && !this.lines.reaFlight) {
this.singleFlight = this.lines.renderFlight;
this.showRemc = this.lines.preFlight.REMC;
let psst = this.psstFormatter(this.lines.preFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -60,6 +65,7 @@ export class DetailTabComponent implements OnInit {
this.btnClickDisabled = true;
} else {
this.singleFlight = this.lines.renderPreFlight;
this.showRemc = this.lines.preFlight.REMC;
let psst = this.psstFormatter(this.lines.preFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -72,6 +78,7 @@ export class DetailTabComponent implements OnInit {
showReaFlight() {
if (!this.lines.preFlight && this.lines.reaFlight) {
this.singleFlight = this.lines.renderFlight;
this.showRemc = this.lines.reaFlight.REMC;
let psst = this.psstFormatter(this.lines.reaFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -81,6 +88,7 @@ export class DetailTabComponent implements OnInit {
this.btnClickDisabled = true;
} else {
this.singleFlight = this.lines.renderReaFlight;
this.showRemc = this.lines.reaFlight.REMC;
let psst = this.psstFormatter(this.lines.reaFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';