From 3d0782952c1202cb11f1f9ac4c5eab20030058a6 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 4 Aug 2022 15:39:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E6=8F=90=E7=A4=BA=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scriptDisplay/component/covertOperation.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/views/newMap/displayNew/scriptDisplay/component/covertOperation.js b/src/views/newMap/displayNew/scriptDisplay/component/covertOperation.js index 7287f2835..30ae0aa89 100644 --- a/src/views/newMap/displayNew/scriptDisplay/component/covertOperation.js +++ b/src/views/newMap/displayNew/scriptDisplay/component/covertOperation.js @@ -1028,10 +1028,24 @@ function getTicketInfoById(ticket) { const ticketTypeMap = {'RAIL_TICKET':'路票', 'GREEN_LICENCE':'绿色许可证', 'RED_LICENCE':'红色许可证'}; let info = ''; if (ticket.type == 'GREEN_LICENCE') { - info = ',编号为' + ticket.number + ',原因为' + ticket.reason + ',车次号为' + ticket.tripNumber + + info = ',编号为' + ticket.number + + '在' + ticket.reason + '的情况下,准许第' + ticket.tripNumber + '次列车由' + ticket.line + '线上发车。' + ',站名印为' + ticket.stationSeal + ',签名为' + ticket.signature + - ',' + ticket.line + '线上发车' + ',日期为' + ticket.year + '年' + ticket.moon + '月' + ticket.day + '日'; + } else if (ticket.type == 'RED_LICENCE') { + info = ',编号为' + ticket.number + + ',现在一切电话中断,准许第' + ticket.licenseTripNumber + '次列车自' + ticket.licenseStation + + '站至' + ticket.licenseNextStation + '站,本列车前于' + ticket.licenseHour + '时' + ticket.licenseMinute + + '分发出的第' + ticket.licenseTripNumber2 + '次列车,邻站到达通知' + ticket.licenseReceived ? '已' : '未' + '收到' + + '。 通知书:1.' + '第' + ticket.noticeTripNumber + '次列车到达你站后,准接你站发出的列车。' + + '2.于' + ticket.noticeHour1 + '时' + ticket.noticeMinute1 + '分发出第' + ticket.noticeTripNumber1 + '次列车,并于' + ticket.noticeHour2 + + '时' + ticket.noticeMinute2 + '分再发出第' + ticket.noticeTripNumber2 + '次列车。' + + ',站名印为' + ticket.stationSeal + ',签名为' + ticket.signature + + ',日期为' + ticket.year + '年' + ticket.moon + '月' + ticket.day + '日'; + } else if (ticket.type == 'RAIL_TICKET') { + info = ',编号为' + ticket.number + ',车次为' + ticket.tripNumber + ',' + ticket.station + '到' + ticket.nextStation + + ',站名印为' + ticket.stationSeal + ',编号为' + ticket.no; + // deputy: false } return '类型为' + ticketTypeMap[ticket.type] + info; }