From 9fea9eaaf516e1fd09b7067be4fdb009ceeeaca8 Mon Sep 17 00:00:00 2001 From: "714943302@qq.com" Date: Wed, 26 Dec 2018 09:25:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=A3=E5=BA=A6=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E8=AF=A6=E7=BB=86=E9=A1=B5=E9=9D=A2=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail-tab/detail-tab.component.html | 6 +++--- .../pages/seasonal-plan/seasonal-plan.component.ts | 12 +----------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/app/pages/seasonal-plan/detail-tab/detail-tab.component.html b/src/app/pages/seasonal-plan/detail-tab/detail-tab.component.html index 4a6840f..fb9d9b1 100644 --- a/src/app/pages/seasonal-plan/detail-tab/detail-tab.component.html +++ b/src/app/pages/seasonal-plan/detail-tab/detail-tab.component.html @@ -5,14 +5,14 @@

{{flight.seasonRecId}}

{{flight.internationalCode}}

{{flight.airlineChnName}}

-

{{flight.routeType}}

-

{{flight.flightTypeNameCn}}

+

{{flight.routeTypeChn}}

+

{{flight.flightTypeChnName}}

{{flight.operationDays}}

{{flight.startDate}}

{{flight.endDate}}

{{flight.startAirport}}

-

{{flight.arriOrDept}}

+

{{flight.arriOrDeptChn}}

{{flight.arrivalTime}}

{{flight.departureTime}}

{{flight.aircraftTypeName}}

diff --git a/src/app/pages/seasonal-plan/seasonal-plan.component.ts b/src/app/pages/seasonal-plan/seasonal-plan.component.ts index a6c8b6f..88a3b5c 100644 --- a/src/app/pages/seasonal-plan/seasonal-plan.component.ts +++ b/src/app/pages/seasonal-plan/seasonal-plan.component.ts @@ -1,16 +1,8 @@ import { Component, OnInit, ViewChild, Renderer2, ChangeDetectorRef } from '@angular/core'; - import { OperateSpinServiceService } from '../../services/operate-spin-service.service'; import { HttpClientService } from '../../services/http-client.service'; import { BasicDataService } from '../../services/basic-data-service'; - -import { ToastService } from '../../components/toast/toast.service'; -import { ToastConfig, ToastType } from '../../components/toast/toast-model'; - import * as $ from 'jquery'; -import { format } from 'util'; - -declare var laydate: any; @Component({ selector: 'app-seasonal-plan', @@ -24,7 +16,6 @@ export class SeasonalPlanComponent implements OnInit { private httpCilent: HttpClientService, private basicDataService: BasicDataService, private operateSpinServiceService: OperateSpinServiceService, - private toastService: ToastService, private changeDetectorRef: ChangeDetectorRef ) { this.operateSpinServiceService.showSpin(); @@ -96,7 +87,6 @@ export class SeasonalPlanComponent implements OnInit { this.renderer2.setStyle(this.tableContainer.nativeElement, 'height', this.mainPage.nativeElement.offsetHeight - this.searchFilter.nativeElement.offsetHeight - 55 + 'px'); }.bind(this) - this.httpCilent.get('/adminapi/schedule/flightSchdSeason/years').toPromise().then( years => { this.yearLists = years.body; @@ -213,7 +203,7 @@ export class SeasonalPlanComponent implements OnInit { this.operateSpinServiceService.hideSpin(); } - + //查询年份事件 selectYearChange($event) { this.operateSpinServiceService.showSpin(); this.SEARCH = '';