From 56b6c422f968007887fce649ad8cde99c18ac79a Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 3 Aug 2020 10:53:44 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=96=B0=E7=89=88=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E8=80=83=E8=AF=95=E8=AE=A1=E6=97=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/training.js | 39 ++++++++++++--------- src/views/newMap/displayNew/index.vue | 2 +- src/views/newMap/displayNew/menuExam.vue | 2 ++ src/views/newMap/displayNew/menuLesson.vue | 4 ++- src/views/newMap/jointTrainingNew/index.vue | 2 +- 5 files changed, 29 insertions(+), 20 deletions(-) diff --git a/src/store/modules/training.js b/src/store/modules/training.js index f9df1cea6..40b518aea 100644 --- a/src/store/modules/training.js +++ b/src/store/modules/training.js @@ -174,22 +174,27 @@ const training = { resetUsedTime: (state) => { state.usedTime = 0; }, - countUsedTime: (state) => { + countTime: (state, type) => { + if (state.timeInterval) { + clearInterval(state.timeInterval); + state.timeInterval = null; + } + if (type == 'Lesson') { + state.timeInterval = setInterval(() => { + state.usedTime++; + }, 1000); + } else { + state.timeInterval = setInterval(() => { + state.initTime += 1000; + }, 1000); + } + }, + stopCountTime: (state) => { if (state.timeInterval) { clearInterval(state.timeInterval); state.timeInterval = null; } - state.timeInterval = setInterval(() => { - state.usedTime++; - state.initTime += 1000; - }, 1000); }, - // stopCountTime: (state) => { - // if (state.timeInterval) { - // clearInterval(state.timeInterval); - // state.timeInterval = null; - // } - // }, setOperate: (state, operate) => { state.operate = operate; }, @@ -357,9 +362,9 @@ const training = { /** * 停止计时 */ - // setStopCountTime: ({ commit }) => { - // commit('stopCountTime'); - // }, + setStopCountTime: ({ commit }) => { + commit('stopCountTime'); + }, /** * 主动判断是否结束 @@ -402,9 +407,9 @@ const training = { // commit('countUsedTime'); } }, - // 开始计时 - countUsedTime({ commit }) { - commit('countUsedTime'); + // 计时(教学正计时与仿真当前时间) + countTime({ commit }, type) { + commit('countTime', type); }, /** diff --git a/src/views/newMap/displayNew/index.vue b/src/views/newMap/displayNew/index.vue index 3d9b28cc5..dd658eb3a 100644 --- a/src/views/newMap/displayNew/index.vue +++ b/src/views/newMap/displayNew/index.vue @@ -373,7 +373,7 @@ export default { this.$store.dispatch('training/setInitTime', +new Date(`${new Date().toLocaleDateString()} ${timeFormat(resp.data.systemTime)}`)); this.planRunning = resp.data.planRunning; this.$store.dispatch('map/setRunPlanStatus', this.planRunning); - this.$store.dispatch('training/countUsedTime'); + this.$store.dispatch('training/countTime'); if (!this.planRunning) { this.$store.dispatch('training/over'); } diff --git a/src/views/newMap/displayNew/menuExam.vue b/src/views/newMap/displayNew/menuExam.vue index 2e00be711..4fe465b87 100644 --- a/src/views/newMap/displayNew/menuExam.vue +++ b/src/views/newMap/displayNew/menuExam.vue @@ -110,6 +110,7 @@ export default { this.$store.dispatch('map/clearJlmapTrainView').then(() => { this.$store.dispatch('training/setMapDefaultState').then(() => { this.$store.dispatch('training/emitTipFresh'); + this.$store.dispatch('training/countTime', 'Lesson'); // 开始计时 }); }); this.startLoading = false; @@ -134,6 +135,7 @@ export default { this.$store.dispatch('training/end', null); finishOneExamQuestion(model).then(response => { + this.$store.dispatch('training/setStopCountTime'); this.$store.dispatch('training/emitTipFresh'); this.init(); }).catch(() => { diff --git a/src/views/newMap/displayNew/menuLesson.vue b/src/views/newMap/displayNew/menuLesson.vue index 2c7ff67c9..781081b08 100644 --- a/src/views/newMap/displayNew/menuLesson.vue +++ b/src/views/newMap/displayNew/menuLesson.vue @@ -116,6 +116,7 @@ export default { demoMode: function (val) { this.$store.dispatch('training/end', null); this.$store.dispatch('training/reset'); + this.$store.dispatch('training/setStopCountTime'); this.$store.dispatch('training/emitTipFresh'); this.$store.dispatch('menuOperation/setButtonOperation', null); @@ -169,7 +170,7 @@ export default { startTrainingNew(this.trainingObj, this.group).then(response => { this.$store.dispatch('map/clearJlmapTrainView').then(() => { this.$store.dispatch('training/teachModeStart'); - this.$store.dispatch('training/countUsedTime'); // 开始计时 + this.$store.dispatch('training/countTime', 'Lesson'); // 开始计时 this.$store.dispatch('training/setMapDefaultState').then(() => { this.$store.dispatch('training/emitTipFresh'); this.tipInfo({ color: 'green', message: this.$t('global.pleaseOpearte') }); @@ -222,6 +223,7 @@ export default { }).then(() => { this.backDisable = false; this.$store.dispatch('training/end', null); + this.$store.dispatch('training/setStopCountTime'); this.$store.dispatch('training/setScore', 0); this.$store.dispatch('training/emitTipFresh'); }).catch(() => { diff --git a/src/views/newMap/jointTrainingNew/index.vue b/src/views/newMap/jointTrainingNew/index.vue index 767edb340..79277cf20 100644 --- a/src/views/newMap/jointTrainingNew/index.vue +++ b/src/views/newMap/jointTrainingNew/index.vue @@ -322,7 +322,7 @@ export default { } else { this.$store.dispatch('training/over'); } - this.$store.dispatch('training/countUsedTime'); + this.$store.dispatch('training/countTime'); } else if (resp && resp.code == 200 && resp.data && resp.data.dataError) { this.dataError = true; this.$messageBox('此地图数据正在维护中,无法运行!'); From 1ade7ba9b818c9b1d91608930a5dc710455e6722 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Mon, 3 Aug 2020 10:55:43 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/displayNew/menuLesson.vue | 2 +- src/views/newMap/mapsystemNew/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/newMap/displayNew/menuLesson.vue b/src/views/newMap/displayNew/menuLesson.vue index 2c7ff67c9..ab7594002 100644 --- a/src/views/newMap/displayNew/menuLesson.vue +++ b/src/views/newMap/displayNew/menuLesson.vue @@ -263,7 +263,7 @@ export default { z-index: 9; display: inline-block; position: absolute; - left: 160px; + left: 5px; height: 32px; } diff --git a/src/views/newMap/mapsystemNew/index.vue b/src/views/newMap/mapsystemNew/index.vue index f2334ef98..efe6b0b1c 100644 --- a/src/views/newMap/mapsystemNew/index.vue +++ b/src/views/newMap/mapsystemNew/index.vue @@ -130,7 +130,7 @@ export default { this.checkLine = null; } }, - // 设置检查在线定时器 + // 设置检查在线定时器 checkLoginLineTimer() { if (this.checkLine) { clearTimeout(this.checkLine); From ca987254c7dceadcd2ac2254d69fe3d870f3646d Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 3 Aug 2020 13:27:17 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E6=96=B0=E7=89=88=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E4=BB=BF=E7=9C=9F=E6=97=B6=E9=97=B4=E9=97=AE=E9=A2=98=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/displayNew/index.vue | 2 +- src/views/newMap/jointTrainingNew/index.vue | 2 +- src/views/oldMap/display/index.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/newMap/displayNew/index.vue b/src/views/newMap/displayNew/index.vue index dd658eb3a..b452e4a09 100644 --- a/src/views/newMap/displayNew/index.vue +++ b/src/views/newMap/displayNew/index.vue @@ -371,9 +371,9 @@ export default { this.$store.dispatch('scriptRecord/updateSimulationPause', resp.data.pause); // 是否暂停判断 this.scriptId = Number(resp.data.scriptId) || 0; this.$store.dispatch('training/setInitTime', +new Date(`${new Date().toLocaleDateString()} ${timeFormat(resp.data.systemTime)}`)); + this.$store.dispatch('training/countTime'); this.planRunning = resp.data.planRunning; this.$store.dispatch('map/setRunPlanStatus', this.planRunning); - this.$store.dispatch('training/countTime'); if (!this.planRunning) { this.$store.dispatch('training/over'); } diff --git a/src/views/newMap/jointTrainingNew/index.vue b/src/views/newMap/jointTrainingNew/index.vue index 79277cf20..cb2fe5ab3 100644 --- a/src/views/newMap/jointTrainingNew/index.vue +++ b/src/views/newMap/jointTrainingNew/index.vue @@ -316,13 +316,13 @@ export default { if (resp && resp.code == 200 && resp.data && !resp.data.dataError) { this.$store.dispatch('scriptRecord/updateSimulationPause', resp.data.pause); this.$store.dispatch('training/setInitTime', +new Date(`${new Date().toLocaleDateString()} ${timeFormat(resp.data.systemTime)}`)); + this.$store.dispatch('training/countTime'); this.$store.dispatch('map/setRunPlanStatus', resp.data.planRunning); if (resp.data.planRunning) { this.$store.dispatch('training/simulationStart'); } else { this.$store.dispatch('training/over'); } - this.$store.dispatch('training/countTime'); } else if (resp && resp.code == 200 && resp.data && resp.data.dataError) { this.dataError = true; this.$messageBox('此地图数据正在维护中,无法运行!'); diff --git a/src/views/oldMap/display/index.vue b/src/views/oldMap/display/index.vue index 823c0332c..2cd2f3430 100644 --- a/src/views/oldMap/display/index.vue +++ b/src/views/oldMap/display/index.vue @@ -196,7 +196,7 @@ export default { this.mapBox = document.getElementsByTagName('canvas'); if (this.trainingId) { - // 获取实训步骤数据(老版地图) + // 获取实训步骤数据(老版地图) getTrainingStepsDetail(this.trainingId, { group: this.group }).then(resp => { this.trainingObj = resp.data; this.$store.dispatch('training/setTrainingData', this.trainingObj); From 31be09323b6f8280290a85d3ce8623e4a03b8546 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Mon, 3 Aug 2020 14:12:56 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BB=BC=E5=90=88?= =?UTF-8?q?=E6=BC=94=E7=BB=83=E9=A1=B6=E9=83=A8=E8=8F=9C=E5=8D=95=E5=88=A4?= =?UTF-8?q?=E6=96=AD=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=93=88=E5=B0=94=E6=BB=A8?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=20=E8=A1=8C=E8=B0=83=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=99=BB=E9=99=86=E6=98=BE=E7=A4=BA=E6=8C=87=E4=BB=A4=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/beijing_01/menus/menuTrain.vue | 39 +++++++++-------- .../theme/chengdu_01/menus/menuTrain.vue | 38 ++++++++++------- .../theme/chengdu_03/menus/menuTrain.vue | 38 ++++++++++------- .../theme/foshan_01/menus/menuTrain.vue | 38 ++++++++++------- .../theme/fuzhou_01/menus/menuTrain.vue | 39 +++++++++-------- .../theme/haerbin_01/menus/menuTrain.vue | 39 +++++++++-------- .../theme/ningbo_01/menus/menuTrain.vue | 10 ++++- src/jmapNew/theme/xian_01/menus/menuTrain.vue | 30 +++++++------ src/jmapNew/theme/xian_02/menus/menuTrain.vue | 38 ++++++++++------- src/scripts/ConstDic.js | 3 +- src/views/newMap/displayNew/menuSchema.vue | 26 ++++++++---- .../newMap/jointTrainingNew/menuSchema.vue | 42 +++++++++++++------ 12 files changed, 229 insertions(+), 151 deletions(-) diff --git a/src/jmapNew/theme/beijing_01/menus/menuTrain.vue b/src/jmapNew/theme/beijing_01/menus/menuTrain.vue index b847e688f..0618cff57 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuTrain.vue @@ -220,7 +220,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -229,7 +231,7 @@ export default { label: '进路闭塞法行车', handler: this.routeBlockRun }, - { + { label: '越引导信号行驶', handler: this.handleOverFuideSignal }, @@ -249,8 +251,8 @@ export default { computed: { ...mapGetters('training', [ 'mode', - 'operatemode', - 'memberList' + 'operatemode', + 'memberList' ]), ...mapGetters('menuOperation', [ 'buttonOperation' @@ -282,8 +284,11 @@ export default { // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = [...this.menuForce]; - // ...this.menuSpeed + this.menu = [...this.menuForce, ...this.menuDirective]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } // this.menu = menuConvert(this.menu); @@ -322,8 +327,8 @@ export default { // commitOperate(menuOperate.Train.nextStation, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Drive_Ahead', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -338,8 +343,8 @@ export default { // commitOperate(menuOperate.Train.routeBlockRun, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Route_Block_Drive', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -349,9 +354,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverFuideSignal() { - const group = this.$route.query.group; + }, + handleOverFuideSignal() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Guide_Signal', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -361,9 +366,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverEedLight() { - const group = this.$route.query.group; + }, + handleOverEedLight() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Red_Light', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -373,7 +378,7 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, + }, // 限速行驶 limitSpeed() { const operate = { diff --git a/src/jmapNew/theme/chengdu_01/menus/menuTrain.vue b/src/jmapNew/theme/chengdu_01/menus/menuTrain.vue index 8d01a64d1..d2a361f1e 100644 --- a/src/jmapNew/theme/chengdu_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/chengdu_01/menus/menuTrain.vue @@ -133,7 +133,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -142,7 +144,7 @@ export default { label: '进路闭塞法行车', handler: this.routeBlockRun }, - { + { label: '越引导信号行驶', handler: this.handleOverFuideSignal }, @@ -162,8 +164,8 @@ export default { computed: { ...mapGetters('training', [ 'mode', - 'operatemode', - 'memberList' + 'operatemode', + 'memberList' ]), ...mapGetters('menuOperation', [ 'buttonOperation' @@ -191,7 +193,11 @@ export default { this.menu = MenuContextHandler.covert(this.menuNormal); // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = [...this.menuForce, ...this.menuSpeed]; + this.menu = [...this.menuForce, ...this.menuDirective, ...this.menuSpeed]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } // this.menu = menuConvert(this.menu); @@ -229,8 +235,8 @@ export default { // commitOperate(menuOperate.Train.nextStation, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Drive_Ahead', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -245,8 +251,8 @@ export default { // commitOperate(menuOperate.Train.routeBlockRun, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Route_Block_Drive', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -256,9 +262,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverFuideSignal() { - const group = this.$route.query.group; + }, + handleOverFuideSignal() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Guide_Signal', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -268,9 +274,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverEedLight() { - const group = this.$route.query.group; + }, + handleOverEedLight() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Red_Light', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -280,7 +286,7 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, + }, // 限速行驶 limitSpeed() { const operate = { diff --git a/src/jmapNew/theme/chengdu_03/menus/menuTrain.vue b/src/jmapNew/theme/chengdu_03/menus/menuTrain.vue index f5e7f51e3..c1be54899 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuTrain.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuTrain.vue @@ -116,7 +116,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -125,7 +127,7 @@ export default { label: '进路闭塞法行车', handler: this.routeBlockRun }, - { + { label: '越引导信号行驶', handler: this.handleOverFuideSignal }, @@ -145,8 +147,8 @@ export default { computed: { ...mapGetters('training', [ 'mode', - 'operatemode', - 'memberList' + 'operatemode', + 'memberList' ]), ...mapGetters('menuOperation', [ 'buttonOperation' @@ -173,7 +175,11 @@ export default { this.menu = MenuContextHandler.covert(this.menuNormal); // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = this.menuForce; + this.menu = [...this.menuForce, ...this.menuDirective]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } }, doShow(point) { @@ -209,8 +215,8 @@ export default { // commitOperate(menuOperate.Train.nextStation, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Drive_Ahead', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -225,8 +231,8 @@ export default { // commitOperate(menuOperate.Train.routeBlockRun, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Route_Block_Drive', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -236,9 +242,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverFuideSignal() { - const group = this.$route.query.group; + }, + handleOverFuideSignal() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Guide_Signal', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -248,9 +254,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverEedLight() { - const group = this.$route.query.group; + }, + handleOverEedLight() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Red_Light', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -260,7 +266,7 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, + }, // 限速行驶 limitSpeed() { const operate = { diff --git a/src/jmapNew/theme/foshan_01/menus/menuTrain.vue b/src/jmapNew/theme/foshan_01/menus/menuTrain.vue index f34f3037b..640393dd8 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuTrain.vue @@ -125,7 +125,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -134,7 +136,7 @@ export default { label: '进路闭塞法行车', handler: this.routeBlockRun }, - { + { label: '越引导信号行驶', handler: this.handleOverFuideSignal }, @@ -154,8 +156,8 @@ export default { computed: { ...mapGetters('training', [ 'mode', - 'operatemode', - 'memberList' + 'operatemode', + 'memberList' ]), ...mapGetters('menuOperation', [ 'buttonOperation' @@ -182,7 +184,11 @@ export default { this.menu = MenuContextHandler.covert(this.menuNormal); // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = this.menuForce; + this.menu = [...this.menuForce, ...this.menuDirective]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } }, doShow(point) { @@ -219,8 +225,8 @@ export default { // commitOperate(menuOperate.Train.nextStation, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Drive_Ahead', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -235,8 +241,8 @@ export default { // commitOperate(menuOperate.Train.routeBlockRun, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Route_Block_Drive', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -246,9 +252,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverFuideSignal() { - const group = this.$route.query.group; + }, + handleOverFuideSignal() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Guide_Signal', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -258,9 +264,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverEedLight() { - const group = this.$route.query.group; + }, + handleOverEedLight() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Red_Light', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -270,7 +276,7 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, + }, // 限速行驶 limitSpeed() { const step = { diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue b/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue index 47dc71267..4bf0c1a24 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue @@ -93,7 +93,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -102,7 +104,7 @@ export default { label: '进路闭塞法行车', handler: this.routeBlockRun }, - { + { label: '越引导信号行驶', handler: this.handleOverFuideSignal }, @@ -123,8 +125,8 @@ export default { computed: { ...mapGetters('training', [ 'mode', - 'operatemode', - 'memberList' + 'operatemode', + 'memberList' ]), ...mapGetters('menuOperation', [ 'buttonOperation' @@ -164,8 +166,11 @@ export default { // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = [...this.menuForce]; - // ...this.menuSpeed + this.menu = [...this.menuForce, ...this.menuDirective]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } }, doShow(point) { @@ -202,8 +207,8 @@ export default { // commitOperate(menuOperate.Train.nextStation, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Drive_Ahead', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -218,8 +223,8 @@ export default { // commitOperate(menuOperate.Train.routeBlockRun, { groupNumber: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Route_Block_Drive', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -229,9 +234,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverFuideSignal() { - const group = this.$route.query.group; + }, + handleOverFuideSignal() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Guide_Signal', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -241,9 +246,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverEedLight() { - const group = this.$route.query.group; + }, + handleOverEedLight() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Red_Light', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -253,7 +258,7 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, + }, // 限速行驶 limitSpeed() { const step = { diff --git a/src/jmapNew/theme/haerbin_01/menus/menuTrain.vue b/src/jmapNew/theme/haerbin_01/menus/menuTrain.vue index 1b39c4621..479829bee 100644 --- a/src/jmapNew/theme/haerbin_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/haerbin_01/menus/menuTrain.vue @@ -64,7 +64,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -73,7 +75,7 @@ export default { label: '进路闭塞法行车', handler: this.routeBlockRun }, - { + { label: '越引导信号行驶', handler: this.handleOverFuideSignal }, @@ -94,8 +96,8 @@ export default { computed: { ...mapGetters('training', [ 'mode', - 'operatemode', - 'memberList' + 'operatemode', + 'memberList' ]), ...mapGetters('menuOperation', [ 'buttonOperation' @@ -123,10 +125,13 @@ export default { if (this.operatemode === OperateMode.ADMIN) { this.menu = [...this.menu, ...this.menuForce, ...this.menuSpeed]; } - // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = [...this.menuForce]; + this.menu = [...this.menuForce, ...this.menuDirective]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } }, doShow(point) { @@ -179,7 +184,7 @@ export default { }); }, nextStation() { - const group = this.$route.query.group; + const group = this.$route.query.group; const param = { commandType: 'Drive_Ahead', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -191,7 +196,7 @@ export default { }); }, routeBlockRun() { - const group = this.$route.query.group; + const group = this.$route.query.group; const param = { commandType: 'Drive_Ahead', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -201,9 +206,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverFuideSignal() { - const group = this.$route.query.group; + }, + handleOverFuideSignal() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Guide_Signal', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -213,9 +218,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverEedLight() { - const group = this.$route.query.group; + }, + handleOverEedLight() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Red_Light', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -225,7 +230,7 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - } + } // // 添加列车识别号 // addTrainId() { // const step = { @@ -326,8 +331,8 @@ export default { // this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); // this.$refs.trainSwitch.doShow(step, this.selected); // } - // }); - // } + // }); + // } } }; diff --git a/src/jmapNew/theme/ningbo_01/menus/menuTrain.vue b/src/jmapNew/theme/ningbo_01/menus/menuTrain.vue index b6124c681..2305347d6 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuTrain.vue @@ -211,7 +211,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -280,7 +282,11 @@ export default { this.menu = MenuContextHandler.covert(this.menuNormal); // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = this.menuForce; + this.menu = [...this.menuForce, ...this.menuDirective]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } }, doShow(point) { diff --git a/src/jmapNew/theme/xian_01/menus/menuTrain.vue b/src/jmapNew/theme/xian_01/menus/menuTrain.vue index e7277c3e9..fc6ef8b36 100644 --- a/src/jmapNew/theme/xian_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/xian_01/menus/menuTrain.vue @@ -114,7 +114,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -122,8 +124,8 @@ export default { { label: '进路闭塞法行车', handler: this.routeBlockRun - }, - { + }, + { label: '越引导信号行驶', handler: this.handleOverFuideSignal }, @@ -176,11 +178,13 @@ export default { if (this.operatemode === OperateMode.ADMIN) { this.menu = [...this.menu, ...this.menuForce]; } - // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = [...this.menuForce]; - // ...this.menuSpeed + this.menu = [...this.menuForce, ...this.menuDirective]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } }, doShow(point) { @@ -387,9 +391,9 @@ export default { // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); // }); - // }, - handleOverFuideSignal() { - const group = this.$route.query.group; + // }, + handleOverFuideSignal() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Guide_Signal', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -399,9 +403,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverEedLight() { - const group = this.$route.query.group; + }, + handleOverEedLight() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Red_Light', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -411,7 +415,7 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, + }, undeveloped() { this.doClose(); this.$alert('实现中......', '提示', { diff --git a/src/jmapNew/theme/xian_02/menus/menuTrain.vue b/src/jmapNew/theme/xian_02/menus/menuTrain.vue index 054b85091..2214a0b90 100644 --- a/src/jmapNew/theme/xian_02/menus/menuTrain.vue +++ b/src/jmapNew/theme/xian_02/menus/menuTrain.vue @@ -222,7 +222,9 @@ export default { { label: '取消故障', handler: this.cancelStoppage - }, + } + ], + menuDirective: [ { label: '确认运行至前方站', handler: this.nextStation @@ -231,7 +233,7 @@ export default { label: '进路闭塞法行车', handler: this.routeBlockRun }, - { + { label: '越引导信号行驶', handler: this.handleOverFuideSignal }, @@ -251,8 +253,8 @@ export default { computed: { ...mapGetters('training', [ 'mode', - 'operatemode', - 'memberList' + 'operatemode', + 'memberList' ]), ...mapGetters('menuOperation', [ 'buttonOperation' @@ -281,7 +283,11 @@ export default { } // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) { - this.menu = this.menuForce; + this.menu = [...this.menuForce, ...this.menuDirective]; + } + // 指令模式列表 + if (this.operatemode === OperateMode.DIRECTIVE) { + this.menu = [...this.menuDirective]; } }, doShow(point) { @@ -319,8 +325,8 @@ export default { // commitOperate(menuOperate.Train.nextStation, { code: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Drive_Ahead', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -335,8 +341,8 @@ export default { // commitOperate(menuOperate.Train.routeBlockRun, { code: this.selected.code }, 3).then(({valid, operate})=>{ // }).catch((error) => { // this.$refs.noticeInfo.doShow(error.message); - // }); - const group = this.$route.query.group; + // }); + const group = this.$route.query.group; const param = { commandType: 'Route_Block_Drive', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -346,9 +352,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverFuideSignal() { - const group = this.$route.query.group; + }, + handleOverFuideSignal() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Guide_Signal', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -358,9 +364,9 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, - handleOverEedLight() { - const group = this.$route.query.group; + }, + handleOverEedLight() { + const group = this.$route.query.group; const param = { commandType: 'Drive_Through_The_Red_Light', targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id, @@ -370,7 +376,7 @@ export default { }).catch((error) => { this.$refs.noticeInfo.doShow(error.message); }); - }, + }, // 限速行驶 limitSpeed() { const operate = { diff --git a/src/scripts/ConstDic.js b/src/scripts/ConstDic.js index 58fc5ce4a..97f1b6c72 100644 --- a/src/scripts/ConstDic.js +++ b/src/scripts/ConstDic.js @@ -47,7 +47,8 @@ export const TrainingMode = { export const OperateMode = { ADMIN: '00', NORMAL: '01', - FAULT: '02' + FAULT: '02', + DIRECTIVE: '03' }; /** diff --git a/src/views/newMap/displayNew/menuSchema.vue b/src/views/newMap/displayNew/menuSchema.vue index 6b2ca5a63..7685f1444 100644 --- a/src/views/newMap/displayNew/menuSchema.vue +++ b/src/views/newMap/displayNew/menuSchema.vue @@ -15,12 +15,10 @@ {{ $t('display.schema.previewRunDiagram') }} {{ $t('display.schema.loadRunDiagram') }} - 自动故障设置 + 自动故障设置 - - {{ $t('display.schema.normalOperation') }} - 故障模式 - + 故障模式 + @@ -89,6 +87,7 @@ export default { swch: '02', showStationContent:'', isScriptCommand:false, + faultMode: false, swchList: [ { value: '01', name: '现地' }, { value: '02', name: '行调' } @@ -176,9 +175,22 @@ export default { } }); }, - changeOperateMode(handle) { - this.$store.dispatch('training/changeOperateMode', { mode: handle }); + changeOperateMode() { + this.faultMode = !this.faultMode; + let mode = OperateMode.NORMAL; + if (this.faultMode) { + mode = OperateMode.FAULT; + } + this.$store.dispatch('training/changeOperateMode', { mode: mode }); }, + // changeDirectiveMode() { // 调整指令模式 (暂时不使用 等项目更新 在使用) + // this.directiveMode = !this.directiveMode; + // let mode = OperateMode.NORMAL; + // if (this.directiveMode) { + // mode = OperateMode.DIRECTIVE; + // } + // this.$store.dispatch('training/changeOperateMode', { mode: mode }); + // }, setRuning(run) { this.runing = run; }, diff --git a/src/views/newMap/jointTrainingNew/menuSchema.vue b/src/views/newMap/jointTrainingNew/menuSchema.vue index f526e3760..1ddef081f 100644 --- a/src/views/newMap/jointTrainingNew/menuSchema.vue +++ b/src/views/newMap/jointTrainingNew/menuSchema.vue @@ -12,18 +12,12 @@ {{ $t('joinTraining.runGraphLoading') }} - - {{ $t('joinTraining.normalOperation') }} - {{ $t('joinTraining.faultOperation') }} - + 故障模式 + + 指令模式 @@ -34,6 +28,7 @@ import { mapGetters } from 'vuex'; import { OperateMode } from '@/scripts/ConstDic'; import { getByGroupStationList } from '@/api/jmap/map'; import { getEveryDayRunPlanNew } from '@/api/simulation'; +import { getSessionStorage } from '@/utils/auth'; import JoinRunPlanView from '@/views/newMap/displayNew/demon/runPlanView'; export default { name: 'MenuDemonSchema', @@ -89,7 +84,9 @@ export default { kmRangeCoordMap: {}, runPlanData: {}, runing: false, - userId: '' + userId: '', + faultMode: false, + directiveMode: false }; }, computed: { @@ -98,6 +95,12 @@ export default { ]), isScreen() { return this.$store.state.training.prdType === '07'; + }, + isCenter() { + return this.$store.state.training.prdType === '02'; + }, + isShowDirective() { // 哈尔滨项目 行调设备显示 + return this.$route.query.type == 'CW' && getSessionStorage('project') == 'heb'; } }, watch: { @@ -147,8 +150,21 @@ export default { // initPlannedDriving(isDisable) { // this.isDisable = isDisable; // }, - changeOperateMode(handle) { - this.$store.dispatch('training/changeOperateMode', { mode: handle }); + changeOperateMode() { + this.faultMode = !this.faultMode; + let mode = OperateMode.NORMAL; + if (this.faultMode) { + mode = OperateMode.FAULT; + } + this.$store.dispatch('training/changeOperateMode', { mode: mode }); + }, + changeDirectiveMode() { // 调整指令模式 + this.directiveMode = !this.directiveMode; + let mode = OperateMode.NORMAL; + if (this.directiveMode) { + mode = OperateMode.DIRECTIVE; + } + this.$store.dispatch('training/changeOperateMode', { mode: mode }); }, setFault() { this.$emit('faultChooseShow'); From 33ff32222df1090b2231eadaa95d28627f2dbb22 Mon Sep 17 00:00:00 2001 From: sunleking Date: Mon, 3 Aug 2020 14:30:31 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=89=E7=BB=B4?= =?UTF-8?q?=E9=80=9A=E5=8F=B7=E5=92=8C=E9=A9=BE=E9=A9=B6=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/jlmap3d/drive/drivecontrol/centerpane.vue | 1 + src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue | 3 +++ src/views/jlmap3d/maintainer/jl3dmaintainer.vue | 7 ++++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/jlmap3d/drive/drivecontrol/centerpane.vue b/src/views/jlmap3d/drive/drivecontrol/centerpane.vue index a4a0100de..9d78f477c 100644 --- a/src/views/jlmap3d/drive/drivecontrol/centerpane.vue +++ b/src/views/jlmap3d/drive/drivecontrol/centerpane.vue @@ -396,6 +396,7 @@ bottom:0px; height: 15px; position: absolute; + cursor:pointer; } .panelb { diff --git a/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue b/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue index a5386a126..3dd9a6357 100644 --- a/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue +++ b/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue @@ -376,6 +376,7 @@ import axios from 'axios'; width: 60px; position: absolute; text-align: center; + cursor:pointer; } .panebutton2{ @@ -383,6 +384,7 @@ import axios from 'axios'; width: 80px; position: absolute; text-align: center; + cursor:pointer; } .buttonimg{ @@ -423,6 +425,7 @@ import axios from 'axios'; width:30px; height:30px; position:absolute; + cursor:pointer; } .switchimg{ diff --git a/src/views/jlmap3d/maintainer/jl3dmaintainer.vue b/src/views/jlmap3d/maintainer/jl3dmaintainer.vue index 9e2b944ad..3e4cb5f70 100644 --- a/src/views/jlmap3d/maintainer/jl3dmaintainer.vue +++ b/src/views/jlmap3d/maintainer/jl3dmaintainer.vue @@ -302,15 +302,16 @@ export default { position:absolute; width: 100%; height: 100%; - z-index: 2; + z-index: 35; } .jl3dmap3dMaintainerSelect{ position:absolute; width: 100%; height: 100%; - z-index: 35; - + z-index: 350; + top:0; + left:0; background-image:url("/static/texture/bg.jpg"); // background-repeat:no-repeat; background-size:100%; From 60986fbfebcc908d0092bb43a9140370d0d3d2ff Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Mon, 3 Aug 2020 15:22:46 +0800 Subject: [PATCH 6/6] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/map.js | 2 +- src/views/newMap/newMapdraft/mapoperate/splitScreen.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jmapNew/map.js b/src/jmapNew/map.js index 536994084..222b03d03 100644 --- a/src/jmapNew/map.js +++ b/src/jmapNew/map.js @@ -156,7 +156,7 @@ class Jlmap { } switchScreen(data, num, sum) { - const sumHalf = sum / 2; + const sumHalf = sum <= 2 ? sum : sum / 2; const dx = data.width / sumHalf; const dy = data.height / sumHalf; const row = num <= sumHalf ? 0 : 1; diff --git a/src/views/newMap/newMapdraft/mapoperate/splitScreen.vue b/src/views/newMap/newMapdraft/mapoperate/splitScreen.vue index b7c85758c..133565f6a 100644 --- a/src/views/newMap/newMapdraft/mapoperate/splitScreen.vue +++ b/src/views/newMap/newMapdraft/mapoperate/splitScreen.vue @@ -62,7 +62,7 @@