From c83cf31bf3df7234c878bc78d3f360968a23df4f Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 9 Jun 2022 17:16:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20?= =?UTF-8?q?=E8=A1=8C=E8=BD=A6=E6=97=A5=E5=BF=97=20=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=BD=A6=E6=AC=A1=E5=8F=B7=20=20=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/components/utils/menuOperate.js | 5 +++++ .../datie_02/menus/dialog/modifyAdjacentStation.vue | 10 +++++----- src/jmapNew/theme/datie_02/menus/runplanPane.vue | 11 ++++++++--- src/scripts/cmdPlugin/CommandEnum.js | 3 ++- src/scripts/cmdPlugin/OperationHandler.js | 7 +++++++ 5 files changed, 27 insertions(+), 9 deletions(-) diff --git a/src/jmapNew/theme/components/utils/menuOperate.js b/src/jmapNew/theme/components/utils/menuOperate.js index 279e5cab7..c03ff3e9f 100644 --- a/src/jmapNew/theme/components/utils/menuOperate.js +++ b/src/jmapNew/theme/components/utils/menuOperate.js @@ -553,6 +553,11 @@ export const menuOperate = { modifyAdjacentStation:{ operation: OperationEvent.CTCCommand.modifyAdjacentStation.menu.operation, cmdType: CMD.CTC.CTC_MODIFY_ADJACENT_STATION + }, + // 修改车次号(大铁CTC) + modifyTripNumber:{ + operation: OperationEvent.CTCCommand.modifyTripNumber.menu.operation, + cmdType: CMD.CTC.CTC_MODIFY_TRIP_NUMBER } } diff --git a/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue b/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue index d0aba1013..38132058d 100644 --- a/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue +++ b/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue @@ -26,10 +26,10 @@ :value="item.code" /> - 站驶来 +
站驶来
- 驶向 +
驶向
- +
@@ -101,8 +101,8 @@ export default { doShow(row) { this.model.stationCode = row.stationCode; this.model.runPlanCode = row.code; - this.model.arriveStationCode = row.arriveStationCode || ''; - this.model.departStationCode = row.departStationCode || ''; + this.model.arriveStationCode = (row.arriveRunPlan && row.arriveRunPlan.stationCode) || ''; + this.model.departStationCode = (row.departRunPlan && row.departRunPlan.stationCode) || ''; this.tripNumber = row.tripNumber; this.dialogShow = true; this.$nextTick(function () { diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue index bede115ae..cf15031b5 100644 --- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue +++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue @@ -464,6 +464,7 @@ +