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 25e224a51..d4d96094f 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue
@@ -1,355 +1,370 @@
-
-
-
- {{message}}
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
+
+
+
+ {{ message }}
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue
index 08b7b789a..5c4c5001a 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue
@@ -1,223 +1,214 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
+
\ No newline at end of file
+};
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standStopTime.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standStopTime.vue
index df28e585e..3ee954e29 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/standStopTime.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/standStopTime.vue
@@ -1,238 +1,253 @@
-
-
-
-
-
-
-
-
-
-
-
-
模式
-
-
-
- 自动
-
- 全人工
-
-
-
-
秒
-
-
-
-
有效次数
-
-
- 一次有效
- 一直有效
-
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
模式
+
+
+
+ 自动
+
+ 全人工
+
+
+
秒
+
+
+
+
有效次数
+
+
+ 一次有效
+ 一直有效
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
+
\ No newline at end of file
+};
+
diff --git a/src/jmapNew/theme/beijing_01/menus/menuSignal.vue b/src/jmapNew/theme/beijing_01/menus/menuSignal.vue
index c06da16fb..e56aeeb73 100644
--- a/src/jmapNew/theme/beijing_01/menus/menuSignal.vue
+++ b/src/jmapNew/theme/beijing_01/menus/menuSignal.vue
@@ -207,15 +207,17 @@ export default {
setStoppage() {
const operate = {
start: true,
- send: true,
- code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.stoppage.menu.operation
+ code: `${this.selected.code}`,
+ operation: OperationEvent.Signal.stoppage.menu.operation,
+ cmdType: CMD.Signal.CMD_SIGNAL_ADD_FAULT,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
+
};
mouseCancelState(this.selected);
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
} else {
@@ -229,15 +231,16 @@ export default {
cancelStoppage() {
const operate = {
start: true,
- send: true,
code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.cancelStoppage.menu.operation
+ cmdType: CMD.Signal.CMD_SIGNAL_REMOVE_FAULT,
+ operation: OperationEvent.Signal.cancelStoppage.menu.operation,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
};
mouseCancelState(this.selected);
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
} else {
@@ -251,14 +254,17 @@ export default {
arrangementRoute() {
const operate = {
start: true,
- send: true,
+ // send: true,
code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.arrangementRoute.menu.operation
+ // type: MapDeviceType.Signal.type,
+ // label: MapDeviceType.Signal.label,
+ operation: OperationEvent.Signal.arrangementRoute.menu.operation,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
};
- this.$store.dispatch('training/next', operate).then(({ valid, response }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid, response }) => {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
if (valid) {
var tempData = null;
@@ -276,63 +282,65 @@ export default {
const operate = {
start: true,
code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.cancelTrainRoute.menu.operation
+ operation: OperationEvent.Signal.cancelTrainRoute.menu.operation,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
if (valid) {
this.$refs.routeControl.doShow(operate, this.selected);
}
});
},
- // 信号封锁
- lock() {
- const operate = {
- start: true,
- send: true,
- code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.lock.menu.operation
- };
+ // // 信号封锁
+ // lock() {
+ // const operate = {
+ // start: true,
+ // send: true,
+ // code: this.selected.code,
+ // type: MapDeviceType.Signal.type,
+ // label: MapDeviceType.Signal.label,
+ // operation: OperationEvent.Signal.lock.menu.operation
+ // };
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
- if (valid) {
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
- this.$refs.routeLock.doShow(operate.operation, this.selected);
- }
- }).catch(() => {
- this.$refs.noticeInfo.doShow(operate);
- });
- },
- // 信号解封
- unlock() {
- const operate = {
- start: true,
- code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.unlock.menu.operation
- };
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
- if (valid) {
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
- this.$refs.routeCmdControl.doShow(operate, this.selected);
- }
- });
- },
+ // this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
+ // if (valid) {
+ // this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ // this.$refs.routeLock.doShow(operate.operation, this.selected);
+ // }
+ // }).catch(() => {
+ // this.$refs.noticeInfo.doShow(operate);
+ // });
+ // },
+ // // 信号解封
+ // unlock() {
+ // const operate = {
+ // start: true,
+ // code: this.selected.code,
+ // type: MapDeviceType.Signal.type,
+ // label: MapDeviceType.Signal.label,
+ // operation: OperationEvent.Signal.unlock.menu.operation
+ // };
+ // this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ // if (valid) {
+ // this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ // this.$refs.routeCmdControl.doShow(operate, this.selected);
+ // }
+ // });
+ // },
// 信号重开
reopenSignal() {
const operate = {
start: true,
code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.reopenSignal.menu.operation
+ operation: OperationEvent.Signal.reopenSignal.menu.operation,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.routeControl.doShow(operate, this.selected);
@@ -344,11 +352,12 @@ export default {
const operate = {
start: true,
code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.signalClose.menu.operation
+ operation: OperationEvent.Signal.signalClose.menu.operation,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.routeControl.doShow(operate, this.selected);
@@ -359,11 +368,14 @@ export default {
humanControl() {
const operate = {
start: true,
- send: true,
+ // send: true,
code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.humanControl.menu.operation
+ // type: MapDeviceType.Signal.type,
+ // label: MapDeviceType.Signal.label,
+ operation: OperationEvent.Signal.humanControl.menu.operation,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
};
this.$store.dispatch('training/next', operate).then(({ valid, response }) => {
if (valid) {
@@ -380,11 +392,14 @@ export default {
atsAutoControl() {
const operate = {
start: true,
- send: true,
+ // send: true,
code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.atsAutoControl.menu.operation
+ // type: MapDeviceType.Signal.type,
+ // label: MapDeviceType.Signal.label,
+ operation: OperationEvent.Signal.atsAutoControl.menu.operation,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
};
this.$store.dispatch('training/next', operate).then(({ valid, response }) => {
if (valid) {
@@ -401,11 +416,14 @@ export default {
detail() {
const operate = {
start: true,
- send: true,
+ // send: true,
code: this.selected.code,
- type: MapDeviceType.Signal.type,
- label: MapDeviceType.Signal.label,
- operation: OperationEvent.Signal.detail.menu.operation
+ // type: MapDeviceType.Signal.type,
+ // label: MapDeviceType.Signal.label,
+ operation: OperationEvent.Signal.detail.menu.operation,
+ param: {
+ Signal_Code: `${this.selected.code}`
+ }
};
this.$store.dispatch('training/next', operate).then(({ valid, response }) => {
if (valid) {