From 2ddd9a0dc8e84db10fa798962ad971cf23ba17d3 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 2 Feb 2021 14:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=97=E4=BA=AC=E4=B8=80=E5=8F=B7=E7=BA=BF/?= =?UTF-8?q?=E6=88=90=E9=83=BD1=EF=BC=8C3=E5=8F=B7=E7=BA=BF=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E4=B8=8D=E9=9C=80=E8=A6=81=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../beijing_01/menus/dialog/alxeEffective.vue | 5 ----- .../menus/dialog/childDialog/confirmControl.vue | 5 ----- .../menus/dialog/childDialog/confirmTrain.vue | 5 ----- .../dialog/childDialog/passwordInputBox.vue | 5 ----- .../menus/dialog/childDialog/popupAlarm.vue | 5 ----- .../beijing_01/menus/dialog/routeSelection.vue | 5 ----- .../menus/dialog/standBackStrategy.vue | 5 ----- .../beijing_01/menus/dialog/standDetail.vue | 5 ----- .../menus/dialog/stationCmdControl.vue | 3 --- .../menus/dialog/stationHumanControlAll.vue | 5 ----- .../menus/dialog/stationSetRouteControlAll.vue | 5 ----- .../beijing_01/menus/dialog/trainDefine.vue | 5 ----- .../beijing_01/menus/dialog/trainDelete.vue | 5 ----- .../beijing_01/menus/dialog/trainDeletePlan.vue | 5 ----- .../theme/beijing_01/menus/dialog/trainEdit.vue | 5 ----- .../theme/beijing_01/menus/dialog/trainFlag.vue | 5 ----- .../theme/beijing_01/menus/dialog/trainMove.vue | 5 ----- .../beijing_01/menus/dialog/trainMoveEvently.vue | 5 ----- .../beijing_01/menus/dialog/trainSetHead.vue | 5 ----- .../beijing_01/menus/dialog/trainSetPlan.vue | 5 ----- .../beijing_01/menus/dialog/trainSetWork.vue | 5 ----- .../theme/beijing_01/menus/menuButton.vue | 11 ----------- .../menuDialog/childDialog/twoConfirmation.vue | 5 ----- .../menus/menuDialog/childDialog/userAdd.vue | 5 ----- .../menus/menuDialog/childDialog/userDelete.vue | 5 ----- .../menus/menuDialog/childDialog/userEdit.vue | 5 ----- .../menus/menuDialog/detainTrainContorl.vue | 5 ----- .../menuDialog/detainTrainContorlUpDown.vue | 5 ----- .../beijing_01/menus/menuDialog/helpAbout.vue | 5 ----- .../beijing_01/menus/menuDialog/manageUser.vue | 5 ----- .../menus/menuDialog/stationControl.vue | 5 ----- .../beijing_01/menus/menuDialog/trainAdd.vue | 5 ----- .../beijing_01/menus/menuDialog/trainDelete.vue | 5 ----- .../menus/menuDialog/trainTranstalet.vue | 5 ----- .../beijing_01/menus/passiveDialog/alarm.vue | 5 ----- .../beijing_01/menus/passiveDialog/timeout.vue | 5 ----- .../menus/dialog/createDeviceLabel.vue | 5 ----- .../menus/dialog/sectionCmdControl.vue | 3 --- .../menus/dialog/speedLimitControl.vue | 5 ----- .../menuDialog/childDialog/twoConfirmation.vue | 5 ----- .../menus/menuDialog/childDialog/userAdd.vue | 5 ----- .../menus/menuDialog/childDialog/userDelete.vue | 5 ----- .../menus/menuDialog/childDialog/userEdit.vue | 5 ----- .../chengdu_01/menus/menuStationPlatform.vue | 5 ----- .../chengdu_01/menus/passiveDialog/alarm.vue | 5 ----- .../chengdu_01/menus/passiveDialog/timeout.vue | 7 +------ .../menus/dialog/childDialog/confirmControl.vue | 5 ----- .../dialog/childDialog/confirmControlSpeed.vue | 5 ----- .../menus/dialog/childDialog/confirmTrain.vue | 5 ----- .../dialog/childDialog/passwordInputBox.vue | 5 ----- .../menus/dialog/childDialog/popupAlarm.vue | 5 ----- .../chengdu_03/menus/dialog/routeDetail.vue | 5 ----- .../theme/chengdu_03/menus/dialog/routeGuide.vue | 5 ----- .../chengdu_03/menus/dialog/routeHandControl.vue | 5 ----- .../chengdu_03/menus/dialog/routeSelection.vue | 5 ----- .../chengdu_03/menus/dialog/sectionDetail.vue | 5 ----- .../chengdu_03/menus/dialog/standControl.vue | 5 ----- .../chengdu_03/menus/dialog/standDetail.vue | 5 ----- .../chengdu_03/menus/dialog/trainControl.vue | 5 ----- .../chengdu_03/menus/dialog/trainCreate.vue | 5 ----- .../menus/dialog/trainCreateNumber.vue | 5 ----- .../chengdu_03/menus/dialog/trainDelete.vue | 5 ----- .../menus/dialog/trainDeleteNumber.vue | 5 ----- .../chengdu_03/menus/dialog/trainDetailInfo.vue | 5 ----- .../chengdu_03/menus/dialog/trainEditNumber.vue | 5 ----- .../theme/chengdu_03/menus/dialog/trainMove.vue | 5 ----- .../chengdu_03/menus/dialog/trainMoveNumber.vue | 5 ----- .../chengdu_03/menus/dialog/trainSwitch.vue | 5 ----- .../theme/chengdu_03/menus/menuButton.vue | 11 ----------- .../menuDialog/childDialog/twoConfirmation.vue | 5 ----- .../menus/menuDialog/childDialog/userAdd.vue | 5 ----- .../menus/menuDialog/childDialog/userDelete.vue | 5 ----- .../menus/menuDialog/childDialog/userEdit.vue | 5 ----- .../chengdu_03/menus/menuDialog/helpAbout.vue | 5 ----- .../chengdu_03/menus/menuDialog/limitSpeed.vue | 5 ----- .../chengdu_03/menus/menuDialog/manageUser.vue | 5 ----- .../chengdu_03/menus/menuDialog/passwordBox.vue | 5 ----- .../menus/menuDialog/setLimitSpeed.vue | 5 ----- .../menus/menuDialog/stationControlConvert.vue | 3 --- .../chengdu_03/menus/menuDialog/trainAdd.vue | 5 ----- .../chengdu_03/menus/menuDialog/trainDelete.vue | 5 ----- .../menus/menuDialog/trainTranstalet.vue | 5 ----- .../chengdu_03/menus/menuDialog/viewName.vue | 1 - .../chengdu_03/menus/passiveDialog/alarm.vue | 5 ----- .../chengdu_03/menus/passiveDialog/timeout.vue | 5 ----- .../menus/childDialog/confirmControl.vue | 5 ----- .../menus/childDialog/confirmControlSpeed.vue | 5 ----- .../components/menus/childDialog/noticeInfo.vue | 5 ----- .../menus/childDialog/passwordInputBox.vue | 5 ----- .../components/menus/dialog/cancelAllLimit.vue | 3 --- .../components/menus/dialog/loadSpareTrain.vue | 5 ----- .../components/menus/dialog/routeControl.vue | 5 ----- .../components/menus/dialog/routeDetail.vue | 5 ----- .../components/menus/dialog/routeHandControl.vue | 5 ----- .../components/menus/dialog/sectionControl.vue | 5 ----- .../components/menus/dialog/sectionUnLock.vue | 3 --- .../theme/components/menus/dialog/setFault.vue | 5 ----- .../menus/dialog/setTrainOperation.vue | 5 ----- .../components/menus/dialog/speedCmdControl.vue | 3 --- .../components/menus/dialog/standControl.vue | 5 ----- .../components/menus/dialog/standDetail.vue | 5 ----- .../menus/dialog/standJumpStopControl.vue | 5 ----- .../components/menus/dialog/standRunLevel.vue | 5 ----- .../components/menus/dialog/standStopTime.vue | 5 ----- .../menus/dialog/stationCmdControl.vue | 3 --- .../menus/dialog/stationHumanControlAll.vue | 5 ----- .../menus/dialog/stationSetRouteControlAll.vue | 5 ----- .../components/menus/dialog/switchControl.vue | 5 ----- .../components/menus/dialog/switchHookLock.vue | 5 ----- .../components/menus/dialog/trainAddPlan.vue | 5 ----- .../components/menus/dialog/trainControl.vue | 5 ----- .../components/menus/passiveDialog/control.vue | 5 ----- .../menus/dialog/standBulkBuckleTrain.vue | 5 ----- src/store/modules/training.js | 16 +++------------- 114 files changed, 4 insertions(+), 573 deletions(-) diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/alxeEffective.vue b/src/jmapNew/theme/beijing_01/menus/dialog/alxeEffective.vue index 36dde26f3..248909bea 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/alxeEffective.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/alxeEffective.vue @@ -229,11 +229,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { stopTask() { if (this.task) { diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue index 933358c25..9021a248b 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue @@ -74,11 +74,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmTrain.vue b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmTrain.vue index c9d98ae1b..2e5cec984 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmTrain.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmTrain.vue @@ -92,11 +92,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/passwordInputBox.vue b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/passwordInputBox.vue index bb8ad7975..ce2510a80 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/passwordInputBox.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/passwordInputBox.vue @@ -112,11 +112,6 @@ export default { return this.dialogShow ? OperationHandler.getDomIdByOperation(this.operate.operateNext) : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/popupAlarm.vue b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/popupAlarm.vue index d3b53ee33..3db6acf9e 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/popupAlarm.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/popupAlarm.vue @@ -48,11 +48,6 @@ export default { return this.dialogShow ? OperationEvent.Command.close.alarm.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, messages) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue b/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue index 9eabd7d2c..54818b9de 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue @@ -113,11 +113,6 @@ export default { return disabled; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { getProtectedSectionName(row) { let name = ''; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standBackStrategy.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standBackStrategy.vue index d2c070fe9..113f6ad75 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/standBackStrategy.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/standBackStrategy.vue @@ -114,11 +114,6 @@ export default { return '变通策略管理'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected, opts) { this.tempData = []; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standDetail.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standDetail.vue index bd08e779f..15a9d8250 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/standDetail.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/standDetail.vue @@ -166,11 +166,6 @@ export default { return '站台详细信息'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected, opts) { this.tempData = []; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/stationCmdControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/stationCmdControl.vue index 85befb629..d4b1e7c2c 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/stationCmdControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/stationCmdControl.vue @@ -179,9 +179,6 @@ export default { } }, mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); this.timer = setInterval(() => { if (!this.$store.state.menuOperation.break) { if (this.timeCountCommand > 0) { diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/beijing_01/menus/dialog/stationHumanControlAll.vue index b50856978..e8673779a 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/stationHumanControlAll.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/stationHumanControlAll.vue @@ -59,11 +59,6 @@ export default { return this.dialogShow ? OperationEvent.Station.humanControlALL.menu.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/beijing_01/menus/dialog/stationSetRouteControlAll.vue index a8ba37275..1a4b552b8 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/stationSetRouteControlAll.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/stationSetRouteControlAll.vue @@ -73,11 +73,6 @@ export default { return this.dialogShow ? OperationEvent.Station.atsAutoControlALL.menu.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainDefine.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainDefine.vue index f45041431..13f7eab80 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainDefine.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainDefine.vue @@ -87,11 +87,6 @@ export default { return '定义车组号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainDelete.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainDelete.vue index a10f88bff..5ff117093 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainDelete.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainDelete.vue @@ -81,11 +81,6 @@ export default { return '删除车组号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { if (map) { diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainDeletePlan.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainDeletePlan.vue index 41bcb6f10..9c7df6196 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainDeletePlan.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainDeletePlan.vue @@ -97,11 +97,6 @@ export default { return '删除计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 如果不是断点激活,则需要对初始值进行初始化 diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainEdit.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainEdit.vue index 3b727f964..7eaf6b555 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainEdit.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainEdit.vue @@ -87,11 +87,6 @@ export default { return '修改计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainFlag.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainFlag.vue index 1fd9ff241..108b62163 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainFlag.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainFlag.vue @@ -79,11 +79,6 @@ export default { return 'ATP切除功能'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainMove.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainMove.vue index 2715ee2f5..2d96c86dd 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainMove.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainMove.vue @@ -87,11 +87,6 @@ export default { return '平移车组号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainMoveEvently.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainMoveEvently.vue index 11d6c0639..889a901e4 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainMoveEvently.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainMoveEvently.vue @@ -105,11 +105,6 @@ export default { return '平移计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 如果不是断点激活,则需要对初始值进行初始化 diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetHead.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetHead.vue index a0c71a088..c91975e53 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetHead.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetHead.vue @@ -87,11 +87,6 @@ export default { return '设置头码车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetPlan.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetPlan.vue index 0cab4491a..b5cb7162b 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetPlan.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetPlan.vue @@ -79,11 +79,6 @@ export default { return '设置计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetWork.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetWork.vue index c5ba1000e..02c119c25 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetWork.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetWork.vue @@ -71,11 +71,6 @@ export default { return '设置人工车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/beijing_01/menus/menuButton.vue b/src/jmapNew/theme/beijing_01/menus/menuButton.vue index a9193ac73..d75063015 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuButton.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuButton.vue @@ -293,9 +293,6 @@ export default { } }, watch: { - '$store.state.config.canvasOffsetCount': function (val) { - this.resetPosition(); - }, '$store.state.menuOperation.buttonOperation': function (val, old) { this.updateButtonShow(val, old); }, @@ -303,15 +300,7 @@ export default { this.selectedChange(); } }, - mounted() { - this.resetPosition(); - }, methods: { - resetPosition() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, updateButtonShow(val, old) { if (old) { // 恢复旧按钮显示 diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/twoConfirmation.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/twoConfirmation.vue index e745a6a60..8e7a63d4c 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/twoConfirmation.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/twoConfirmation.vue @@ -73,11 +73,6 @@ export default { return []; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, message) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userAdd.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userAdd.vue index 06258bcf2..8f1ead014 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userAdd.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userAdd.vue @@ -93,11 +93,6 @@ export default { return '增加用户'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userDelete.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userDelete.vue index d2ba3392b..817325e73 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userDelete.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userDelete.vue @@ -65,11 +65,6 @@ export default { return '删除用户'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userEdit.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userEdit.vue index 0dc72a5a4..0f7cb491f 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userEdit.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/userEdit.vue @@ -101,11 +101,6 @@ export default { return '用户编辑页面'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/detainTrainContorl.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/detainTrainContorl.vue index 9cee0da30..cad8f2bc2 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/detainTrainContorl.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/detainTrainContorl.vue @@ -81,11 +81,6 @@ export default { return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/detainTrainContorlUpDown.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/detainTrainContorlUpDown.vue index dc8f6d07a..2ee3adefe 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/detainTrainContorlUpDown.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/detainTrainContorlUpDown.vue @@ -81,11 +81,6 @@ export default { return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/helpAbout.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/helpAbout.vue index 80d8e869e..2fa2a668b 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/helpAbout.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/helpAbout.vue @@ -73,11 +73,6 @@ export default { return '关于ControlMonitor'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/manageUser.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/manageUser.vue index 62803376d..0f62c10be 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/manageUser.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/manageUser.vue @@ -121,11 +121,6 @@ export default { return '用户管理'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/stationControl.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/stationControl.vue index dab41a4c8..802dac249 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/stationControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/stationControl.vue @@ -106,11 +106,6 @@ export default { }); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.message = ''; diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/trainAdd.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/trainAdd.vue index 07a561fbb..07a3302a6 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/trainAdd.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/trainAdd.vue @@ -96,11 +96,6 @@ export default { return '添加计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/trainDelete.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/trainDelete.vue index 11d8314b8..b58eee696 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/trainDelete.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/trainDelete.vue @@ -79,11 +79,6 @@ export default { return '删除计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/beijing_01/menus/menuDialog/trainTranstalet.vue b/src/jmapNew/theme/beijing_01/menus/menuDialog/trainTranstalet.vue index e1f85a291..bde18d9b7 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuDialog/trainTranstalet.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/trainTranstalet.vue @@ -96,11 +96,6 @@ export default { return '平移计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/beijing_01/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/beijing_01/menus/passiveDialog/alarm.vue index 78e19c88a..c8fa1ad48 100644 --- a/src/jmapNew/theme/beijing_01/menus/passiveDialog/alarm.vue +++ b/src/jmapNew/theme/beijing_01/menus/passiveDialog/alarm.vue @@ -140,11 +140,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/beijing_01/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/beijing_01/menus/passiveDialog/timeout.vue index 8bbd4bbcd..cb1caeb18 100644 --- a/src/jmapNew/theme/beijing_01/menus/passiveDialog/timeout.vue +++ b/src/jmapNew/theme/beijing_01/menus/passiveDialog/timeout.vue @@ -59,11 +59,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_01/menus/dialog/createDeviceLabel.vue b/src/jmapNew/theme/chengdu_01/menus/dialog/createDeviceLabel.vue index 1b38066e7..93b34f265 100644 --- a/src/jmapNew/theme/chengdu_01/menus/dialog/createDeviceLabel.vue +++ b/src/jmapNew/theme/chengdu_01/menus/dialog/createDeviceLabel.vue @@ -186,11 +186,6 @@ export default { return '设备标签'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_01/menus/dialog/sectionCmdControl.vue b/src/jmapNew/theme/chengdu_01/menus/dialog/sectionCmdControl.vue index afb84d7f6..fd43ffed9 100644 --- a/src/jmapNew/theme/chengdu_01/menus/dialog/sectionCmdControl.vue +++ b/src/jmapNew/theme/chengdu_01/menus/dialog/sectionCmdControl.vue @@ -181,9 +181,6 @@ export default { } }, mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); this.timer = setInterval(() => { if (!this.$store.state.menuOperation.break) { if (this.timeCountCommand > 0) { diff --git a/src/jmapNew/theme/chengdu_01/menus/dialog/speedLimitControl.vue b/src/jmapNew/theme/chengdu_01/menus/dialog/speedLimitControl.vue index c99d54e3b..26f96bd69 100644 --- a/src/jmapNew/theme/chengdu_01/menus/dialog/speedLimitControl.vue +++ b/src/jmapNew/theme/chengdu_01/menus/dialog/speedLimitControl.vue @@ -181,11 +181,6 @@ export default { return list; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(step, selected) { // this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/twoConfirmation.vue b/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/twoConfirmation.vue index 2a910aeed..7cb5fba6a 100644 --- a/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/twoConfirmation.vue +++ b/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/twoConfirmation.vue @@ -62,11 +62,6 @@ export default { return []; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.domIdConfirm = ''; diff --git a/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userAdd.vue b/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userAdd.vue index f402e0e59..88cde52dd 100644 --- a/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userAdd.vue +++ b/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userAdd.vue @@ -93,11 +93,6 @@ export default { return '增加用户'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userDelete.vue b/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userDelete.vue index 8e3a8013b..cd58c3ed5 100644 --- a/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userDelete.vue +++ b/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userDelete.vue @@ -67,11 +67,6 @@ export default { return '删除用户'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userEdit.vue b/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userEdit.vue index cae9e5806..d75f3420e 100644 --- a/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userEdit.vue +++ b/src/jmapNew/theme/chengdu_01/menus/menuDialog/childDialog/userEdit.vue @@ -101,11 +101,6 @@ export default { return '用户编辑页面'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/chengdu_01/menus/menuStationPlatform.vue b/src/jmapNew/theme/chengdu_01/menus/menuStationPlatform.vue index b9fe4f103..9195259cc 100644 --- a/src/jmapNew/theme/chengdu_01/menus/menuStationPlatform.vue +++ b/src/jmapNew/theme/chengdu_01/menus/menuStationPlatform.vue @@ -100,11 +100,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(position) { // this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_01/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/chengdu_01/menus/passiveDialog/alarm.vue index 35687d651..68df99ba9 100644 --- a/src/jmapNew/theme/chengdu_01/menus/passiveDialog/alarm.vue +++ b/src/jmapNew/theme/chengdu_01/menus/passiveDialog/alarm.vue @@ -141,11 +141,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_01/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/chengdu_01/menus/passiveDialog/timeout.vue index f39b19bed..289940271 100644 --- a/src/jmapNew/theme/chengdu_01/menus/passiveDialog/timeout.vue +++ b/src/jmapNew/theme/chengdu_01/menus/passiveDialog/timeout.vue @@ -59,11 +59,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; @@ -83,7 +78,7 @@ export default { }, cancel() { const operate = { - operation: this.operate.type, + // operation: this.operate.type, operation: OperationEvent.Command.close.notice.operation }; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmControl.vue index 44c1830df..d298f8bc1 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmControl.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmControl.vue @@ -70,11 +70,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmControlSpeed.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmControlSpeed.vue index e8932dcc9..d49556383 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmControlSpeed.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmControlSpeed.vue @@ -75,11 +75,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmTrain.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmTrain.vue index 49c978693..494347b75 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmTrain.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/confirmTrain.vue @@ -92,11 +92,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/passwordInputBox.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/passwordInputBox.vue index a88a79d8f..43985ae1a 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/passwordInputBox.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/passwordInputBox.vue @@ -112,11 +112,6 @@ export default { return this.dialogShow ? OperationHandler.getDomIdByOperation(this.operation) : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/popupAlarm.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/popupAlarm.vue index 0189af2d8..b6b925622 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/popupAlarm.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/popupAlarm.vue @@ -48,11 +48,6 @@ export default { return this.dialogShow ? OperationEvent.Command.close.alarm.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, messages) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/routeDetail.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/routeDetail.vue index fd86eafca..b7211c025 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/routeDetail.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/routeDetail.vue @@ -118,11 +118,6 @@ export default { return '查询进路状态'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempData) { this.selected = selected; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/routeGuide.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/routeGuide.vue index 319b543d3..11cba9131 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/routeGuide.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/routeGuide.vue @@ -130,11 +130,6 @@ export default { 'mapConfig' ]) }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { getProtectedSectionName(row) { let name = ''; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/routeHandControl.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/routeHandControl.vue index a9736ae94..69ce0d572 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/routeHandControl.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/routeHandControl.vue @@ -123,11 +123,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempData) { this.selected = selected; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/routeSelection.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/routeSelection.vue index 275a25208..12014afb3 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/routeSelection.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/routeSelection.vue @@ -138,11 +138,6 @@ export default { 'mapConfig' ]) }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { getProtectedSectionName(row) { let name = ''; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/sectionDetail.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/sectionDetail.vue index b38fc2a7c..7e6a03371 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/sectionDetail.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/sectionDetail.vue @@ -69,11 +69,6 @@ export default { return '无岔区段属性对话框'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/standControl.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/standControl.vue index a19e2463e..2cf88c397 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/standControl.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/standControl.vue @@ -380,11 +380,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempDate = null) { this.selected = selected; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/standDetail.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/standDetail.vue index e6a3821f2..70afc5455 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/standDetail.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/standDetail.vue @@ -130,11 +130,6 @@ export default { return '站台信息'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected, opts) { this.tempData = []; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainControl.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainControl.vue index 79f4428cc..738d9509e 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainControl.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainControl.vue @@ -196,11 +196,6 @@ export default { } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { }, diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainCreate.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainCreate.vue index 69abacf79..59f7935b6 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainCreate.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainCreate.vue @@ -80,11 +80,6 @@ export default { return '设置列车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainCreateNumber.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainCreateNumber.vue index 06fac788e..e56f2f80d 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainCreateNumber.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainCreateNumber.vue @@ -100,11 +100,6 @@ export default { return '新建车组号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { }, diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainDelete.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainDelete.vue index 660f14eea..895d6024c 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainDelete.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainDelete.vue @@ -80,11 +80,6 @@ export default { return '删除列车识别号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { if (map) { diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainDeleteNumber.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainDeleteNumber.vue index 0b330341c..210e2dc87 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainDeleteNumber.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainDeleteNumber.vue @@ -95,11 +95,6 @@ export default { return '删除车组号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { }, diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainDetailInfo.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainDetailInfo.vue index 4850ebc49..907727139 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainDetailInfo.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainDetailInfo.vue @@ -321,11 +321,6 @@ export default { return '列车信息显示'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainEditNumber.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainEditNumber.vue index 58014f945..570e22144 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainEditNumber.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainEditNumber.vue @@ -93,11 +93,6 @@ export default { return '修改车组号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { }, diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainMove.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainMove.vue index 78305ab05..82c84dc13 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainMove.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainMove.vue @@ -132,11 +132,6 @@ export default { return '移动列车识别号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainMoveNumber.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainMoveNumber.vue index 4c1f8d95c..7e7635d23 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainMoveNumber.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainMoveNumber.vue @@ -110,11 +110,6 @@ export default { return '移动车组号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { }, diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/trainSwitch.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/trainSwitch.vue index a3b31ed95..583e53d8e 100644 --- a/src/jmapNew/theme/chengdu_03/menus/dialog/trainSwitch.vue +++ b/src/jmapNew/theme/chengdu_03/menus/dialog/trainSwitch.vue @@ -137,11 +137,6 @@ export default { return '移动列车识别号'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue index 66ee5eb76..19eb832ab 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue @@ -209,9 +209,6 @@ export default { } }, watch: { - '$store.state.config.canvasOffsetCount': function (val) { - this.resetPosition(); - }, '$store.state.menuOperation.buttonOperation': function (val, old) { this.updateButtonShow(val, old); }, @@ -219,9 +216,6 @@ export default { this.selectedChange(); } }, - mounted() { - this.resetPosition(); - }, beforeDestroy() { this.buttonDown(this.Command.cancel.clearMbm.operation); }, @@ -266,11 +260,6 @@ export default { this.$refs.noticeInfo.doShow(); }); }, - resetPosition() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, updateButtonShow(val, old) { if (old) { // 恢复旧按钮显示 diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/twoConfirmation.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/twoConfirmation.vue index 1c4275935..c1f7b93a3 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/twoConfirmation.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/twoConfirmation.vue @@ -62,11 +62,6 @@ export default { return []; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.domIdConfirm = ''; diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userAdd.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userAdd.vue index 15daf018a..6c98c5a53 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userAdd.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userAdd.vue @@ -83,11 +83,6 @@ return '增加用户' } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }) - }, methods: { doShow(operate) { //非断电激活时设置初始值 diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userDelete.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userDelete.vue index 3e2018158..e64aa49f3 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userDelete.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userDelete.vue @@ -57,11 +57,6 @@ return '删除用户' } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }) - }, methods: { doShow(operate, selected) { //非断电激活时设置初始值 diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userEdit.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userEdit.vue index 6109d5510..b03165a1b 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userEdit.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/childDialog/userEdit.vue @@ -91,11 +91,6 @@ return '用户编辑页面' } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }) - }, methods: { doShow(operate, selected) { //非断电激活时设置初始值 diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/helpAbout.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/helpAbout.vue index 1f19b5243..4dc26a4ce 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/helpAbout.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/helpAbout.vue @@ -63,11 +63,6 @@ return '关于ControlMonitor' } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }) - }, methods: { doShow(operate) { //非断电激活时设置初始值 diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/limitSpeed.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/limitSpeed.vue index 2c111f513..e416e68e0 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/limitSpeed.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/limitSpeed.vue @@ -66,11 +66,6 @@ export default { return '设置限速'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/manageUser.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/manageUser.vue index 4be9889b0..deef68f43 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/manageUser.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/manageUser.vue @@ -103,11 +103,6 @@ return '用户管理' } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }) - }, methods: { doShow(operate) { //非断电激活时设置初始值 diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/passwordBox.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/passwordBox.vue index 2ac5adb4e..69fa03d70 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/passwordBox.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/passwordBox.vue @@ -94,11 +94,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(operate) { this.model.username = ''; diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/setLimitSpeed.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/setLimitSpeed.vue index dac35243b..dfb5821b3 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/setLimitSpeed.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/setLimitSpeed.vue @@ -193,11 +193,6 @@ export default { return '设置临时限速'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/stationControlConvert.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/stationControlConvert.vue index 01a8e35c0..046b66327 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/stationControlConvert.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/stationControlConvert.vue @@ -189,9 +189,6 @@ export default { }, mounted() { this.loadTableData(); - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); }, methods: { updateTableValue(code, result, success) { diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainAdd.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainAdd.vue index 95eeb03fd..fba049a10 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainAdd.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainAdd.vue @@ -95,11 +95,6 @@ export default { return '添加计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainDelete.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainDelete.vue index 1ae0016f8..b1139915a 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainDelete.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainDelete.vue @@ -78,11 +78,6 @@ export default { return '删除计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainTranstalet.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainTranstalet.vue index caf718128..97918ae44 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainTranstalet.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/trainTranstalet.vue @@ -95,11 +95,6 @@ export default { return '平移计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_03/menus/menuDialog/viewName.vue b/src/jmapNew/theme/chengdu_03/menus/menuDialog/viewName.vue index 01e9d5f65..4a32473d5 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuDialog/viewName.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuDialog/viewName.vue @@ -103,7 +103,6 @@ export default { mounted() { this.$nextTick(() => { this.setNameDisplay(); - this.$store.dispatch('training/tipReload'); }); }, methods: { diff --git a/src/jmapNew/theme/chengdu_03/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/chengdu_03/menus/passiveDialog/alarm.vue index 8011b522a..afbff9ddc 100644 --- a/src/jmapNew/theme/chengdu_03/menus/passiveDialog/alarm.vue +++ b/src/jmapNew/theme/chengdu_03/menus/passiveDialog/alarm.vue @@ -142,11 +142,6 @@ export default { // } // } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/chengdu_03/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/chengdu_03/menus/passiveDialog/timeout.vue index 85fd91661..e4ef062a6 100644 --- a/src/jmapNew/theme/chengdu_03/menus/passiveDialog/timeout.vue +++ b/src/jmapNew/theme/chengdu_03/menus/passiveDialog/timeout.vue @@ -59,11 +59,6 @@ export default { // } // }, }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/components/menus/childDialog/confirmControl.vue b/src/jmapNew/theme/components/menus/childDialog/confirmControl.vue index 6c0a03e6a..b185f4460 100644 --- a/src/jmapNew/theme/components/menus/childDialog/confirmControl.vue +++ b/src/jmapNew/theme/components/menus/childDialog/confirmControl.vue @@ -107,11 +107,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/components/menus/childDialog/confirmControlSpeed.vue b/src/jmapNew/theme/components/menus/childDialog/confirmControlSpeed.vue index 7213ebe2a..2e905614b 100644 --- a/src/jmapNew/theme/components/menus/childDialog/confirmControlSpeed.vue +++ b/src/jmapNew/theme/components/menus/childDialog/confirmControlSpeed.vue @@ -83,11 +83,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/components/menus/childDialog/noticeInfo.vue b/src/jmapNew/theme/components/menus/childDialog/noticeInfo.vue index 862a78861..c4bcf0c1e 100644 --- a/src/jmapNew/theme/components/menus/childDialog/noticeInfo.vue +++ b/src/jmapNew/theme/components/menus/childDialog/noticeInfo.vue @@ -60,11 +60,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(messages) { this.dialogShow = true; diff --git a/src/jmapNew/theme/components/menus/childDialog/passwordInputBox.vue b/src/jmapNew/theme/components/menus/childDialog/passwordInputBox.vue index b33965f12..96e805279 100644 --- a/src/jmapNew/theme/components/menus/childDialog/passwordInputBox.vue +++ b/src/jmapNew/theme/components/menus/childDialog/passwordInputBox.vue @@ -115,11 +115,6 @@ export default { return this.dialogShow ? OperationHandler.getDomIdByOperation(this.operation) : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/components/menus/dialog/cancelAllLimit.vue b/src/jmapNew/theme/components/menus/dialog/cancelAllLimit.vue index ec4152681..cf9c350b3 100644 --- a/src/jmapNew/theme/components/menus/dialog/cancelAllLimit.vue +++ b/src/jmapNew/theme/components/menus/dialog/cancelAllLimit.vue @@ -155,9 +155,6 @@ export default { } }, mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); this.timer = setInterval(() => { if (this.timeCountConfirm > 0) { this.timeCountConfirm--; diff --git a/src/jmapNew/theme/components/menus/dialog/loadSpareTrain.vue b/src/jmapNew/theme/components/menus/dialog/loadSpareTrain.vue index 9a6c8e71a..49a1575d6 100644 --- a/src/jmapNew/theme/components/menus/dialog/loadSpareTrain.vue +++ b/src/jmapNew/theme/components/menus/dialog/loadSpareTrain.vue @@ -101,11 +101,6 @@ export default { } }, watch:{}, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/routeControl.vue b/src/jmapNew/theme/components/menus/dialog/routeControl.vue index 02f2e54dd..f6499bad4 100644 --- a/src/jmapNew/theme/components/menus/dialog/routeControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/routeControl.vue @@ -121,11 +121,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/routeDetail.vue b/src/jmapNew/theme/components/menus/dialog/routeDetail.vue index 2414ca966..ce00fdf0b 100644 --- a/src/jmapNew/theme/components/menus/dialog/routeDetail.vue +++ b/src/jmapNew/theme/components/menus/dialog/routeDetail.vue @@ -110,11 +110,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempData) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/routeHandControl.vue b/src/jmapNew/theme/components/menus/dialog/routeHandControl.vue index d5526d84e..5ba5ea02e 100644 --- a/src/jmapNew/theme/components/menus/dialog/routeHandControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/routeHandControl.vue @@ -152,11 +152,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempData) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/sectionControl.vue b/src/jmapNew/theme/components/menus/dialog/sectionControl.vue index 4de896c45..d6eb2c021 100644 --- a/src/jmapNew/theme/components/menus/dialog/sectionControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/sectionControl.vue @@ -112,11 +112,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/sectionUnLock.vue b/src/jmapNew/theme/components/menus/dialog/sectionUnLock.vue index c375bf60e..2db8440d0 100644 --- a/src/jmapNew/theme/components/menus/dialog/sectionUnLock.vue +++ b/src/jmapNew/theme/components/menus/dialog/sectionUnLock.vue @@ -213,9 +213,6 @@ export default { } }, mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); this.timer = setInterval(() => { if (this.timeCountConfirm > 0) { this.timeCountConfirm--; diff --git a/src/jmapNew/theme/components/menus/dialog/setFault.vue b/src/jmapNew/theme/components/menus/dialog/setFault.vue index 2d2dea089..dbc58b78b 100644 --- a/src/jmapNew/theme/components/menus/dialog/setFault.vue +++ b/src/jmapNew/theme/components/menus/dialog/setFault.vue @@ -166,11 +166,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { hover(field) { this.field = field == this.field ? '' : field; diff --git a/src/jmapNew/theme/components/menus/dialog/setTrainOperation.vue b/src/jmapNew/theme/components/menus/dialog/setTrainOperation.vue index 0ccb94dc8..8518070dc 100644 --- a/src/jmapNew/theme/components/menus/dialog/setTrainOperation.vue +++ b/src/jmapNew/theme/components/menus/dialog/setTrainOperation.vue @@ -140,11 +140,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { hover(field) { this.field = field == this.field ? '' : field; diff --git a/src/jmapNew/theme/components/menus/dialog/speedCmdControl.vue b/src/jmapNew/theme/components/menus/dialog/speedCmdControl.vue index 2332d8b53..db7250da3 100644 --- a/src/jmapNew/theme/components/menus/dialog/speedCmdControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/speedCmdControl.vue @@ -266,9 +266,6 @@ export default { } }, mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); this.timer = setInterval(() => { if (!this.$store.state.menuOperation.break) { if (this.timeCountCommand > 0) { diff --git a/src/jmapNew/theme/components/menus/dialog/standControl.vue b/src/jmapNew/theme/components/menus/dialog/standControl.vue index 1c3f9a26c..efa9767b8 100644 --- a/src/jmapNew/theme/components/menus/dialog/standControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/standControl.vue @@ -204,11 +204,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/standDetail.vue b/src/jmapNew/theme/components/menus/dialog/standDetail.vue index 93311e0b4..cb11fa026 100644 --- a/src/jmapNew/theme/components/menus/dialog/standDetail.vue +++ b/src/jmapNew/theme/components/menus/dialog/standDetail.vue @@ -150,11 +150,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected) { this.tempData = []; diff --git a/src/jmapNew/theme/components/menus/dialog/standJumpStopControl.vue b/src/jmapNew/theme/components/menus/dialog/standJumpStopControl.vue index 3f741df90..efa32d949 100644 --- a/src/jmapNew/theme/components/menus/dialog/standJumpStopControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/standJumpStopControl.vue @@ -209,11 +209,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/standRunLevel.vue b/src/jmapNew/theme/components/menus/dialog/standRunLevel.vue index 79e1bda6e..cdf94f2f8 100644 --- a/src/jmapNew/theme/components/menus/dialog/standRunLevel.vue +++ b/src/jmapNew/theme/components/menus/dialog/standRunLevel.vue @@ -183,11 +183,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { getLevelByTime(time) { return Object.keys(this.timeList).findIndex(key => { diff --git a/src/jmapNew/theme/components/menus/dialog/standStopTime.vue b/src/jmapNew/theme/components/menus/dialog/standStopTime.vue index 8d0384fd7..56e8876fd 100644 --- a/src/jmapNew/theme/components/menus/dialog/standStopTime.vue +++ b/src/jmapNew/theme/components/menus/dialog/standStopTime.vue @@ -133,11 +133,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected || {}; diff --git a/src/jmapNew/theme/components/menus/dialog/stationCmdControl.vue b/src/jmapNew/theme/components/menus/dialog/stationCmdControl.vue index 592ad293e..5933ed149 100644 --- a/src/jmapNew/theme/components/menus/dialog/stationCmdControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/stationCmdControl.vue @@ -208,9 +208,6 @@ export default { } }, mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); this.timer = setInterval(() => { if (!this.$store.state.menuOperation.break) { if (this.timeCountCommand > 0) { diff --git a/src/jmapNew/theme/components/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/components/menus/dialog/stationHumanControlAll.vue index 33bb492c3..1a3f8ca26 100644 --- a/src/jmapNew/theme/components/menus/dialog/stationHumanControlAll.vue +++ b/src/jmapNew/theme/components/menus/dialog/stationHumanControlAll.vue @@ -71,11 +71,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/components/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/components/menus/dialog/stationSetRouteControlAll.vue index fa10f7ee5..9725b6b3b 100644 --- a/src/jmapNew/theme/components/menus/dialog/stationSetRouteControlAll.vue +++ b/src/jmapNew/theme/components/menus/dialog/stationSetRouteControlAll.vue @@ -85,11 +85,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/components/menus/dialog/switchControl.vue b/src/jmapNew/theme/components/menus/dialog/switchControl.vue index 0485934dd..e2ed76933 100644 --- a/src/jmapNew/theme/components/menus/dialog/switchControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/switchControl.vue @@ -153,11 +153,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/switchHookLock.vue b/src/jmapNew/theme/components/menus/dialog/switchHookLock.vue index 4177df536..83e16fff3 100644 --- a/src/jmapNew/theme/components/menus/dialog/switchHookLock.vue +++ b/src/jmapNew/theme/components/menus/dialog/switchHookLock.vue @@ -87,11 +87,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(selected, operate = null) { this.selected = selected; diff --git a/src/jmapNew/theme/components/menus/dialog/trainAddPlan.vue b/src/jmapNew/theme/components/menus/dialog/trainAddPlan.vue index 90b7fb088..efd645a19 100644 --- a/src/jmapNew/theme/components/menus/dialog/trainAddPlan.vue +++ b/src/jmapNew/theme/components/menus/dialog/trainAddPlan.vue @@ -116,11 +116,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { tripNumberChange(tripNumber) { getServiceNumbersByTripNum(this.$route.query.group, tripNumber).then(resp => { diff --git a/src/jmapNew/theme/components/menus/dialog/trainControl.vue b/src/jmapNew/theme/components/menus/dialog/trainControl.vue index af860cd9b..1450e58bb 100644 --- a/src/jmapNew/theme/components/menus/dialog/trainControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/trainControl.vue @@ -286,11 +286,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) {}, doShow(operate, selected) { diff --git a/src/jmapNew/theme/components/menus/passiveDialog/control.vue b/src/jmapNew/theme/components/menus/passiveDialog/control.vue index 25321ff47..9e9ba8a30 100644 --- a/src/jmapNew/theme/components/menus/passiveDialog/control.vue +++ b/src/jmapNew/theme/components/menus/passiveDialog/control.vue @@ -127,11 +127,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { checkTableDataSelction(data) { const selection = []; diff --git a/src/jmapNew/theme/race_01/menus/dialog/standBulkBuckleTrain.vue b/src/jmapNew/theme/race_01/menus/dialog/standBulkBuckleTrain.vue index 33e58aa75..995e777fb 100644 --- a/src/jmapNew/theme/race_01/menus/dialog/standBulkBuckleTrain.vue +++ b/src/jmapNew/theme/race_01/menus/dialog/standBulkBuckleTrain.vue @@ -100,11 +100,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/store/modules/training.js b/src/store/modules/training.js index dd6f91e8a..0eab2ce2d 100644 --- a/src/store/modules/training.js +++ b/src/store/modules/training.js @@ -22,7 +22,7 @@ const training = { rezoomCount: 0, // 车站变更标识 steps: [], // 实训步骤数据 order: -1, // 实训进行到第几步 - orderCount: 0, // 步骤变更标识 + // orderCount: 0, // 步骤变更标识 operateErrMsg: '', // 操作错误提示信息 subscribeCount: 0, // 仿真订阅完成标识 score: 0, // 实训得分 @@ -125,10 +125,7 @@ const training = { }, next: (state) => { state.order += 1; - state.orderCount += 1; - }, - orderCountIncrement: (state) => { - state.orderCount += 1; + // state.orderCount += 1; }, resetOrder: (state) => { state.order = -1; @@ -136,7 +133,7 @@ const training = { backOrder: (state, stepNum) => { if (state.order > stepNum) { state.order -= stepNum; - state.orderCount += 1; + // state.orderCount += 1; } }, setOperateErrMsg: (state, errMsg) => { @@ -457,13 +454,6 @@ const training = { }); }, - /** - * 提示消息重新加载 - */ - tipReload: ({ commit }) => { - commit('orderCountIncrement'); - }, - /** * 更新偏移位置车站 */