diff --git a/src/scripts/cmdPlugin/newHandler.js b/src/scripts/cmdPlugin/newHandler.js index 6927d302d..759a8412c 100644 --- a/src/scripts/cmdPlugin/newHandler.js +++ b/src/scripts/cmdPlugin/newHandler.js @@ -122,7 +122,7 @@ class Handler { const group = router.currentRoute.query.group; const stepInfo = store.state.trainingNew.stepInfo; endTrainingStep(group, stepInfo.id).then(resp => { - store.dispatch('trainingNew/clearOperateOrder'); + // store.dispatch('trainingNew/clearOperateOrder'); }).catch(e => { console.error('进入下一步失败!', e); }); diff --git a/src/store/modules/trainingNew.js b/src/store/modules/trainingNew.js index 8f0dec7b1..9c886e24e 100644 --- a/src/store/modules/trainingNew.js +++ b/src/store/modules/trainingNew.js @@ -83,6 +83,7 @@ const training = { if (store.state.training.myMemberId == state.stepInfo.memberId) { state.stepRecord.push({ stepId: state.stepInfo.id, success: false, clientOperations: [] }); } + state.operateOrder = 0; Handler.judgeIsTextSendOperation(); }, clearStepInfo: (state, stepInfo) => { diff --git a/src/utils/stomp.js b/src/utils/stomp.js index cad94cbde..d347f7cc0 100644 --- a/src/utils/stomp.js +++ b/src/utils/stomp.js @@ -35,7 +35,7 @@ export function getTopic(type, group, param) { topic = `/queue/simulation/${group}/iscs/gate/${param.stationCode}`; break; case 'TMS': - topic = `/queue/simulation/${group}/train/001/tms`; + topic = `/queue/simulation/${group}/train/${param.groupNumber}/tms`; break; case 'PIS_STAND': topic = `/queue/simulation/${group}/standPis/${param.standCode}`; diff --git a/src/views/jlmap3d/drive/sceneview/tmsPage.vue b/src/views/jlmap3d/drive/sceneview/tmsPage.vue index a1462ca8a..dda451a04 100644 --- a/src/views/jlmap3d/drive/sceneview/tmsPage.vue +++ b/src/views/jlmap3d/drive/sceneview/tmsPage.vue @@ -8,7 +8,7 @@ 网压 网流 速度 - 牵引/制动级位 + 牵引/制动级位111 里程标 下一站 目的站 @@ -143,7 +143,7 @@ -