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 8ffd0db6d..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) { // 恢复旧按钮显示 @@ -700,7 +689,6 @@ export default { if (station.controlMode == 'Local' || station.controlMode == 'Emergency') { if (buttonOperation && this.commandTypeList.includes(model._type)) { this.deviceList.push(model); - // debugger; if (buttonOperation === this.Signal.arrangementRoute.button.operation) { this.arrangementRouteOperation(this.deviceList); } else if (buttonOperation === this.MixinCommand.totalCancel.button.operation) { 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..962f20e62 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 || {}; @@ -152,7 +147,7 @@ export default { this.stationName = station.name; } } - this.control = selected.parkingTime == 0 ? '01' : '02'; + this.control = selected.parkingTime <= 0 ? '01' : '02'; this.time = selected.parkingTime ? Number(selected.parkingTime) : 30; this.effective = selected.parkingAlwaysValid == '1'; } 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/foshan_01/menus/dialog/allLineCancelLimit.vue b/src/jmapNew/theme/foshan_01/menus/dialog/allLineCancelLimit.vue index 102917e3b..dafc5a645 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/allLineCancelLimit.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/allLineCancelLimit.vue @@ -57,11 +57,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/foshan_01/menus/dialog/cancelAllLimit.vue b/src/jmapNew/theme/foshan_01/menus/dialog/cancelAllLimit.vue index 211aab457..3a0fc2e7f 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/cancelAllLimit.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/cancelAllLimit.vue @@ -135,9 +135,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/foshan_01/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/foshan_01/menus/dialog/childDialog/confirmControl.vue index 7c1208284..8c79cb511 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/childDialog/confirmControl.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/childDialog/confirmControl.vue @@ -108,11 +108,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/foshan_01/menus/dialog/childDialog/confirmSignalUnlock.vue b/src/jmapNew/theme/foshan_01/menus/dialog/childDialog/confirmSignalUnlock.vue index d34387819..31cc80c49 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/childDialog/confirmSignalUnlock.vue +++ b/src/jmapNew/theme/foshan_01/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/foshan_01/menus/dialog/routeSelection.vue b/src/jmapNew/theme/foshan_01/menus/dialog/routeSelection.vue index b9071cbfe..e25a98720 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/routeSelection.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/routeSelection.vue @@ -85,11 +85,6 @@ export default { return '进路选排'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { expandPath() { console.log('展开进路预览'); diff --git a/src/jmapNew/theme/foshan_01/menus/dialog/routerCommand.vue b/src/jmapNew/theme/foshan_01/menus/dialog/routerCommand.vue index 38f12b40f..a833b0dcc 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/routerCommand.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/routerCommand.vue @@ -69,11 +69,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, message) { this.selected = selected; diff --git a/src/jmapNew/theme/foshan_01/menus/dialog/sectionAlxeReset.vue b/src/jmapNew/theme/foshan_01/menus/dialog/sectionAlxeReset.vue index ed69331e6..25df808f0 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/sectionAlxeReset.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/sectionAlxeReset.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/foshan_01/menus/dialog/standBackStrategy.vue b/src/jmapNew/theme/foshan_01/menus/dialog/standBackStrategy.vue index d711518d9..49383c700 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/standBackStrategy.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/standBackStrategy.vue @@ -113,11 +113,6 @@ export default { return '变通策略管理'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected, opts) { this.tempData = []; diff --git a/src/jmapNew/theme/foshan_01/menus/dialog/standDetainTrainAll.vue b/src/jmapNew/theme/foshan_01/menus/dialog/standDetainTrainAll.vue index 028e2d214..cc87831a9 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/standDetainTrainAll.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/standDetainTrainAll.vue @@ -89,11 +89,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadTableData() { this.tempData = []; diff --git a/src/jmapNew/theme/foshan_01/menus/dialog/stationCmdControl.vue b/src/jmapNew/theme/foshan_01/menus/dialog/stationCmdControl.vue index 687a5e503..020458ac7 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/stationCmdControl.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/stationCmdControl.vue @@ -178,9 +178,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/foshan_01/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/foshan_01/menus/dialog/stationHumanControlAll.vue index b51583487..e9f6e0e20 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/stationHumanControlAll.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/stationHumanControlAll.vue @@ -58,11 +58,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/foshan_01/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/foshan_01/menus/dialog/stationSetRouteControlAll.vue index 8379dad84..32a294093 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/stationSetRouteControlAll.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/stationSetRouteControlAll.vue @@ -72,11 +72,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/foshan_01/menus/dialog/trainDefine.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainDefine.vue index 42ed6acb0..4a5f7eb3a 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainDefine.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainDefine.vue @@ -86,11 +86,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/foshan_01/menus/dialog/trainDelete.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainDelete.vue index 7256759d2..156c7847b 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainDelete.vue +++ b/src/jmapNew/theme/foshan_01/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/foshan_01/menus/dialog/trainDeletePlan.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainDeletePlan.vue index a99bd0fac..2d027f307 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainDeletePlan.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainDeletePlan.vue @@ -88,11 +88,6 @@ export default { return '删除计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 如果不是断点激活,则需要对初始值进行初始化 diff --git a/src/jmapNew/theme/foshan_01/menus/dialog/trainEdit.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainEdit.vue index 909a1c0ed..fe1cd856d 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainEdit.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainEdit.vue @@ -86,11 +86,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/foshan_01/menus/dialog/trainFlag.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainFlag.vue index 32c518d2e..4ce89ac90 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainFlag.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainFlag.vue @@ -78,11 +78,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/foshan_01/menus/dialog/trainMove.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainMove.vue index 751f16ba0..7053b6f0e 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainMove.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainMove.vue @@ -86,11 +86,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/foshan_01/menus/dialog/trainMoveEvently.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainMoveEvently.vue index 662601064..32dc7bd28 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainMoveEvently.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainMoveEvently.vue @@ -99,11 +99,6 @@ export default { return '平移计划车'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 如果不是断点激活,则需要对初始值进行初始化 diff --git a/src/jmapNew/theme/foshan_01/menus/dialog/trainSetHead.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainSetHead.vue index e9d601cab..b8e7a6d0e 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainSetHead.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainSetHead.vue @@ -86,11 +86,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/foshan_01/menus/dialog/trainSetPlan.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainSetPlan.vue index 4298e0046..7a0f7ad73 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainSetPlan.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainSetPlan.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/foshan_01/menus/dialog/trainSetWork.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainSetWork.vue index 8919cfdeb..e1d67826b 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainSetWork.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainSetWork.vue @@ -70,11 +70,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/foshan_01/menus/dialog/trainSetWorkATP.vue b/src/jmapNew/theme/foshan_01/menus/dialog/trainSetWorkATP.vue index 84a2315dd..7d5247d6d 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/trainSetWorkATP.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/trainSetWorkATP.vue @@ -81,11 +81,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/foshan_01/menus/dialog/turnBackControl.vue b/src/jmapNew/theme/foshan_01/menus/dialog/turnBackControl.vue index 922cca45a..1eaf52704 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/turnBackControl.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/turnBackControl.vue @@ -81,11 +81,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/foshan_01/menus/menuButton.vue b/src/jmapNew/theme/foshan_01/menus/menuButton.vue index acbeb301b..e7535ebcd 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuButton.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuButton.vue @@ -280,9 +280,6 @@ export default { } }, watch: { - '$store.state.config.canvasOffsetCount': function (val) { - this.resetPosition(); - }, '$store.state.menuOperation.buttonOperation': function (val, old) { this.updateButtonShow(val, old); }, @@ -290,15 +287,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/foshan_01/menus/menuDialog/childDialog/twoConfirmation.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/twoConfirmation.vue index 0cf4d014c..dc18de0da 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/twoConfirmation.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/twoConfirmation.vue @@ -73,11 +73,6 @@ export default { return []; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; @@ -109,17 +104,17 @@ export default { }; if (this.operation == OperationEvent.StationControl.requestCentralControl.menu.operation) { - operate.cmdType = CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL; - operate.operation = OperationEvent.StationControl.requestCentralControl.confirm.operation + operate.cmdType = CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL; + operate.operation = OperationEvent.StationControl.requestCentralControl.confirm.operation; } else if (this.operation == OperationEvent.StationControl.requestStationControl.menu.operation) { - operate.cmdType = CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL; - operate.operation = OperationEvent.StationControl.requestStationControl.confirm.operation + operate.cmdType = CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL; + operate.operation = OperationEvent.StationControl.requestStationControl.confirm.operation; } else if (this.operation == OperationEvent.StationControl.emergencyStationControl.menu.operation) { - operate.cmdType = CMD.ControlConvertMenu.CMD_CM_EMERGENCY_STATION_CONTROL; - operate.operation = OperationEvent.StationControl.emergencyStationControl.confirm.operation + operate.cmdType = CMD.ControlConvertMenu.CMD_CM_EMERGENCY_STATION_CONTROL; + operate.operation = OperationEvent.StationControl.emergencyStationControl.confirm.operation; } else if (this.operation == OperationEvent.StationControl.forcedStationControl.menu.operation) { - operate.cmdType = CMD.ControlConvertMenu.CMD_CM_FORCE_STATION_CONTROL; - operate.operation = OperationEvent.StationControl.forcedStationControl.confirm.operation + operate.cmdType = CMD.ControlConvertMenu.CMD_CM_FORCE_STATION_CONTROL; + operate.operation = OperationEvent.StationControl.forcedStationControl.confirm.operation; } this.doClose(); this.$store.dispatch('training/nextNew', operate).then(({ valid, response }) => { diff --git a/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/userAdd.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/userAdd.vue index d57bcba04..408bce454 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/userAdd.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/menuDialog/childDialog/userDelete.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/userDelete.vue index 6376a67e1..1103f6297 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/userDelete.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/menuDialog/childDialog/userEdit.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/userEdit.vue index fc72a195a..21f466da0 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/childDialog/userEdit.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/menuDialog/detainTrainContorl.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/detainTrainContorl.vue index 46c991426..358448e66 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/detainTrainContorl.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuDialog/detainTrainContorl.vue @@ -84,11 +84,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/foshan_01/menus/menuDialog/detainTrainContorlUpDown.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/detainTrainContorlUpDown.vue index eadc43e90..ba57f5d46 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/detainTrainContorlUpDown.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuDialog/detainTrainContorlUpDown.vue @@ -84,11 +84,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/foshan_01/menus/menuDialog/helpAbout.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/helpAbout.vue index ee9750565..d31b2e063 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/helpAbout.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/menuDialog/manageUser.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/manageUser.vue index 1a17e95f1..0d46b5162 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/manageUser.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/menuDialog/stationControl.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/stationControl.vue index 637ec1bbe..6372d27bf 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/stationControl.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuDialog/stationControl.vue @@ -135,11 +135,6 @@ export default { }); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { initControlModeList(val) { if (val === '01') { @@ -198,8 +193,8 @@ export default { operation: OperationEvent.Command.order.choose1.operation, param: { stationCodes: [this.formModel.stationCode] - }, - val: this.formModel.stationCode + }, + val: this.formModel.stationCode }; // if (this.stationType === 'Center') { @@ -218,8 +213,8 @@ export default { }, handleChooseChangeControl(val) { const operate = { - operation: OperationEvent.Command.order.choose.operation, - val + operation: OperationEvent.Command.order.choose.operation, + val }; this.$store.dispatch('training/nextNew', operate).then(({ valid }) => { if (valid) { diff --git a/src/jmapNew/theme/foshan_01/menus/menuDialog/trainAdd.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/trainAdd.vue index 85ed13b31..034de3c98 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/trainAdd.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/menuDialog/trainDelete.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/trainDelete.vue index 9320a229a..6a4d82bfe 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/trainDelete.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/menuDialog/trainTranstalet.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/trainTranstalet.vue index 0d3a1e182..69cf646af 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/trainTranstalet.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/menuDialog/viewTrainId.vue b/src/jmapNew/theme/foshan_01/menus/menuDialog/viewTrainId.vue index a00dc2472..19ee2fb5a 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuDialog/viewTrainId.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuDialog/viewTrainId.vue @@ -110,7 +110,6 @@ export default { mounted() { this.$nextTick(() => { this.setTrainDispaly(); - this.$store.dispatch('training/tipReload'); }); }, methods: { diff --git a/src/jmapNew/theme/foshan_01/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/foshan_01/menus/passiveDialog/alarm.vue index ea8bed579..28d6a3fc7 100644 --- a/src/jmapNew/theme/foshan_01/menus/passiveDialog/alarm.vue +++ b/src/jmapNew/theme/foshan_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/foshan_01/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/foshan_01/menus/passiveDialog/timeout.vue index fbac967a4..08799df1d 100644 --- a/src/jmapNew/theme/foshan_01/menus/passiveDialog/timeout.vue +++ b/src/jmapNew/theme/foshan_01/menus/passiveDialog/timeout.vue @@ -55,11 +55,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmControl.vue index decf0dcd6..0db032276 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmControl.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmControl.vue @@ -99,11 +99,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmSignalUnlock.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmSignalUnlock.vue index 0e99e8126..f9bbfa9db 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmSignalUnlock.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmSignalUnlock.vue @@ -52,11 +52,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/fuzhou_01/menus/dialog/childDialog/confirmTrain.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmTrain.vue index e41ef9c54..6a27a1a37 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmTrain.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmTrain.vue @@ -95,11 +95,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeCmdControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeCmdControl.vue index 30346b122..ecd048c58 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeCmdControl.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeCmdControl.vue @@ -202,9 +202,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/fuzhou_01/menus/dialog/routeDetail.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeDetail.vue index b3a064c49..6faaafe5e 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeDetail.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeDetail.vue @@ -97,11 +97,6 @@ export default { return this.$t('menu.queryAccessControlMode'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempData) { // 如果不是因为断点激活则需要,初始化菜单初始值 diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeHandControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeHandControl.vue index 0912bf28e..2ae4163c8 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeHandControl.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeHandControl.vue @@ -138,11 +138,6 @@ export default { }, watch: { }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempData) { // 如果不是断点激活,而是第一次显示则初始化 diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeLock.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeLock.vue index 19c5eff6d..ac9590868 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeLock.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeLock.vue @@ -89,11 +89,6 @@ export default { return this.$t('menu.blockSignalButton'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 入股不是断点激活,而是第一次显示需要初始化 diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeSelection.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeSelection.vue index a2b2f4374..316980494 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeSelection.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeSelection.vue @@ -99,11 +99,6 @@ export default { return disabled; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { getProtectedSectionName(row) { let name = ''; diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/sectionCmdControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/sectionCmdControl.vue index a6c4d36e4..f7f44983b 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/sectionCmdControl.vue +++ b/src/jmapNew/theme/fuzhou_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/fuzhou_01/menus/dialog/standBackStrategy.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/standBackStrategy.vue index e46c42acd..9f3dd0590 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/standBackStrategy.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/standBackStrategy.vue @@ -143,11 +143,6 @@ export default { return this.$t('menu.setSwitchbackStrategy'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected) { this.tempData = []; diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/standControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/standControl.vue index d3cd441cf..6368ca8e0 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/standControl.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/standControl.vue @@ -76,11 +76,6 @@ export default { return this.title + ':'; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(step, selected) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/standDetail.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/standDetail.vue index b53af7751..bf9e4b2f1 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/standDetail.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/standDetail.vue @@ -85,11 +85,6 @@ export default { return this.$t('menu.menuStationStand.getStationStandStatus'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected) { this.tempData = []; diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/standDetainTrainAll.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/standDetainTrainAll.vue index 4df0299a0..96f23f99c 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/standDetainTrainAll.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/standDetainTrainAll.vue @@ -100,11 +100,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadTableData() { this.tempData = []; diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/standRunLevel.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/standRunLevel.vue index 0c39cd1b5..30bfc4fff 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/standRunLevel.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/standRunLevel.vue @@ -28,14 +28,14 @@ - - - + + + @@ -129,13 +129,10 @@ export default { this.checkTableDataSelction(val); }, deep: true - } + } }, mounted() { this.sortStationList = []; - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); }, methods: { loadInitData(selected) { @@ -167,8 +164,8 @@ export default { time: selected.runLevelTime ? selected.runLevelTime : 0, check: !!selected.runLevelTimeForever }); - } - this.tempData = tempData; + } + this.tempData = tempData; }, doShow(operate, selected) { // 如果不是断点激活窗口,而是第一次显示窗口时,需要初始化窗口数据 @@ -181,15 +178,15 @@ export default { if (station) { this.stationName = station.name; } - } - this.loadInitData(selected); - } + } + this.loadInitData(selected); + } - this.dialogShow = true; + this.dialogShow = true; this.$nextTick(function() { - setTimeout(() => { - this.$store.dispatch('training/emitTipFresh'); - }, 300); + setTimeout(() => { + this.$store.dispatch('training/emitTipFresh'); + }, 300); }); }, checkTableDataSelction(data) { diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/standStopTime.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/standStopTime.vue index 8b6e8c7f6..dfc4761ad 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/standStopTime.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/standStopTime.vue @@ -142,11 +142,6 @@ export default { return this.$t('menu.stopTime'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 如果不是断点激活,则需要对初始值进行初始化 diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/switchCmdControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/switchCmdControl.vue index 7501998f8..3e1a58bee 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/switchCmdControl.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/switchCmdControl.vue @@ -227,9 +227,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/fuzhou_01/menus/dialog/trainCreate.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainCreate.vue index c28564a76..892466252 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainCreate.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainCreate.vue @@ -86,11 +86,6 @@ export default { return this.$t('menu.settingTrain'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { if (map.trainList.length) { diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainDelete.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainDelete.vue index dc5406b8c..e76c25b28 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainDelete.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainDelete.vue @@ -79,11 +79,6 @@ export default { return this.$t('menu.menuTrain.deleteTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { if (map) { diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainEditNumber.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainEditNumber.vue index 1ae329ee9..08a6a1ba4 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainEditNumber.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainEditNumber.vue @@ -68,11 +68,6 @@ export default { return this.$t('menu.menuTrain.editTrainNo'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainMove.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainMove.vue index 6cdab7976..785e57426 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainMove.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainMove.vue @@ -130,11 +130,6 @@ export default { return this.$t('menu.menuTrain.moveTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainSwitch.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainSwitch.vue index 336d77cee..e951629e6 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/trainSwitch.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/trainSwitch.vue @@ -135,11 +135,6 @@ export default { return this.$t('menu.menuTrain.switchTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/twoConfirmation.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/twoConfirmation.vue index 953398489..fc163055f 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/twoConfirmation.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/twoConfirmation.vue @@ -75,11 +75,6 @@ export default { return []; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userAdd.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userAdd.vue index efffdd6eb..abde06535 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userAdd.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userAdd.vue @@ -93,11 +93,6 @@ export default { return this.$t('menu.menuChildDialog.addUser'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userDelete.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userDelete.vue index c5d687e91..5dcfe1322 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userDelete.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userDelete.vue @@ -66,11 +66,6 @@ export default { return this.$t('menu.menuChildDialog.deleteUser'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userEdit.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userEdit.vue index deb7d4f8c..1ee0765f8 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userEdit.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/userEdit.vue @@ -101,11 +101,6 @@ export default { return this.$t('menu.menuChildDialog.userEditPage'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/helpAbout.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/helpAbout.vue index ea02b067f..ed22508c4 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/helpAbout.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/helpAbout.vue @@ -72,11 +72,6 @@ export default { return this.$t('menu.menuDialog.about'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/manageUser.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/manageUser.vue index 4700b6c16..759684fd3 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/manageUser.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/manageUser.vue @@ -121,11 +121,6 @@ export default { return this.$t('menu.menuDialog.userManage'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { // 非断电激活时设置初始值 diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/passwordBox.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/passwordBox.vue index 922233613..4a584361e 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/passwordBox.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/passwordBox.vue @@ -96,11 +96,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(operate) { this.model.username = ''; diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/stationControlConvert.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/stationControlConvert.vue index 52087b189..187a35af3 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/stationControlConvert.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/stationControlConvert.vue @@ -165,9 +165,6 @@ export default { }, mounted() { this.loadTableData(); - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); }, methods: { updateTableValue(controlTransfer) { diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainAdd.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainAdd.vue index 3bbd7ebb8..bdd5871fa 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainAdd.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainAdd.vue @@ -96,11 +96,6 @@ export default { return this.$t('menu.menuDialog.addPlanTrain'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainDelete.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainDelete.vue index f2ad48190..5fa8195ab 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainDelete.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainDelete.vue @@ -78,11 +78,6 @@ export default { return this.$t('menu.menuDialog.deletePlanTrain'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainTranstalet.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainTranstalet.vue index 3241e0388..5e34f4b57 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainTranstalet.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/trainTranstalet.vue @@ -95,11 +95,6 @@ export default { return this.$t('menu.menuDialog.panPlanCar'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewDevice.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewDevice.vue index 3df131035..7ee693654 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewDevice.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewDevice.vue @@ -70,7 +70,6 @@ export default { mounted() { this.$nextTick(() => { this.setDeviceDisplay(); - this.$store.dispatch('training/tipReload'); }); }, methods: { diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewName.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewName.vue index 4f5a03f5a..b5136950f 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewName.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewName.vue @@ -104,7 +104,6 @@ export default { mounted() { this.$nextTick(() => { this.setNameDisplay(); - this.$store.dispatch('training/tipReload'); }); }, methods: { diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewTrainId.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewTrainId.vue index f27437ed7..c25ca98f5 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewTrainId.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/viewTrainId.vue @@ -110,7 +110,6 @@ export default { mounted() { this.$nextTick(() => { this.setTrainDispaly(); - this.$store.dispatch('training/tipReload'); }); }, methods: { diff --git a/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/alarm.vue index 030ac7f4e..836fe3a2e 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/alarm.vue +++ b/src/jmapNew/theme/fuzhou_01/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/fuzhou_01/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/timeout.vue index 856238f4b..36cfbfc7a 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/timeout.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/timeout.vue @@ -56,11 +56,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/childDialog/confirmTrain.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/childDialog/confirmTrain.vue index cca00f197..e70bd6014 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/childDialog/confirmTrain.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/childDialog/confirmTrain.vue @@ -95,11 +95,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/standDetainTrainAll.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/standDetainTrainAll.vue index 98e8ecd9b..7f81e90f2 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/standDetainTrainAll.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/standDetainTrainAll.vue @@ -98,11 +98,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadTableData() { this.tempData = []; diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/standRunLevel.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/standRunLevel.vue index d1ce49db9..c6154a711 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/standRunLevel.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/standRunLevel.vue @@ -131,11 +131,6 @@ export default { deep: true } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected, opts) { this.tempData = []; diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/standStopTime.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/standStopTime.vue index 53d0b1b03..6de7778ac 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/standStopTime.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/standStopTime.vue @@ -137,11 +137,6 @@ export default { return this.$t('menu.stopTime'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempDate) { // 如果不是断点激活,则需要对初始值进行初始化 diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/stationCmdControl.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/stationCmdControl.vue index e3164076b..70b765c25 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/stationCmdControl.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/stationCmdControl.vue @@ -189,9 +189,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/haerbin_01/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/stationHumanControlAll.vue index ca3ebd9c4..c109556be 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/stationHumanControlAll.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/stationHumanControlAll.vue @@ -57,11 +57,6 @@ export default { return this.dialogShow ? OperationEvent.Station.humanControlALL.menu.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/stationSetRouteControlAll.vue index 23ecc9608..dab0edeec 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/stationSetRouteControlAll.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/stationSetRouteControlAll.vue @@ -71,11 +71,6 @@ export default { return this.dialogShow ? OperationEvent.Station.atsAutoControlALL.menu.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/trainCreate.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/trainCreate.vue index 8b8ecfc12..a92789546 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/trainCreate.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/trainCreate.vue @@ -86,11 +86,6 @@ export default { return this.$t('menu.settingTrain'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { if (map.trainList.length) { diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/trainDelete.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/trainDelete.vue index c4eeda2d1..a13fab8b2 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/trainDelete.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/trainDelete.vue @@ -79,11 +79,6 @@ export default { return this.$t('menu.menuTrain.deleteTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { if (map) { diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/trainEditNumber.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/trainEditNumber.vue index 8307b4383..376ad1b07 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/trainEditNumber.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/trainEditNumber.vue @@ -68,11 +68,6 @@ export default { return this.$t('menu.menuTrain.editTrainNo'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/trainMove.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/trainMove.vue index 39afcc99b..36f7445c5 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/trainMove.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/trainMove.vue @@ -130,11 +130,6 @@ export default { return this.$t('menu.menuTrain.moveTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/trainSwitch.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/trainSwitch.vue index 65700d69c..6dbc67b82 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/trainSwitch.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/trainSwitch.vue @@ -135,11 +135,6 @@ export default { return this.$t('menu.menuTrain.switchTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/haerbin_01/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/haerbin_01/menus/passiveDialog/alarm.vue index 03317eb1e..83cea6fd8 100644 --- a/src/jmapNew/theme/haerbin_01/menus/passiveDialog/alarm.vue +++ b/src/jmapNew/theme/haerbin_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/haerbin_01/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/haerbin_01/menus/passiveDialog/timeout.vue index 7b52fc5c5..a4635f698 100644 --- a/src/jmapNew/theme/haerbin_01/menus/passiveDialog/timeout.vue +++ b/src/jmapNew/theme/haerbin_01/menus/passiveDialog/timeout.vue @@ -57,11 +57,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmTrain.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmTrain.vue index 49274516f..976b5eb63 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmTrain.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/childDialog/confirmTrain.vue @@ -91,11 +91,6 @@ export default { return ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standDetainTrainAll.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standDetainTrainAll.vue index e19398aab..a289d5507 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/standDetainTrainAll.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standDetainTrainAll.vue @@ -94,11 +94,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadTableData() { this.tempData = []; diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standRunLevel.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standRunLevel.vue index d1ce49db9..c6154a711 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/standRunLevel.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standRunLevel.vue @@ -131,11 +131,6 @@ export default { deep: true } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(selected, opts) { this.tempData = []; diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/standStopTime.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/standStopTime.vue index 53d0b1b03..6de7778ac 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/standStopTime.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/standStopTime.vue @@ -137,11 +137,6 @@ export default { return this.$t('menu.stopTime'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected, tempDate) { // 如果不是断点激活,则需要对初始值进行初始化 diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/stationCmdControl.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/stationCmdControl.vue index e3164076b..70b765c25 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/stationCmdControl.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/stationCmdControl.vue @@ -189,9 +189,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/nanjing_02/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/stationHumanControlAll.vue index d4a7870fc..f3e2594ae 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/stationHumanControlAll.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/stationHumanControlAll.vue @@ -53,11 +53,6 @@ export default { return this.dialogShow ? OperationEvent.Station.humanControlALL.menu.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/stationSetRouteControlAll.vue index 69176afad..70aad0f4c 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/stationSetRouteControlAll.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/stationSetRouteControlAll.vue @@ -67,11 +67,6 @@ export default { return this.dialogShow ? OperationEvent.Station.atsAutoControlALL.menu.domId : ''; } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainCreate.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainCreate.vue index de772a3d0..3ccf4f842 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/trainCreate.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainCreate.vue @@ -82,11 +82,6 @@ export default { return this.$t('menu.settingTrain'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { if (map.trainList.length) { diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainDelete.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainDelete.vue index 45762c557..606b38c02 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/trainDelete.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainDelete.vue @@ -77,11 +77,6 @@ export default { return this.$t('menu.menuTrain.deleteTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { loadInitData(map) { if (map) { diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainEditNumber.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainEditNumber.vue index 8307b4383..376ad1b07 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/trainEditNumber.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainEditNumber.vue @@ -68,11 +68,6 @@ export default { return this.$t('menu.menuTrain.editTrainNo'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainMove.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainMove.vue index 0d2e11ba3..23b8fe294 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/trainMove.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainMove.vue @@ -129,11 +129,6 @@ export default { return this.$t('menu.menuTrain.moveTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; diff --git a/src/jmapNew/theme/nanjing_02/menus/dialog/trainSwitch.vue b/src/jmapNew/theme/nanjing_02/menus/dialog/trainSwitch.vue index fbe5a9b5d..9924dd30f 100644 --- a/src/jmapNew/theme/nanjing_02/menus/dialog/trainSwitch.vue +++ b/src/jmapNew/theme/nanjing_02/menus/dialog/trainSwitch.vue @@ -134,11 +134,6 @@ export default { return this.$t('menu.menuTrain.switchTrainId'); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate, selected) { this.dialogShow = true; @@ -168,7 +163,7 @@ export default { this.doClose(); } }).catch(() => { - EventBus.$emit('sendMsg', {message: '命令执行失败!'}); + EventBus.$emit('sendMsg', {message: '命令执行失败!'}); this.loading = false; this.doClose(); }); diff --git a/src/jmapNew/theme/nanjing_02/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/nanjing_02/menus/passiveDialog/alarm.vue index 03317eb1e..83cea6fd8 100644 --- a/src/jmapNew/theme/nanjing_02/menus/passiveDialog/alarm.vue +++ b/src/jmapNew/theme/nanjing_02/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/nanjing_02/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/nanjing_02/menus/passiveDialog/timeout.vue index 7b52fc5c5..a4635f698 100644 --- a/src/jmapNew/theme/nanjing_02/menus/passiveDialog/timeout.vue +++ b/src/jmapNew/theme/nanjing_02/menus/passiveDialog/timeout.vue @@ -57,11 +57,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.operate = operate || {}; diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/alxeEffective.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/alxeEffective.vue index 3335a31b9..aa774370c 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/alxeEffective.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmControl.vue index 988001ee4..21de3a07f 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmControl.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/childDialog/confirmSignalUnlock.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmSignalUnlock.vue index fb688667c..a2b5422be 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmSignalUnlock.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/routeSelection.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/routeSelection.vue index d27e84ecc..f7d093e7d 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/routeSelection.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/routerCommand.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/routerCommand.vue index 08d1eb977..e5607fd23 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/routerCommand.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/sectionAlxeReset.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/sectionAlxeReset.vue index d258b7ff3..ce5666925 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/sectionAlxeReset.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/standBulkBuckleTrain.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/standBulkBuckleTrain.vue index 273e6f4f2..3d64f5fad 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/standBulkBuckleTrain.vue +++ b/src/jmapNew/theme/ningbo_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/jmapNew/theme/ningbo_01/menus/dialog/stationBackStrategy.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/stationBackStrategy.vue index 6f2b46f55..f1af95fa6 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/stationBackStrategy.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/stationControl.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/stationControl.vue index f79a2eb45..623908ed2 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/stationControl.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/trainDefine.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainDefine.vue index 3cccf18f2..cc506848f 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainDefine.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/dialog/trainDelete.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainDelete.vue index ecf90c087..5a073f00c 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainDelete.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/dialog/trainMove.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainMove.vue index 9835510ec..5d6039626 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainMove.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/dialog/trainSetHead.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainSetHead.vue index a0a07a248..97b22964b 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainSetHead.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/trainSetPlan.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainSetPlan.vue index e998a17a7..4c7dd7a09 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainSetPlan.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/trainSetWork.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainSetWork.vue index 5dd137285..27933cb06 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainSetWork.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/trainSetWorkATP.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/trainSetWorkATP.vue index 91cb09afe..451bf2818 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/trainSetWorkATP.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/dialog/turnBackControl.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/turnBackControl.vue index 91129ba4f..65a964f23 100644 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/turnBackControl.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/menuBar.vue b/src/jmapNew/theme/ningbo_01/menus/menuBar.vue index c175707c4..a58940c7c 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuBar.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuBar.vue @@ -95,6 +95,7 @@ + + + diff --git a/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/twoConfirmation.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/twoConfirmation.vue index 74a72bd6e..e122f93f4 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/twoConfirmation.vue +++ b/src/jmapNew/theme/ningbo_01/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_01/menus/menuDialog/childDialog/userAdd.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userAdd.vue index c31ff3b66..f03579a10 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userAdd.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/menuDialog/childDialog/userDelete.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userDelete.vue index e62e5d148..d73e4e9b8 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userDelete.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/menuDialog/childDialog/userEdit.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userEdit.vue index 2bb23568a..137b4b562 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userEdit.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/menuDialog/detainTrainContorl.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/detainTrainContorl.vue index 7bbd277fb..a06b3c3d4 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/detainTrainContorl.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuDialog/detainTrainContorl.vue @@ -99,11 +99,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/ningbo_01/menus/menuDialog/detainTrainContorlUpDown.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/detainTrainContorlUpDown.vue index c92441f6b..9af69080a 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/detainTrainContorlUpDown.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuDialog/detainTrainContorlUpDown.vue @@ -95,11 +95,6 @@ export default { } } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { if (!this.dialogShow) { diff --git a/src/jmapNew/theme/ningbo_01/menus/menuDialog/helpAbout.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/helpAbout.vue index 9f6c97add..a7c6cd128 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/helpAbout.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/menuDialog/manageUser.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/manageUser.vue index 688ea98e2..26d331934 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/manageUser.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/menuDialog/stationControl.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/stationControl.vue index 1243fc443..baf35e28a 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/stationControl.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuDialog/stationControl.vue @@ -126,11 +126,6 @@ export default { }); } }, - mounted() { - this.$nextTick(() => { - this.$store.dispatch('training/tipReload'); - }); - }, methods: { doShow(operate) { this.message = ''; diff --git a/src/jmapNew/theme/ningbo_01/menus/menuDialog/trainAdd.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/trainAdd.vue index a3778e533..b9972904c 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/trainAdd.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/menuDialog/trainDelete.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/trainDelete.vue index c2250ed4b..f67e2b02c 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/trainDelete.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/menuDialog/trainTranstalet.vue b/src/jmapNew/theme/ningbo_01/menus/menuDialog/trainTranstalet.vue index 813c752ac..d51571411 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuDialog/trainTranstalet.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/menuStationStand.vue b/src/jmapNew/theme/ningbo_01/menus/menuStationStand.vue index 5351e65fb..a5aa3ae4c 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuStationStand.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuStationStand.vue @@ -253,7 +253,7 @@ export default { }, // 批量扣车 setBulkBuckleTrain() { - commitOperate(menuOperate.StationStand.setBulkBuckleTrain, {}, 0).then(({valid, operate})=>{ + commitOperate(menuOperate.StationStand.setBulkBuckleTrain, {standCode:this.selected.code}, 0).then(({valid, operate})=>{ if (valid) { this.$refs.standBulkBuckleTrain.doShow(operate, this.selected); } @@ -261,7 +261,7 @@ export default { }, // 批量取消扣车 cancelBulkBuckleTrain() { - commitOperate(menuOperate.StationStand.cancelBulkBuckleTrain, {}, 0).then(({valid, operate})=>{ + commitOperate(menuOperate.StationStand.cancelBulkBuckleTrain, {standCode:this.selected.code}, 0).then(({valid, operate})=>{ if (valid) { this.$refs.standBulkBuckleTrain.doShow(operate, this.selected); } diff --git a/src/jmapNew/theme/ningbo_01/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/ningbo_01/menus/passiveDialog/alarm.vue index 46df0698c..ef7b53afb 100644 --- a/src/jmapNew/theme/ningbo_01/menus/passiveDialog/alarm.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/menus/passiveDialog/timeout.vue b/src/jmapNew/theme/ningbo_01/menus/passiveDialog/timeout.vue index e128fd830..6f206a533 100644 --- a/src/jmapNew/theme/ningbo_01/menus/passiveDialog/timeout.vue +++ b/src/jmapNew/theme/ningbo_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/ningbo_01/operationConfig.js b/src/jmapNew/theme/ningbo_01/operationConfig.js index b19dab2b1..ff1387731 100644 --- a/src/jmapNew/theme/ningbo_01/operationConfig.js +++ b/src/jmapNew/theme/ningbo_01/operationConfig.js @@ -38,7 +38,7 @@ export default { trainingType: 'Stand', productTypes: ['02'], // 产品类型 01 现地 02 行调 stepVOList: [ - { deviceType: '06', orderNum: 1, operateCode: '515', tip: '鼠标右键菜单选择【批量扣车】' }, + { deviceType: '06', orderNum: 1, operateCode: '515', tip: '鼠标右键菜单选择【批量扣车】'}, { deviceType: '06', orderNum: 2, operateCode: '515', tip: '选择部分站台后,鼠标左键点击【确定】按钮' } ] }, @@ -52,7 +52,7 @@ export default { trainingType: 'Stand', productTypes: ['02'], // 产品类型 01 现地 02 行调 stepVOList: [ - { deviceType: '06', orderNum: 1, operateCode: '516', tip: '鼠标右键菜单选择【取消批量扣车】' }, + { deviceType: '06', orderNum: 1, operateCode: '516', tip: '鼠标右键菜单选择【取消批量扣车】'}, { deviceType: '06', orderNum: 2, operateCode: '516', tip: '选择部分站台后,鼠标左键点击【确定】按钮' } ] }, @@ -114,21 +114,21 @@ export default { { deviceType: '06', orderNum: 2, operateCode: '503', tip: '鼠标左键点击【确定】按钮' } ] }, - { - maxDuration: 15, - minDuration: 8, - operateType: 'Stand_Set_Park_Time', - skinCode: '06', - trainingName: '设置停站时间({10}-{12}站台)', - trainingRemark: '设置停站时间(自动, 一直有效)', - trainingType: 'Stand', - productTypes: ['02'], - stepVOList: [ - { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【设置停站时间】' }, - { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【自动】', val: '01' }, - { deviceType: '06', orderNum: 3, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } - ] - }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Stand_Set_Park_Time', + // skinCode: '06', + // trainingName: '设置停站时间({10}-{12}站台)', + // trainingRemark: '设置停站时间(自动, 一直有效)', + // trainingType: 'Stand', + // productTypes: ['02'], + // stepVOList: [ + // { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【设置停站时间】' }, + // { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【自动】', val: '01' }, + // { deviceType: '06', orderNum: 3, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } + // ] + // }, { maxDuration: 15, minDuration: 8, @@ -142,7 +142,8 @@ export default { { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【设置停站时间】' }, { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【全人工】', val: '02' }, { deviceType: '06', orderNum: 3, operateCode: '5094', tip: '输入或鼠标点击,调整为【20】', val: '20' }, - { deviceType: '06', orderNum: 4, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } + { deviceType: '06', orderNum: 4, operateCode: '5093', tip: '鼠标左键点击,选择【一直有效】', val: 'true' }, + { deviceType: '06', orderNum: 5, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } ] }, { @@ -158,8 +159,7 @@ export default { { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【设置停站时间】' }, { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【全人工】', val: '02' }, { deviceType: '06', orderNum: 3, operateCode: '5094', tip: '输入或鼠标点击,调整为【20】', val: '20' }, - { deviceType: '06', orderNum: 4, operateCode: '5093', tip: '鼠标左键点击,选择【一次有效】', val: 'false' }, - { deviceType: '06', orderNum: 5, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } + { deviceType: '06', orderNum: 4, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } ] }, { @@ -179,22 +179,22 @@ export default { { deviceType: '06', orderNum: 5, operateCode: '510', tip: '鼠标左键点击【确认】按钮' } ] }, - { - maxDuration: 15, - minDuration: 8, - operateType: 'Stand_Set_Run_Time', - skinCode: '06', - trainingName: '设置运行等级({10}-{12} 站台)', - trainingRemark: '设置运行等级(设置区间 运行等级自动,一直有效)', - trainingType: 'Stand', - productTypes: ['02'], - stepVOList: [ - { deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【设置运行等级】' }, - { deviceType: '06', orderNum: 2, operateCode: '5104', tip: '鼠标左键点击,选择【自动】', val: '0' }, - { deviceType: '06', orderNum: 3, operateCode: '5103', tip: '鼠标左键点击,选择【一直有效】', val: 'true' }, - { deviceType: '06', orderNum: 4, operateCode: '510', tip: '鼠标左键点击【确认】按钮' } - ] - }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Stand_Set_Run_Time', + // skinCode: '06', + // trainingName: '设置运行等级({10}-{12} 站台)', + // trainingRemark: '设置运行等级(设置区间 运行等级自动,一直有效)', + // trainingType: 'Stand', + // productTypes: ['02'], + // stepVOList: [ + // { deviceType: '06', orderNum: 1, operateCode: '510', tip: '鼠标右键菜单选择【设置运行等级】' }, + // { deviceType: '06', orderNum: 2, operateCode: '5104', tip: '鼠标左键点击,选择【自动】', val: '0' }, + // { deviceType: '06', orderNum: 3, operateCode: '5103', tip: '鼠标左键点击,选择【一直有效】', val: 'true' }, + // { deviceType: '06', orderNum: 4, operateCode: '510', tip: '鼠标左键点击【确认】按钮' } + // ] + // }, { maxDuration: 15, minDuration: 8, @@ -902,15 +902,16 @@ export default { minDuration: 8, operateType: 'Station_Set_Turn_Back_Strategy', skinCode: '06', - trainingName: '设置折返策略({1})({折返策略})', + trainingName: '设置折返策略({1})({30})', trainingRemark: '设置折返策略', trainingType: 'Station', - productTypes: ['01'], + productTypes: ['02'], stepVOList: [ - { deviceType: '', orderNum: 1, operateCode: '', tip: '鼠标右键菜单选择【设置折返策略】'}, - { deviceType: '', orderNum: 2, operateCode: '', tip: '选择折返策略' }, - { deviceType: '', orderNum: 3, operateCode: '', tip: '鼠标左键点击【确定】' } - ] + { deviceType: '05', orderNum: 1, operateCode: '511', tip: '鼠标右键菜单选择【设置折返策略】'}, + { deviceType: '05', orderNum: 2, operateCode: '5111', tip: '选择折返策略【{30}】', val: '2' }, + { deviceType: '05', orderNum: 3, operateCode: '5112', tip: '鼠标左键点击【确定】' } + ], + config:{tbStrategyBT:true} }, { maxDuration: 15, diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/allocateTime.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/allocateTime.vue index fb1754b7e..c9973bdff 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/allocateTime.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/allocateTime.vue @@ -2,11 +2,11 @@ @@ -49,7 +49,7 @@ 当前值 - + @@ -129,25 +129,25 @@ 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; + }, domIdChoose() { - return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' - }, - domIdChoose1() { - return this.dialogShow ? OperationEvent.Command.common.choose1.domId : '' - }, + return this.dialogShow ? OperationEvent.Command.common.choose.domId : ''; + }, + domIdChoose1() { + return this.dialogShow ? OperationEvent.Command.common.choose1.domId : ''; + }, domIdConfirm() { return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; - }, - domIdClose() { + }, + domIdClose() { return this.dialogShow ? OperationEvent.Command.common.close.domId : ''; }, domIdApply() { return this.dialogShow ? OperationEvent.Command.common.apply.domId : ''; - }, + }, title() { return '分配停站时间'; } @@ -177,7 +177,7 @@ export default { // 如果不是断点激活,而是第一次显示,则需要设置初始值 this.dialogShow = true; this.$nextTick(function () { - this.$refs.table.setCurrentRow(); + this.$refs.table.setCurrentRow(); this.$store.dispatch('training/emitTipFresh'); }); }, @@ -188,15 +188,15 @@ export default { this.$store.dispatch('training/emitTipFresh'); }, commit(isClose = false) { - const step = { + const step = { over: true, cmdType: CMD.Stand.CMD_STAND_SET_PARK_TIME, - operation: isClose? OperationEvent.Command.common.confirm.operation: OperationEvent.Command.common.apply.operation, + operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation, param: { - standCode: this.selected.code, - parkingTime: this.currentTime, - parkingAlwaysValid: false - } + standCode: this.selected.code, + parkingTime: this.currentTime, + parkingAlwaysValid: false + } }; this.$store.dispatch('training/nextNew', step).then(({ valid }) => { @@ -207,40 +207,40 @@ export default { }).catch((error) => { isClose && this.doClose(); this.$refs.noticeInfo.doShow(); - }); - }, + }); + }, handleCurrentChange(val) { - if (!val) { return; } + if (!val) { return; } const step = { - code: val.code, + code: val.code, operation: OperationEvent.Command.common.choose.operation, val: val.code - }; + }; this.$store.dispatch('training/nextNew', step).then(({ valid }) => { if (valid) { - this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); - this.$store.dispatch('menuOperation/setSelected', {device: val}); + this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); + this.$store.dispatch('menuOperation/setSelected', {device: val}); } }).catch(() => { this.$refs.noticeInfo.doShow(); - }); - }, - handleTimeChange(val) { - if (!val) { return; } + }); + }, + handleTimeChange(val) { + if (!val) { return; } const step = { operation: OperationEvent.Command.common.choose1.operation, val: val }; this.$store.dispatch('training/nextNew', step).then(({ valid }) => { if (valid) { - this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); - this.currentTime = val; + this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); + this.currentTime = val; } }).catch(() => { this.$refs.noticeInfo.doShow(); - }); - }, + }); + }, getParkingTime(code) { const stand = this.$store.getters['map/getDeviceByCode'](code); return stand.parkingTime; 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/scripts/ProjectConfig.js b/src/scripts/ProjectConfig.js index c613ac6c7..c63275bcf 100644 --- a/src/scripts/ProjectConfig.js +++ b/src/scripts/ProjectConfig.js @@ -207,7 +207,7 @@ export const loginInfo = { titleDistance: '-150px', navigationLogoWidth: '40px', navigationMarginLeft: '60px', - systemTYpe: '011' + systemType: '011' }, heb: { title: '城市轨道交通综合行车模拟仿真系统V1.0', diff --git a/src/scripts/cmdPlugin/ValidateHandler.js b/src/scripts/cmdPlugin/ValidateHandler.js index 94ed02796..82707a766 100644 --- a/src/scripts/cmdPlugin/ValidateHandler.js +++ b/src/scripts/cmdPlugin/ValidateHandler.js @@ -30,9 +30,9 @@ class ValidateHandler { judge (operate) { const steps = Handler.getSteps(); const order = Handler.getOrder(); - let valid = false; + let valid = false; - // console.log(operate, steps[order]) + // console.log(operate, steps[order]) if (operate.over && steps.length == 1) { // 右键菜单直接发送校验 if (operate && steps[0] && operate.code == steps[0].code && 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'); - }, - /** * 更新偏移位置车站 */ diff --git a/src/views/lesson/trainingRule/list.vue b/src/views/lesson/trainingRule/list.vue index dbe44562f..44b25b666 100644 --- a/src/views/lesson/trainingRule/list.vue +++ b/src/views/lesson/trainingRule/list.vue @@ -5,11 +5,6 @@ - - - {{ $t('global.back') }} - - @@ -42,6 +37,7 @@ export default { queryForm: { labelWidth: '140px', reset: true, + leftSpan: 16, queryObject: { trainingType: { type: 'select', @@ -145,7 +141,8 @@ export default { ], actions: [ { text: this.$t('global.add'), handler: this.handleAdd }, - { text: this.$t('lesson.generation'), handler: this.handleBatchAdd} + { text: this.$t('lesson.generation'), handler: this.handleBatchAdd}, + { text: this.$t('global.back'), handler: this.turnback } ] }, currentModel: {} diff --git a/src/views/lesson/trainingmanage/index.vue b/src/views/lesson/trainingmanage/index.vue index 4ed206a4d..6da858150 100644 --- a/src/views/lesson/trainingmanage/index.vue +++ b/src/views/lesson/trainingmanage/index.vue @@ -1,11 +1,6 @@ - - - {{ $t('global.back') }} - - @@ -136,7 +131,8 @@ export default { } ], actions: [ - { text: this.$t('lesson.generateTraining'), btnCode: 'employee_auto', handler: this.autoMaticTrainging } + { text: this.$t('lesson.generateTraining'), btnCode: 'employee_auto', handler: this.autoMaticTrainging }, + { text: this.$t('global.back'), handler: this.turnback } ] }, @@ -189,14 +185,14 @@ export default { interCheckGenerateStatus() { createAllTrainingList(this.$route.query.mapId, false).then((data)=>{ if (data.data) { - this.queryList.actions.pop(); - this.queryList.actions.push({ text: this.$t('lesson.trainingGenerating'), btnCode: 'employee_auto', handler: this.autoMaticTrainging, disabled:true }); + this.queryList.actions.shift(); + this.queryList.actions.unshift({ text: this.$t('lesson.trainingGenerating'), btnCode: 'employee_auto', handler: this.autoMaticTrainging, disabled:true }); this.isInGennerate = true; this.queryList.data = []; this.queryList.total = 0; } else { - this.queryList.actions.pop(); - this.queryList.actions.push({ text: this.$t('lesson.generateTraining'), btnCode: 'employee_auto', handler: this.autoMaticTrainging, disabled:false }); + this.queryList.actions.shift(); + this.queryList.actions.unshift({ text: this.$t('lesson.generateTraining'), btnCode: 'employee_auto', handler: this.autoMaticTrainging, disabled:false }); if (this.isInGennerate) { this.isInGennerate = false; this.reloadTable(); @@ -293,8 +289,8 @@ export default { if (action === 'confirm') { instance.confirmButtonLoading = true; // instance.confirmButtonText = '生成中...'; - this.queryList.actions.pop(); - this.queryList.actions.push({ text: this.$t('lesson.trainingGenerating'), btnCode: 'employee_auto', handler: this.autoMaticTrainging, disabled:true }); + this.queryList.actions.shift(); + this.queryList.actions.unshift({ text: this.$t('lesson.trainingGenerating'), btnCode: 'employee_auto', handler: this.autoMaticTrainging, disabled:true }); try { const data = await createAllTrainingList(this.$route.query.mapId, true); this.isInGennerate = true;