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 @@ - - - - + + + + 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 @@ - - - - + + + + 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'));