diff --git a/src/jmapNew/shape/Signal/index.js b/src/jmapNew/shape/Signal/index.js
index 4bcbd7bdc..2eff0fbc2 100644
--- a/src/jmapNew/shape/Signal/index.js
+++ b/src/jmapNew/shape/Signal/index.js
@@ -1,7 +1,6 @@
/*
* 信号机
*/
-
import ESigPost from './ESigPost';
import ESigLamp from './ESigLamp';
import ESigAuto from './ESigAuto';
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue
index 97c59122f..3e3e986fb 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue
@@ -36,13 +36,13 @@
\ No newline at end of file
+};
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/routeHandControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/routeHandControl.vue
index 5422480fa..d4d6e3abb 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/routeHandControl.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/routeHandControl.vue
@@ -80,7 +80,7 @@ import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
import OperationHandler from '@/scripts/cmdPlugin/OperationHandler';
import { mouseCancelState } from '../utils/menuItemStatus';
import NoticeInfo from './childDialog/childDialog/noticeInfo';
-import CMD from '@/scripts/cmdPlugin/CommandEnum';
+import {menuOperate, commitOperate} from '../utils/menuOperate';
export default {
name: 'RouteHandControl',
@@ -278,47 +278,24 @@ export default {
},
// 进路交人工控
humanControl() {
- const operate = {
- over: true,
- operation: OperationEvent.Signal.humanControl.menu.operation,
- cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING,
- param:{
- routeCodeList:this.selection
- }
- };
this.loading = true;
- this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
- this.loading = false;
- if (valid) {
- this.doClose();
- }
+ commitOperate(menuOperate.Signal.humanControl, {routeCodeList:this.selection}, 2).then((data)=>{
+ this.doClose();
}).catch((error) => {
this.loading = false;
this.doClose();
- this.$refs.noticeInfo.doShow(operate, error.message);
+ this.$refs.noticeInfo.doShow({}, error.message);
});
},
// 进路交自动控
atsAutoControl() {
- const operate = {
- over: true,
- operation: OperationEvent.Signal.atsAutoControl.menu.operation,
- cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING,
- param:{
- routeCodeList:this.selection
- }
- };
-
this.loading = true;
- this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
- this.loading = false;
- if (valid) {
- this.doClose();
- }
+ commitOperate(menuOperate.Signal.atsAutoControl, {routeCodeList:this.selection}, 2).then((data)=>{
+ this.doClose();
}).catch((error) => {
this.loading = false;
this.doClose();
- this.$refs.noticeInfo.doShow(operate, error.message);
+ this.$refs.noticeInfo.doShow({}, error.message);
});
},
cancel() {
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue b/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue
index c192bb5b6..acf3dee42 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue
@@ -61,11 +61,11 @@
\ No newline at end of file
+};
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standBackStrategy.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standBackStrategy.vue
index b9e760881..12907020b 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/standBackStrategy.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/standBackStrategy.vue
@@ -1,41 +1,58 @@
-
- 变通节点
-
-
-
- 当前变通策略
-
-
-
- 变通策略选项
-
-
-
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
-
+
+ 变通节点
+
+
+
+ 当前变通策略
+
+
+
+ 变通策略选项
+
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
+
\ No newline at end of file
+};
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standControl.vue
index c085f2079..cf415927c 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/standControl.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/standControl.vue
@@ -110,10 +110,11 @@