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 @@
-
+
{{ item }}
| {
+ this.groupNumber = this.$store.state.training.roleDeviceCode
+ creatSubscribe(getTopic("TMS", this.group, { groupNumber: this.groupNumber }), header, msg => {
let res = JSON.parse(msg.body);
console.log(res);
console.log(res.parkingBreakPressure);
@@ -315,7 +325,7 @@ export default {
});
},
unsubscribe() {
- clearSubscribe(getTopic("TMS", this.group));
+ clearSubscribe(getTopic("TMS", this.group, { groupNumber: this.groupNumber }));
},
setTractionWave(flag) {
if (timer) {
diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/addTask.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/addTask.vue
index 367fc2e4c..e5dc6c37a 100644
--- a/src/views/newMap/display/terminals/diagramEdit/components/menus/addTask.vue
+++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/addTask.vue
@@ -1,456 +1,456 @@
-
-
-
-
-
- {{ $t('planMonitor.tripNumber')+$t('global.colon') }}
-
-
-
-
-
-
-
- {{ $t('global.startTime')+$t('global.colon') }}
-
-
-
-
-
-
-
-
-
-
-
-
- 运行等级
-
-
-
-
-
-
-
-
-
- {{ $t('planMonitor.crossRailway')+$t('global.colon') }}
-
-
-
-
-
- {{ formatName(scope.row.startStationCode) }}
-
-
-
-
- {{ formatName(scope.row.startSectionCode) }}
-
-
-
-
- {{ formatName(scope.row.endStationCode) }}
-
-
-
-
- {{ formatName(scope.row.endSectionCode) }}
-
-
-
-
- {{ routingTypeMap[scope.row.routingType] }}
-
-
-
-
- {{ `${frontMap[String(scope.row.startTbFront)]} - ${frontMap[String(scope.row.endTbFront)]}` }}
-
-
-
-
-
-
- {{ '经停转换轨 / 站台轨'+$t('global.colon') }}
-
-
-
-
-
- {{ formatName(scope.row.stationCode) }}
-
-
-
-
- {{ formatName(scope.row.sectionCode) }}
-
-
-
-
-
- {{ scope.row.arriveTime }}
-
-
-
-
-
- {{ scope.row.stopTime+'s' }}
-
-
-
-
-
- {{ scope.row.departureTime }}
-
-
-
-
- {{ scope.row.speedLevel }}
- {{ '('+scope.row.speedLevelTime+'s)' }}
-
-
-
-
-
-
-
- {{ $t('global.cancel') }}
- {{ $t('global.confirm') }}
-
-
-
-
-
-
+
+
+
+
+
+ {{ $t('planMonitor.tripNumber')+$t('global.colon') }}
+
+
+
+
+
+
+
+ {{ $t('global.startTime')+$t('global.colon') }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 运行等级
+
+
+
+
+
+
+
+
+
+ {{ $t('planMonitor.crossRailway')+$t('global.colon') }}
+
+
+
+
+
+ {{ formatName(scope.row.startStationCode) }}
+
+
+
+
+ {{ formatName(scope.row.startSectionCode) }}
+
+
+
+
+ {{ formatName(scope.row.endStationCode) }}
+
+
+
+
+ {{ formatName(scope.row.endSectionCode) }}
+
+
+
+
+ {{ routingTypeMap[scope.row.routingType] }}
+
+
+
+
+ {{ `${frontMap[String(scope.row.startTbFront)]} - ${frontMap[String(scope.row.endTbFront)]}` }}
+
+
+
+
+
+
+ {{ '经停转换轨 / 站台轨'+$t('global.colon') }}
+
+
+
+
+
+ {{ formatName(scope.row.stationCode) }}
+
+
+
+
+ {{ formatName(scope.row.sectionCode) }}
+
+
+
+
+
+ {{ scope.row.arriveTime }}
+
+
+
+
+
+ {{ scope.row.stopTime+'s' }}
+
+
+
+
+
+ {{ scope.row.departureTime }}
+
+
+
+
+ {{ scope.row.speedLevel }}
+ {{ '('+scope.row.speedLevelTime+'s)' }}
+
+
+
+
+
+
+
+ {{ $t('global.cancel') }}
+ {{ $t('global.confirm') }}
+
+
+
+
+
+
diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/deleteTask.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/deleteTask.vue
index 229d0ea3e..feec5e8d7 100644
--- a/src/views/newMap/display/terminals/diagramEdit/components/menus/deleteTask.vue
+++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/deleteTask.vue
@@ -1,97 +1,97 @@
-
-
-
- {{ $t('planMonitor.deleteAllPreviousTasks') }}
-
-
- {{ $t('planMonitor.deleteAllSubsequentTasks') }}
-
-
- {{ $t('global.cancel') }}
- {{ $t('global.confirm') }}
-
-
-
-
-
-
+
+
+
+ {{ $t('planMonitor.deleteAllPreviousTasks') }}
+
+
+ {{ $t('planMonitor.deleteAllSubsequentTasks') }}
+
+
+ {{ $t('global.cancel') }}
+ {{ $t('global.confirm') }}
+
+
+
+
+
+
diff --git a/src/views/newMap/display/terminals/diagramEdit/menuBar.vue b/src/views/newMap/display/terminals/diagramEdit/menuBar.vue
index d6a89fd0c..31f8e2aa1 100644
--- a/src/views/newMap/display/terminals/diagramEdit/menuBar.vue
+++ b/src/views/newMap/display/terminals/diagramEdit/menuBar.vue
@@ -714,6 +714,14 @@ export default {
confirmPublish() {
publishRunPlanAllUser(this.loadRunPlanId, this.publishName || this.loadRunPlanName).then(resp => {
this.$message.success(this.$t('tip.publishRunPlanSuccess'));
+ if (resp.data && resp.data.length > 0) {
+ let message = '';
+ resp.data.forEach(msg => message += (msg + ';'))
+ this.$confirm(message, this.$t('global.tips'), {
+ confirmButtonText: this.$t('global.confirm'),
+ showCancelButton: false
+ })
+ }
this.publishVisible = false;
}).catch(() => {
this.$messageBox(this.$t('tip.publishRunPlanFail'));
diff --git a/src/views/newMap/display/terminals/terminalMenu.vue b/src/views/newMap/display/terminals/terminalMenu.vue
index fc3c943d9..1fd1852e9 100644
--- a/src/views/newMap/display/terminals/terminalMenu.vue
+++ b/src/views/newMap/display/terminals/terminalMenu.vue
@@ -205,7 +205,11 @@ export default {
// 司机模拟
const trainingDesign = this.$store.state.training.domConfig ? this.$store.state.training.domConfig.trainingDesign : false;
const terminal = this.findTerminalFromMap(trainingDesign ? 'driverAtsWork' : 'drivingPlan');
- this.changePictureShow(terminal);
+ if (this.$route.query.type === 'TMS') {
+ this.changePictureShow(this.findTerminalFromMap('tms'));
+ } else {
+ this.changePictureShow(terminal);
+ }
} else if (this.roles === 'NCC_DISPATCHER') {
const terminal = this.findTerminalFromMap('nccWork');
this.changePictureShow(terminal);
diff --git a/src/views/planMonitor/newEditTool/menuBar.vue b/src/views/planMonitor/newEditTool/menuBar.vue
index 51dc89866..f728c4d61 100644
--- a/src/views/planMonitor/newEditTool/menuBar.vue
+++ b/src/views/planMonitor/newEditTool/menuBar.vue
@@ -717,6 +717,13 @@ export default {
confirmPublish() {
publishRunPlanAllUser(this.loadRunPlanId, this.publishName || this.loadRunPlanName).then(resp => {
this.$message.success(this.$t('tip.publishRunPlanSuccess'));
+ if (resp.data && resp.data.length > 0) {
+ let message = '';
+ resp.data.forEach(msg => message += (msg + ';'))
+ this.$confirm(message, this.$t('global.tips'), {
+ confirmButtonText: this.$t('global.confirm')
+ })
+ }
this.publishVisible = false;
}).catch(() => {
this.$messageBox(this.$t('tip.publishRunPlanFail'));