diff --git a/src/views/newMap/displayNew/index.vue b/src/views/newMap/displayNew/index.vue index 55edd8e88..2ebc30a19 100644 --- a/src/views/newMap/displayNew/index.vue +++ b/src/views/newMap/displayNew/index.vue @@ -9,6 +9,7 @@ + @@ -26,6 +27,7 @@ import MenuDemon from './menuDemon'; import MenuExam from './exam/index'; import MenuScript from './scriptDisplay/scriptRecord/index'; import MenuDispatherContest from './dispatherContest/index'; +import MenuRunplan from './menuRunplan'; import MenuTrainList from '@/views/newMap/displayNew/menuTrainList'; import MenuSystemTime from '@/views/newMap/displayNew/menuSystemTime'; @@ -44,7 +46,8 @@ export default { MenuSystemTime, MenuTrainList, MenuDispatherContest, - MenuScript + MenuScript, + MenuRunplan }, data() { return { @@ -82,6 +85,9 @@ export default { isScript() { return this.mode === 'script'; }, + isPlan() { + return this.mode === 'plan'; + }, mapId() { return this.$route.query.mapId; }, diff --git a/src/views/newMap/displayNew/menuRunplan.vue b/src/views/newMap/displayNew/menuRunplan.vue new file mode 100644 index 000000000..83d9774d1 --- /dev/null +++ b/src/views/newMap/displayNew/menuRunplan.vue @@ -0,0 +1,102 @@ + + + diff --git a/src/views/planMonitor/editTool/menuBar.vue b/src/views/planMonitor/editTool/menuBar.vue index a3c2effe2..5bb5b5da8 100644 --- a/src/views/planMonitor/editTool/menuBar.vue +++ b/src/views/planMonitor/editTool/menuBar.vue @@ -462,7 +462,8 @@ export default { const query = { prdType: '01', group: resp.data, mapId: this.$route.query.mapId, planId: this.$route.query.planId }; - this.$router.push({ path: `${UrlConfig.display}/plan`, query: query }); + // this.$router.push({ path: `${UrlConfig.display}/plan`, query: query }); + this.$router.push({ path: `${UrlConfig.displayNew}/plan`, query: query }); launchFullscreen(); }).catch(error => { this.$messageBox(this.$t('tip.createSimulationFaild') + this.$t('global.colon') + error.message); diff --git a/src/views/planMonitor/editTool/statusBar.vue b/src/views/planMonitor/editTool/statusBar.vue index b8166a249..ba25ff6f2 100644 --- a/src/views/planMonitor/editTool/statusBar.vue +++ b/src/views/planMonitor/editTool/statusBar.vue @@ -151,7 +151,8 @@ export default { const query = { prdType: '01', group: resp.data, mapId: this.$route.query.mapId, planId: this.$route.query.planId }; - this.$router.push({ path: `${UrlConfig.display}/plan`, query: query }); + // this.$router.push({ path: `${UrlConfig.display}/plan`, query: query }); + this.$router.push({ path: `${UrlConfig.displayNew}/plan`, query: query }); launchFullscreen(); } else { this.$messageBox(this.$t('error.checkTheValidityFirst'));