From c149f33a992968c4616b0287a6fefda0e13d33f7 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 2 Feb 2021 18:06:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ningbo_03/menus/dialog/alxeEffective.vue | 5 - .../dialog/childDialog/confirmControl.vue | 5 - .../childDialog/confirmSignalUnlock.vue | 5 - .../ningbo_03/menus/dialog/routeSelection.vue | 5 - .../ningbo_03/menus/dialog/routerCommand.vue | 5 - .../menus/dialog/sectionAlxeReset.vue | 5 - .../menus/dialog/standBulkBuckleTrain.vue | 5 - .../menus/dialog/stationBackStrategy.vue | 5 - .../ningbo_03/menus/dialog/stationControl.vue | 5 - .../ningbo_03/menus/dialog/trainDefine.vue | 5 - .../ningbo_03/menus/dialog/trainDelete.vue | 5 - .../ningbo_03/menus/dialog/trainMove.vue | 5 - .../ningbo_03/menus/dialog/trainSetHead.vue | 5 - .../ningbo_03/menus/dialog/trainSetPlan.vue | 5 - .../ningbo_03/menus/dialog/trainSetWork.vue | 5 - .../menus/dialog/trainSetWorkATP.vue | 5 - .../menus/dialog/turnBackControl.vue | 5 - .../menus/menuDialog/adjustStrategy.vue | 21 ++-- .../menus/menuDialog/allTrainDetail.vue | 19 ++- .../menus/menuDialog/allocateTime.vue | 5 - .../menus/menuDialog/arrangeRoute.vue | 19 ++- .../menus/menuDialog/cancelRoute.vue | 19 ++- .../childDialog/twoConfirmation.vue | 5 - .../menus/menuDialog/childDialog/userAdd.vue | 5 - .../menuDialog/childDialog/userDelete.vue | 5 - .../menus/menuDialog/childDialog/userEdit.vue | 5 - .../menuDialog/initSectionLimitSpeed.vue | 57 ++++----- .../menus/menuDialog/initSectionOpen.vue | 37 +++--- .../menus/menuDialog/initSignalBlock.vue | 5 - .../menus/menuDialog/initSignalMode.vue | 25 ++-- .../menuDialog/initializeSignalCanBlock.vue | 105 ++++++++-------- .../menuDialog/initializeSignalGuide.vue | 17 +-- .../menuDialog/initializeSwitchBlock.vue | 115 +++++++++--------- .../menus/menuDialog/intervalStopNumber.vue | 5 - .../menus/menuDialog/modifyTrainNumber.vue | 13 +- .../menuDialog/occupancyTrainCorrelation.vue | 13 +- .../menus/menuDialog/routeCommand.vue | 19 ++- .../menus/menuDialog/routeDetail.vue | 13 +- .../menus/menuDialog/runningInterval.vue | 13 +- .../menus/menuDialog/sectionLimitSpeed.vue | 37 +++--- .../menus/menuDialog/sectionLock.vue | 13 +- .../menus/menuDialog/sectionOpen.vue | 47 ++++--- .../menus/menuDialog/sectionShow.vue | 13 +- .../menus/menuDialog/signalBlock.vue | 27 ++-- .../menus/menuDialog/signalCanBlock.vue | 15 +-- .../menus/menuDialog/signalDetail.vue | 17 +-- .../menus/menuDialog/signalGuide.vue | 19 ++- .../ningbo_03/menus/menuDialog/signalMode.vue | 59 ++++----- .../menus/menuDialog/signalModel.vue | 5 - .../menus/menuDialog/standControl.vue | 5 - .../menus/menuDialog/standDetail.vue | 25 ++-- .../menus/menuDialog/standDetain.vue | 49 ++++---- .../menus/menuDialog/stationControl.vue | 17 +-- .../menus/menuDialog/switchActive.vue | 47 ++++--- .../menus/menuDialog/switchBlock.vue | 49 ++++---- .../menus/menuDialog/switchCommand.vue | 19 ++- .../menus/menuDialog/switchDetail.vue | 17 +-- .../menus/menuDialog/trainCancelDeviation.vue | 13 +- .../menus/menuDialog/trainDepart.vue | 17 +-- .../menus/menuDialog/trainDetail.vue | 13 +- .../menus/menuDialog/trainDistribution.vue | 13 +- .../menus/menuDialog/trainIdAssociated.vue | 13 +- .../menus/menuDialog/trainJumpStop.vue | 13 +- .../menus/menuDialog/trainRunType.vue | 13 +- .../menus/menuDialog/trainTranstalet.vue | 13 +- .../menus/menuDialog/trainUpdateDeviation.vue | 13 +- .../ningbo_03/menus/passiveDialog/alarm.vue | 5 - .../ningbo_03/menus/passiveDialog/timeout.vue | 5 - .../race_01/menus/dialog/alxeEffective.vue | 5 - .../dialog/childDialog/confirmControl.vue | 5 - .../childDialog/confirmSignalUnlock.vue | 5 - .../race_01/menus/dialog/routeSelection.vue | 5 - .../race_01/menus/dialog/routerCommand.vue | 5 - .../race_01/menus/dialog/sectionAlxeReset.vue | 5 - .../menus/dialog/stationBackStrategy.vue | 5 - .../race_01/menus/dialog/stationControl.vue | 5 - .../race_01/menus/dialog/trainDefine.vue | 5 - .../race_01/menus/dialog/trainDelete.vue | 5 - .../theme/race_01/menus/dialog/trainMove.vue | 5 - .../race_01/menus/dialog/trainSetHead.vue | 5 - .../race_01/menus/dialog/trainSetPlan.vue | 5 - .../race_01/menus/dialog/trainSetWork.vue | 5 - .../race_01/menus/dialog/trainSetWorkATP.vue | 5 - .../race_01/menus/dialog/turnBackControl.vue | 5 - .../childDialog/twoConfirmation.vue | 5 - .../menus/menuDialog/childDialog/userAdd.vue | 5 - .../menuDialog/childDialog/userDelete.vue | 5 - .../menus/menuDialog/childDialog/userEdit.vue | 5 - .../menus/menuDialog/detainTrainContorl.vue | 5 - .../menuDialog/detainTrainContorlUpDown.vue | 5 - .../race_01/menus/menuDialog/helpAbout.vue | 5 - .../race_01/menus/menuDialog/manageUser.vue | 5 - .../menus/menuDialog/stationControl.vue | 5 - .../race_01/menus/menuDialog/trainAdd.vue | 5 - .../race_01/menus/menuDialog/trainDelete.vue | 5 - .../menus/menuDialog/trainTranstalet.vue | 5 - .../race_01/menus/passiveDialog/alarm.vue | 5 - .../race_01/menus/passiveDialog/timeout.vue | 5 - .../dialog/childDialog/confirmControl.vue | 5 - .../childDialog/confirmSignalUnlock.vue | 5 - .../menus/dialog/childDialog/confirmTrain.vue | 5 - .../xian_01/menus/dialog/routeCmdControl.vue | 3 - .../theme/xian_01/menus/dialog/routeLock.vue | 5 - .../xian_01/menus/dialog/routeSelection.vue | 5 - .../menus/dialog/sectionCmdControl.vue | 3 - .../theme/xian_01/menus/dialog/setFault.vue | 5 - .../menus/dialog/standBackStrategy.vue | 5 - .../xian_01/menus/dialog/standControl.vue | 5 - .../menus/dialog/standDetainTrainAll.vue | 5 - .../xian_01/menus/dialog/standRunLevel.vue | 5 - .../xian_01/menus/dialog/standStopTime.vue | 5 - .../menus/dialog/stationBackStrategy.vue | 5 - .../xian_01/menus/dialog/switchCmdControl.vue | 3 - .../xian_01/menus/dialog/trainDelete.vue | 5 - .../xian_01/menus/dialog/trainDetail.vue | 5 - .../xian_01/menus/dialog/trainEditNumber.vue | 5 - .../theme/xian_01/menus/dialog/trainMove.vue | 5 - .../xian_01/menus/dialog/trainSwitch.vue | 5 - .../childDialog/twoConfirmation.vue | 5 - .../menus/menuDialog/childDialog/userAdd.vue | 5 - .../menuDialog/childDialog/userDelete.vue | 5 - .../menus/menuDialog/childDialog/userEdit.vue | 5 - .../xian_01/menus/menuDialog/helpAbout.vue | 5 - .../xian_01/menus/menuDialog/manageUser.vue | 5 - .../xian_01/menus/menuDialog/passwordBox.vue | 5 - .../menuDialog/stationControlConvert.vue | 3 - .../xian_01/menus/menuDialog/trainAdd.vue | 5 - .../xian_01/menus/menuDialog/trainDelete.vue | 5 - .../menus/menuDialog/trainTranstalet.vue | 5 - .../xian_01/menus/menuDialog/viewDevice.vue | 1 - .../xian_01/menus/menuDialog/viewName.vue | 1 - .../xian_01/menus/menuDialog/viewTrainId.vue | 1 - .../xian_01/menus/passiveDialog/alarm.vue | 5 - .../xian_01/menus/passiveDialog/timeout.vue | 5 - .../xian_02/menus/dialog/cancelAllLimit.vue | 3 - .../dialog/childDialog/confirmControl.vue | 5 - .../childDialog/confirmSignalUnlock.vue | 5 - .../xian_02/menus/dialog/routeDetail.vue | 5 - .../xian_02/menus/dialog/sectionAlxeReset.vue | 5 - .../menus/dialog/stationCmdControl.vue | 3 - .../xian_02/menus/dialog/stationControl.vue | 5 - .../xian_02/menus/dialog/trainAlertor.vue | 5 - .../menus/dialog/trainDelDestination.vue | 5 - .../xian_02/menus/dialog/trainDestination.vue | 1 - .../xian_02/menus/dialog/trainRunLevel.vue | 5 - .../xian_02/menus/dialog/trainUpdatePlan.vue | 5 - .../xian_02/menus/dialog/turnBackControl.vue | 5 - .../childDialog/twoConfirmation.vue | 5 - .../menus/menuDialog/childDialog/userAdd.vue | 5 - .../menuDialog/childDialog/userDelete.vue | 5 - .../menus/menuDialog/childDialog/userEdit.vue | 5 - .../menus/menuDialog/detainTrainContorl.vue | 5 - .../menuDialog/detainTrainContorlUpDown.vue | 5 - .../xian_02/menus/menuDialog/helpAbout.vue | 5 - .../xian_02/menus/menuDialog/manageUser.vue | 5 - .../menus/menuDialog/stationControl.vue | 5 - .../xian_02/menus/menuDialog/trainAdd.vue | 5 - .../xian_02/menus/menuDialog/trainDelete.vue | 5 - .../menus/menuDialog/trainTranstalet.vue | 5 - .../theme/xian_02/menus/menuStationStand.vue | 5 - .../xian_02/menus/passiveDialog/alarm.vue | 5 - .../xian_02/menus/passiveDialog/control.vue | 5 - .../xian_02/menus/passiveDialog/timeout.vue | 5 - .../newMap/mapsystemNew/plugin/setFault.vue | 5 - 164 files changed, 448 insertions(+), 1240 deletions(-) diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/alxeEffective.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/alxeEffective.vue index 3335a31b9..aa774370c 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/alxeEffective.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/alxeEffective.vue @@ -195,11 +195,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { stopTask() { if (this.task) { diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/childDialog/confirmControl.vue index 988001ee4..21de3a07f 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/childDialog/confirmControl.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/childDialog/confirmControl.vue @@ -73,11 +73,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/childDialog/confirmSignalUnlock.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/childDialog/confirmSignalUnlock.vue index fb688667c..a2b5422be 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/childDialog/confirmSignalUnlock.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/childDialog/confirmSignalUnlock.vue @@ -53,11 +53,6 @@ export default { return this.dialogShow ? OperationEvent.Signal.unlock.confirm.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.stationName = ''; diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/routeSelection.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/routeSelection.vue index d27e84ecc..f7d093e7d 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/routeSelection.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/routeSelection.vue @@ -97,11 +97,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { expandPath() { console.log('展开进路预览'); diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/routerCommand.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/routerCommand.vue index 476a1f37e..558d0e4af 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/routerCommand.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/routerCommand.vue @@ -77,11 +77,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, message) { this.selected = selected; diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/sectionAlxeReset.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/sectionAlxeReset.vue index d258b7ff3..ce5666925 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/sectionAlxeReset.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/sectionAlxeReset.vue @@ -90,11 +90,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/standBulkBuckleTrain.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/standBulkBuckleTrain.vue index 5380b391a..2ec74594b 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/standBulkBuckleTrain.vue +++ b/src/jmapNew/theme/ningbo_03/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/jmapNew/theme/ningbo_03/menus/dialog/stationBackStrategy.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/stationBackStrategy.vue index 6f2b46f55..f1af95fa6 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/stationBackStrategy.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/stationBackStrategy.vue @@ -99,11 +99,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/stationControl.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/stationControl.vue index f79a2eb45..623908ed2 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/stationControl.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/stationControl.vue @@ -111,11 +111,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { getStationList(disable) { this.stationLists = []; diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/trainDefine.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/trainDefine.vue index 3cccf18f2..cc506848f 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/trainDefine.vue +++ b/src/jmapNew/theme/ningbo_03/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/ningbo_03/menus/dialog/trainDelete.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/trainDelete.vue index ecf90c087..5a073f00c 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/trainDelete.vue +++ b/src/jmapNew/theme/ningbo_03/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/ningbo_03/menus/dialog/trainMove.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/trainMove.vue index 9835510ec..5d6039626 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/trainMove.vue +++ b/src/jmapNew/theme/ningbo_03/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/ningbo_03/menus/dialog/trainSetHead.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetHead.vue index a0a07a248..97b22964b 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetHead.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetHead.vue @@ -99,11 +99,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetPlan.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetPlan.vue index e998a17a7..4c7dd7a09 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetPlan.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetPlan.vue @@ -101,11 +101,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetWork.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetWork.vue index 5dd137285..27933cb06 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetWork.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetWork.vue @@ -75,11 +75,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetWorkATP.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetWorkATP.vue index 91cb09afe..451bf2818 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetWorkATP.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/trainSetWorkATP.vue @@ -82,11 +82,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/ningbo_03/menus/dialog/turnBackControl.vue b/src/jmapNew/theme/ningbo_03/menus/dialog/turnBackControl.vue index 91129ba4f..65a964f23 100644 --- a/src/jmapNew/theme/ningbo_03/menus/dialog/turnBackControl.vue +++ b/src/jmapNew/theme/ningbo_03/menus/dialog/turnBackControl.vue @@ -98,11 +98,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.selected = selected; diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/adjustStrategy.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/adjustStrategy.vue index 68f0c2093..e42d67d31 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/adjustStrategy.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/adjustStrategy.vue @@ -87,10 +87,10 @@ export default { ]), show() { return this.dialogShow && !this.$store.state.menuOperation.break; - }, - selected() { - return this.$store.state.menuOperation.selected; - }, + }, + selected() { + return this.$store.state.menuOperation.selected; + }, domIdClose() { return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : ''; }, @@ -111,26 +111,21 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate; // 如果不是断点激活,而是第一次显示,则需要设置初始值 this.dialogShow = true; this.$nextTick(function () { - this.$refs.table.setCurrentRow(); + this.$refs.table.setCurrentRow(); this.$store.dispatch('training/emitTipFresh'); }); }, doClose() { this.loading = false; - this.dialogShow = false; - this.$refs.table.setCurrentRow(); - this.$store.dispatch('training/emitTipFresh'); + this.dialogShow = false; + this.$refs.table.setCurrentRow(); + this.$store.dispatch('training/emitTipFresh'); }, commit() { }, diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/allTrainDetail.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/allTrainDetail.vue index 532578c88..c841abb07 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/allTrainDetail.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/allTrainDetail.vue @@ -81,10 +81,10 @@ export default { ]), show() { return this.dialogShow && !this.$store.state.menuOperation.break; - }, - selected() { - return this.$store.state.menuOperation.selected; - }, + }, + selected() { + return this.$store.state.menuOperation.selected; + }, domIdClose() { return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : ''; }, @@ -105,25 +105,20 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate; // 如果不是断点激活,而是第一次显示,则需要设置初始值 this.dialogShow = true; this.$nextTick(function () { - this.$refs.table.setCurrentRow(); + this.$refs.table.setCurrentRow(); this.$store.dispatch('training/emitTipFresh'); }); }, doClose() { this.loading = false; - this.dialogShow = false; - this.$refs.table.setCurrentRow(); + this.dialogShow = false; + this.$refs.table.setCurrentRow(); this.$store.dispatch('training/emitTipFresh'); }, commit() { diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/allocateTime.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/allocateTime.vue index 5355ef5d2..38580f5b0 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/allocateTime.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/allocateTime.vue @@ -165,11 +165,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { // 如果不是断点激活,而是第一次显示,则需要设置初始值 diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/arrangeRoute.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/arrangeRoute.vue index 25ba8c9a2..f3c04cce9 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/arrangeRoute.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/arrangeRoute.vue @@ -99,10 +99,10 @@ export default { ]), show() { return this.dialogShow && !this.$store.state.menuOperation.break; - }, - selected() { - return this.$store.state.menuOperation.selected; - }, + }, + selected() { + return this.$store.state.menuOperation.selected; + }, domIdClose() { return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : ''; }, @@ -123,15 +123,10 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { - selectStand(stationStand) { - this.selectStandCode = stationStand.code; - }, + selectStand(stationStand) { + this.selectStandCode = stationStand.code; + }, expandPath() { console.log('展开进路预览'); }, diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelRoute.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelRoute.vue index ba6e08a7c..5db3a7518 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelRoute.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelRoute.vue @@ -55,10 +55,10 @@ export default { ]), show() { return this.dialogShow && !this.$store.state.menuOperation.break; - }, - selected() { - return this.$store.state.menuOperation.selected; - }, + }, + selected() { + return this.$store.state.menuOperation.selected; + }, domIdClose() { return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : ''; }, @@ -79,25 +79,20 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate; // 如果不是断点激活,而是第一次显示,则需要设置初始值 this.dialogShow = true; this.$nextTick(function () { - this.$refs.table.setCurrentRow(); + this.$refs.table.setCurrentRow(); this.$store.dispatch('training/emitTipFresh'); }); }, doClose() { this.loading = false; - this.dialogShow = false; - this.$refs.table.setCurrentRow() + this.dialogShow = false; + this.$refs.table.setCurrentRow(); this.$store.dispatch('training/emitTipFresh'); }, commit() { diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/twoConfirmation.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/twoConfirmation.vue index 1c7c5fb2a..d8c5414ba 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/twoConfirmation.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/twoConfirmation.vue @@ -80,11 +80,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, message) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/userAdd.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/userAdd.vue index 3d545ef24..8a9c2c52a 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/userAdd.vue +++ b/src/jmapNew/theme/ningbo_03/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/ningbo_03/menus/menuDialog/childDialog/userDelete.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/userDelete.vue index 9c2c1562d..f78dc6640 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/userDelete.vue +++ b/src/jmapNew/theme/ningbo_03/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/ningbo_03/menus/menuDialog/childDialog/userEdit.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/userEdit.vue index ce03fe858..28fcef331 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/childDialog/userEdit.vue +++ b/src/jmapNew/theme/ningbo_03/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/ningbo_03/menus/menuDialog/initSectionLimitSpeed.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/initSectionLimitSpeed.vue index fc755e45a..2475d3558 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/initSectionLimitSpeed.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/initSectionLimitSpeed.vue @@ -3,7 +3,7 @@ - +