From d99cd55daf4f5b9486a4d67b7f446bda4b5a5a36 Mon Sep 17 00:00:00 2001
From: zhouyuejun <505127606@qq.com>
Date: Wed, 23 Jan 2019 15:48:56 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E7=BB=86=E4=BF=A1=E6=81=AF=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E6=A0=87=E5=BF=97=E7=B1=BB=E5=92=8C=E6=95=B0=E9=87=8F?=
=?UTF-8?q?=E7=B1=BB=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/pages/main/detail-tab/detail-tab.component.html | 8 ++++++++
src/app/pages/main/detail-tab/detail-tab.component.ts | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/src/app/pages/main/detail-tab/detail-tab.component.html b/src/app/pages/main/detail-tab/detail-tab.component.html
index 9f975db..d08a28d 100644
--- a/src/app/pages/main/detail-tab/detail-tab.component.html
+++ b/src/app/pages/main/detail-tab/detail-tab.component.html
@@ -38,4 +38,12 @@
{{singleFlight.BOTM}}
{{singleFlight.GCTM}}
+ 标志类 -----------------------------------------
+
+
{{vipNumber>0?'是':'否'}}
+
+ 数量类 -----------------------------------------
+
\ No newline at end of file
diff --git a/src/app/pages/main/detail-tab/detail-tab.component.ts b/src/app/pages/main/detail-tab/detail-tab.component.ts
index 8993c1a..adb4f0f 100644
--- a/src/app/pages/main/detail-tab/detail-tab.component.ts
+++ b/src/app/pages/main/detail-tab/detail-tab.component.ts
@@ -12,12 +12,14 @@ export class DetailTabComponent implements OnInit {
public showPsst: string;
public showRemc:string;
+ public vipNumber:boolean;
@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;
+ this.vipNumber = this.lines.preFlight.VIPP;
let psst = this.psstFormatter(this.lines.preFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -28,6 +30,7 @@ export class DetailTabComponent implements OnInit {
} else if (!this.lines.preFlight && this.lines.reaFlight) {
this.singleFlight = this.lines.renderFlight;
this.showRemc = this.lines.reaFlight.REMC;
+ this.vipNumber = this.lines.reaFlight.VIPP;
let psst = this.psstFormatter(this.lines.reaFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -38,6 +41,7 @@ export class DetailTabComponent implements OnInit {
} else {
this.singleFlight = this.lines.renderPreFlight;
this.showRemc = this.lines.preFlight.REMC;
+ this.vipNumber = this.lines.preFlight.VIPP;
let psst = this.psstFormatter(this.lines.preFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -56,6 +60,7 @@ export class DetailTabComponent implements OnInit {
if (this.lines.preFlight && !this.lines.reaFlight) {
this.singleFlight = this.lines.renderFlight;
this.showRemc = this.lines.preFlight.REMC;
+ this.vipNumber = this.lines.preFlight.VIPP;
let psst = this.psstFormatter(this.lines.preFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -66,6 +71,7 @@ export class DetailTabComponent implements OnInit {
} else {
this.singleFlight = this.lines.renderPreFlight;
this.showRemc = this.lines.preFlight.REMC;
+ this.vipNumber = this.lines.preFlight.VIPP;
let psst = this.psstFormatter(this.lines.preFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -79,6 +85,7 @@ export class DetailTabComponent implements OnInit {
if (!this.lines.preFlight && this.lines.reaFlight) {
this.singleFlight = this.lines.renderFlight;
this.showRemc = this.lines.reaFlight.REMC;
+ this.vipNumber = this.lines.reaFlight.VIPP;
let psst = this.psstFormatter(this.lines.reaFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';
@@ -89,6 +96,7 @@ export class DetailTabComponent implements OnInit {
} else {
this.singleFlight = this.lines.renderReaFlight;
this.showRemc = this.lines.reaFlight.REMC;
+ this.vipNumber = this.lines.reaFlight.VIPP;
let psst = this.psstFormatter(this.lines.reaFlight);
if (psst) {
this.showPsst = (this.singleFlight.STND || '') + '(' + psst + ')';