From 093fb9833ae6b6953ea6fd7061400fd63eb14c34 Mon Sep 17 00:00:00 2001 From: Ycc Date: Fri, 16 May 2025 16:41:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=81=AB=E8=BD=A6=E8=AE=A1=E5=88=92=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/trainticket/index.jsx | 48 ++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/src/views/trainticket/index.jsx b/src/views/trainticket/index.jsx index 78b0883..523b862 100644 --- a/src/views/trainticket/index.jsx +++ b/src/views/trainticket/index.jsx @@ -27,6 +27,26 @@ const planListColumns = [ dataIndex: "PersonNum", key: "PersonNum", }, + { + title: "出发", + key: "FromAirport", + dataIndex: "FromAirport", + }, + { + title: "抵达", + key: "ToAirport", + dataIndex: "ToAirport", + }, + { + title: "车次", + key: "FlightNo", + dataIndex: "FlightNo", + }, + { + title: "座位类型", + key: "FlightCabin", + dataIndex: "FlightCabin", + }, { title: "出发日期", key: "StartDate", @@ -38,32 +58,18 @@ const planListColumns = [ }, }, { - title: "出发城市", - key: "FromCity", - dataIndex: "FromCity", - }, - { - title: "抵达城市", - key: "ToCity", - dataIndex: "ToCity", - }, - { - title: "航班", - key: "FlightNo", - dataIndex: "FlightNo", - }, - { - title: "起飞时间", + title: "开始时间", key: "FlightStart", dataIndex: "FlightStart", render: text => formatColonTime(text), }, { - title: "落地时间", + title: "抵达时间", key: "FlightEnd", dataIndex: "FlightEnd", render: text => formatColonTime(text), }, + { title: "出票处理", key: "TicketIssued", @@ -80,7 +86,7 @@ const planListColumns = [ title: "操作", key: "FlightInfo", dataIndex: "FlightInfo", - render: (text, record) => {"编辑"}, + render: (text, record) => {"编辑"}, }, ]; @@ -116,10 +122,10 @@ const Trainticket = props => { - - @@ -129,7 +135,7 @@ const Trainticket = props => { - +