From 667bca7aa20e2c802fb2bed7ddc24c8774509701 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 16 Jun 2022 16:36:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20ctc=20?= =?UTF-8?q?=E8=BD=A6=E5=8A=A1=E7=AE=A1=E7=90=86=E7=AB=AF=20=E5=88=97?= =?UTF-8?q?=E8=BD=A6=E5=9B=BA=E5=AE=9A=E8=B7=AF=E5=BE=84=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E8=87=B3ctc=20=E5=AF=BC=E5=85=A5=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/socket.js | 20 ++--- .../bigTrainRunplanManage/trainFixedPath.vue | 80 ++++++++++++++++++- 2 files changed, 88 insertions(+), 12 deletions(-) diff --git a/src/store/modules/socket.js b/src/store/modules/socket.js index b3d89fa43..05e32be8d 100644 --- a/src/store/modules/socket.js +++ b/src/store/modules/socket.js @@ -235,10 +235,12 @@ function handle(state, data) { break; // 大铁项目 ctc 车务管理端 初始化消息 case 'SIMULATION_CTC_MANAGER_RUN_PLAN_EDIT_INIT': + state.railCtcStationManageRpMsg = {}; msg.forEach(element => { const code = element.stationCode + '' + element.tripNumber; state.railCtcStationManageRpMsg[code] = element; }); + // state.railCtcStationManageRpChange++; break; // 大铁项目 ctc 车务管理端 修改/增加消息 case 'SIMULATION_CTC_MANAGER_RUN_PLAN_EDIT_CHANGE': @@ -256,15 +258,15 @@ function handle(state, data) { }); state.railCtcStationManageRpChange++; break; - // 大铁项目 ctc 车务管理端 覆盖消息 - case 'SIMULATION_CTC_MANAGER_RUN_PLAN_EDIT_COVER': - state.railCtcStationManageRpMsg = {}; - msg.forEach(element => { - const code = element.stationCode + '' + element.tripNumber; - state.railCtcStationManageRpMsg[code] = element; - }); - state.railCtcStationManageRpChange++; - break; + // // 大铁项目 ctc 车务管理端 覆盖消息 + // case 'SIMULATION_CTC_MANAGER_RUN_PLAN_EDIT_COVER': + // state.railCtcStationManageRpMsg = {}; + // msg.forEach(element => { + // const code = element.stationCode + '' + element.tripNumber; + // state.railCtcStationManageRpMsg[code] = element; + // }); + // state.railCtcStationManageRpChange++; + // break; } } diff --git a/src/views/bigTrainRunplanManage/trainFixedPath.vue b/src/views/bigTrainRunplanManage/trainFixedPath.vue index 5e161c112..b7f5cf17c 100644 --- a/src/views/bigTrainRunplanManage/trainFixedPath.vue +++ b/src/views/bigTrainRunplanManage/trainFixedPath.vue @@ -22,8 +22,11 @@