-
+
@@ -11,7 +11,7 @@
diff --git a/src/jmapNew/theme/xian_01/menus/dialog/routeHandControl.vue b/src/jmapNew/theme/xian_01/menus/dialog/routeHandControl.vue
deleted file mode 100644
index c9c74bd1b..000000000
--- a/src/jmapNew/theme/xian_01/menus/dialog/routeHandControl.vue
+++ /dev/null
@@ -1,335 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
- 全选
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
-
-
-
-
diff --git a/src/jmapNew/theme/xian_01/menus/menuSignal.vue b/src/jmapNew/theme/xian_01/menus/menuSignal.vue
index 1c7da0c86..d13c54a5f 100644
--- a/src/jmapNew/theme/xian_01/menus/menuSignal.vue
+++ b/src/jmapNew/theme/xian_01/menus/menuSignal.vue
@@ -1,12 +1,12 @@
@@ -17,8 +17,8 @@ import RouteControl from '@/jmapNew/theme/components/menus/dialog/routeControl';
import RouteSelection from './dialog/routeSelection';
import RouteLock from './dialog/routeLock';
import RouteCmdControl from './dialog/routeCmdControl';
-import RouteHandControl from './dialog/routeHandControl';
-import RouteDetail from './dialog/routeDetail';
+import RouteHandControl from '@/jmapNew/theme/components/menus/dialog/routeHandControl';
+import RouteDetail from '@/jmapNew/theme/components/menus/dialog/routeDetail';
import NoticeInfo from './dialog/childDialog/childDialog/noticeInfo';
import CMD from '@/scripts/cmdPlugin/CommandEnum';
import MenuContextHandler from '@/scripts/cmdPlugin/MenuContextHandler';
@@ -49,6 +49,7 @@ export default {
data() {
return {
menu: [],
+ systemName:'xian-01__systerm',
menuNormal: {
Local: [
{
From 4c990697525b4d1d207247dc7bdfeff98703f039 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Thu, 18 Jun 2020 14:19:13 +0800
Subject: [PATCH 09/22] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E4=BB=A3=E7=A0=81?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/jmapNew/theme/haerbin_01/menus/dialog/routeLock.vue | 2 +-
src/views/scriptManage/display/tipScriptRecordNew.vue | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/routeLock.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/routeLock.vue
index 22f36f24c..9b1b803be 100644
--- a/src/jmapNew/theme/haerbin_01/menus/dialog/routeLock.vue
+++ b/src/jmapNew/theme/haerbin_01/menus/dialog/routeLock.vue
@@ -86,7 +86,7 @@ export default {
return this.dialogShow ? OperationEvent.Signal.lock.menu.domId : '';
},
title() {
- return this.$t('menu.blockSignalButton');
+ return '封锁信号';
}
},
mounted() {
diff --git a/src/views/scriptManage/display/tipScriptRecordNew.vue b/src/views/scriptManage/display/tipScriptRecordNew.vue
index f81c2984d..14afc5c83 100644
--- a/src/views/scriptManage/display/tipScriptRecordNew.vue
+++ b/src/views/scriptManage/display/tipScriptRecordNew.vue
@@ -89,6 +89,9 @@ export default {
},
'$store.state.scriptRecord.simulationPause': function(val) {
this.isPause = !(this.$store.state.scriptRecord.simulationPause);
+ },
+ '$store.state.map.runPlanStatus':function (val) {
+ this.initData();
}
},
beforeDestroy() {
From 7b9fe40dbdd3a3c016069e70197f9178d359051b Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Thu, 18 Jun 2020 14:36:23 +0800
Subject: [PATCH 10/22] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E4=BB=A3=E7=A0=81?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/scriptManage/display/tipScriptRecordNew.vue | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/views/scriptManage/display/tipScriptRecordNew.vue b/src/views/scriptManage/display/tipScriptRecordNew.vue
index 14afc5c83..4f07fbe55 100644
--- a/src/views/scriptManage/display/tipScriptRecordNew.vue
+++ b/src/views/scriptManage/display/tipScriptRecordNew.vue
@@ -91,6 +91,7 @@ export default {
this.isPause = !(this.$store.state.scriptRecord.simulationPause);
},
'$store.state.map.runPlanStatus':function (val) {
+ debugger;
this.initData();
}
},
@@ -105,6 +106,7 @@ export default {
this.backDisabled = response.data.bgSet;
this.mapLocation = response.data.mapLocation;
this.$store.dispatch('scriptRecord/updateBgSet', response.data.bgSet);
+ if (response.data.bgSet) { this.$store.dispatch('map/setRunPlanStatus', true); }
});
},
methods:{
@@ -242,6 +244,7 @@ export default {
this.$refs['getAction'].loadInitData();
this.initData();
this.memberId = '';
+ this.$store.dispatch('map/setRunPlanStatus', false);
this.$store.dispatch('training/setPrdType', '01');
// this.initAutoSaveScript();
this.$store.dispatch('scriptRecord/updateBgSet', false);
From 04b9f6062ad8b538d9d2eb5278d38e5217ca455f Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Thu, 18 Jun 2020 14:38:33 +0800
Subject: [PATCH 11/22] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=96=AD=E7=82=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/scriptManage/display/tipScriptRecordNew.vue | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/views/scriptManage/display/tipScriptRecordNew.vue b/src/views/scriptManage/display/tipScriptRecordNew.vue
index 4f07fbe55..b889c4eeb 100644
--- a/src/views/scriptManage/display/tipScriptRecordNew.vue
+++ b/src/views/scriptManage/display/tipScriptRecordNew.vue
@@ -91,7 +91,6 @@ export default {
this.isPause = !(this.$store.state.scriptRecord.simulationPause);
},
'$store.state.map.runPlanStatus':function (val) {
- debugger;
this.initData();
}
},
From 76eed898a50834a73c199f49b001e4d04ab4df8f Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Thu, 18 Jun 2020 14:47:00 +0800
Subject: [PATCH 12/22] =?UTF-8?q?=E7=A6=8F=E5=B7=9E=E6=93=8D=E4=BD=9C?=
=?UTF-8?q?=E5=AE=9A=E4=B9=89=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../menus/childDialog/confirmControl.vue | 4 +--
.../components/menus/dialog/routeControl.vue | 24 +++++++++-----
.../childDialog/confirmControlSpeed.vue | 4 +--
.../menus/dialog/routeHandControl.vue | 4 +--
.../fuzhou_01/menus/dialog/routeSelection.vue | 7 +++-
.../fuzhou_01/menus/dialog/sectionControl.vue | 1 -
.../menus/dialog/speedCmdControl.vue | 1 +
src/jmapNew/theme/fuzhou_01/menus/menuBar.vue | 26 +++++++--------
.../childDialog/twoConfirmation.vue | 8 ++++-
.../menus/menuDialog/passwordBox.vue | 5 +--
.../menuDialog/stationControlConvert.vue | 1 -
.../theme/fuzhou_01/menus/menuSection.vue | 1 -
.../fuzhou_01/menus/passiveDialog/alarm.vue | 33 ++++++++++---------
.../fuzhou_01/menus/utils/menuOperate.js | 18 +++++++++-
.../theme/fuzhou_01/operationConfig.js | 24 +++++++-------
src/scripts/cmdPlugin/ValidateHandler.js | 23 +++++++++----
16 files changed, 112 insertions(+), 72 deletions(-)
diff --git a/src/jmapNew/theme/components/menus/childDialog/confirmControl.vue b/src/jmapNew/theme/components/menus/childDialog/confirmControl.vue
index 8ac97a9bd..b09de6361 100644
--- a/src/jmapNew/theme/components/menus/childDialog/confirmControl.vue
+++ b/src/jmapNew/theme/components/menus/childDialog/confirmControl.vue
@@ -156,7 +156,7 @@ export default {
signalClose() {
const operate = {
over: true,
- operation: this.operation,
+ operation: OperationEvent.Signal.signalClose.confirm.operation,
cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_SIGNAL
};
this.sendCommand(operate);
@@ -185,7 +185,7 @@ export default {
reopenSignal() {
const operate = {
over: true,
- operation: this.operation,
+ operation: OperationEvent.Signal.reopenSignal.confirm.operation,
cmdType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL
};
diff --git a/src/jmapNew/theme/components/menus/dialog/routeControl.vue b/src/jmapNew/theme/components/menus/dialog/routeControl.vue
index 8be050e37..e10ab37e2 100644
--- a/src/jmapNew/theme/components/menus/dialog/routeControl.vue
+++ b/src/jmapNew/theme/components/menus/dialog/routeControl.vue
@@ -183,16 +183,24 @@ export default {
this.sendCommand(menuOperate.Signal.cancelTrainRoute);
break;
case 'fuzhou-01__systerm':
- this.sendCommandNext(menuOperate.Signal.cancelTrainRoute).then(operate => {
- operate['messages'] = [this.$t('tip.signalModeToManualModeTipPrefix') + this.signalName + this.$t('tip.signalModeToManualModeTipSuffix')];
- this.$refs.confirmControl.doShow(operate);
- });
+ if (this.$store.state.training.prdType === '01') {
+ this.sendCommand(menuOperate.Signal.cancelTrainRoute);
+ } else if (this.$store.state.training.prdType === '02') {
+ this.sendCommandNext(menuOperate.Signal.cancelTrainRoute).then(operate => {
+ operate['messages'] = [this.$t('tip.signalModeToManualModeTipPrefix') + this.signalName + this.$t('tip.signalModeToManualModeTipSuffix')];
+ this.$refs.confirmControl.doShow(operate);
+ });
+ }
break;
case 'xian-01__systerm':
- this.sendCommandNext(menuOperate.Signal.cancelTrainRoute).then(operate => {
- operate['messages'] = `取消以信号机${this.selected.name}为始端的进路,该进路即将由自动信号模式转为人工模式!`;
- this.$refs.confirmControl.doShow(operate);
- });
+ if (this.$store.state.training.prdType === '01') {
+ this.sendCommand(menuOperate.Signal.cancelTrainRoute);
+ } else if (this.$store.state.training.prdType === '02') {
+ this.sendCommandNext(menuOperate.Signal.cancelTrainRoute).then(operate => {
+ operate['messages'] = `取消以信号机${this.selected.name}为始端的进路,该进路即将由自动信号模式转为人工模式!`;
+ this.$refs.confirmControl.doShow(operate);
+ });
+ }
break;
default:
this.sendCommand(menuOperate.Signal.cancelTrainRoute);
diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmControlSpeed.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmControlSpeed.vue
index a7dbc79db..6aba03407 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmControlSpeed.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/confirmControlSpeed.vue
@@ -104,7 +104,7 @@ export default {
}
this.loading = true;
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
this.loading = false;
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
if (valid) {
@@ -121,7 +121,7 @@ export default {
operation: OperationEvent.Command.cancel.menu.operation
};
- 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.$emit('setOperate', { step: 0, success: false });
diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeHandControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeHandControl.vue
index e1904156d..75952e2cf 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeHandControl.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeHandControl.vue
@@ -257,7 +257,7 @@ export default {
// 进路交人工控
humanControl() {
this.loading = true;
- commitOperate(menuOperate.Signal.humanControl, {routeCodeList:this.selection}, 2).then(({valid})=>{
+ commitOperate(menuOperate.Signal.humanControl, {routeCodeList:this.selection}, 2, `${this.selection[0]}`).then(({valid})=>{
this.loading = false;
if (valid) {
this.doClose();
@@ -271,7 +271,7 @@ export default {
// 进路交自动控
atsAutoControl() {
this.loading = true;
- commitOperate(menuOperate.Signal.atsAutoControl, {routeCodeList:this.selection}, 2).then(({valid})=>{
+ commitOperate(menuOperate.Signal.atsAutoControl, {routeCodeList:this.selection}, 2, `${this.selection[0]}`).then(({valid})=>{
this.loading = false;
if (valid) {
this.doClose();
diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeSelection.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeSelection.vue
index 2ea1016a7..bd5af1dcb 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/dialog/routeSelection.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/routeSelection.vue
@@ -227,9 +227,14 @@ export default {
commit() {
if (this.row && this.row.canSetting) {
this.loading = true;
- commitOperate(menuOperate.Signal.arrangementRoute, {routeCode: this.row.code}, 2).then(({valid})=>{
+ commitOperate(menuOperate.Signal.arrangementRoute, {routeCode: this.row.code}, 1, `${this.row.code}`).then(({valid, operate})=>{
this.loading = false;
if (valid) {
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ delete operate.val;
+ const station = this.$store.getters['map/getDeviceByCode'](this.row.stationCode);
+ operate.messages = [this.$t('menu.accessSetting') + this.$t('global.colon') + `${this.row.name}(${station.name})`];
+ this.$refs.confirmControl.doShow(operate);
this.doClose();
}
}).catch(() => {
diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/sectionControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/sectionControl.vue
index 0be10840a..9f8d9fc22 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/dialog/sectionControl.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/sectionControl.vue
@@ -28,7 +28,6 @@
import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
import OperationHandler from '@/scripts/cmdPlugin/OperationHandler';
import NoticeInfo from './childDialog/childDialog/noticeInfo';
-import CMD from '@/scripts/cmdPlugin/CommandEnum';
import { menuOperate, commitOperate } from '../utils/menuOperate';
export default {
diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/speedCmdControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/speedCmdControl.vue
index f4cd11712..bae5f23ae 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/dialog/speedCmdControl.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/dialog/speedCmdControl.vue
@@ -445,6 +445,7 @@ export default {
over: true,
operation: '',
cmdType: '',
+ val: `${this.speed}`,
param: {
speedLimitValue: this.speed
}
diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuBar.vue b/src/jmapNew/theme/fuzhou_01/menus/menuBar.vue
index e59b47d55..255402deb 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/menuBar.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/menuBar.vue
@@ -490,7 +490,7 @@ export default {
};
this.tempClassA = index;
this.tempClassB = -1;
- 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 });
}
@@ -510,7 +510,7 @@ export default {
operation: item.operate.operation
};
this.tempClassB = index;
- 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 });
}
@@ -521,7 +521,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -534,7 +534,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -547,7 +547,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -560,7 +560,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -573,7 +573,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -586,7 +586,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -599,7 +599,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -612,7 +612,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -625,7 +625,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -638,7 +638,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
@@ -651,7 +651,7 @@ export default {
const operate = {
operation: order.operation
};
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.closeMenu(true);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: 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 bc9627b25..132d9ebbc 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/twoConfirmation.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/childDialog/twoConfirmation.vue
@@ -59,6 +59,8 @@ export default {
return OperationEvent.StationControl.requestStationControl.confirm.domId;
} else if (this.operation == OperationEvent.StationControl.requestCentralControl.menu.operation) {
return OperationEvent.StationControl.requestCentralControl.confirm.domId;
+ } else if (this.operation == OperationEvent.StationControl.forcedStationControl.menu.operation) {
+ return OperationEvent.StationControl.forcedStationControl.confirm.domId;
} else {
return '';
}
@@ -107,16 +109,20 @@ export default {
commit() {
const operate = {
over: true,
- operation: this.operation
+ operation: ''
};
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;
} 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;
} 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;
} 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;
}
this.$emit('setOperate', { selection: this.operate.selection, commit: true });
this.$store.dispatch('training/nextNew', operate).then(({ valid, response }) => {
diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/passwordBox.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/passwordBox.vue
index dd3767489..b901e85fd 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/passwordBox.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/passwordBox.vue
@@ -137,18 +137,15 @@ export default {
commit() {
const operate = {
};
-
if (OperationHandler.checkOperationIsCurrentOperate(this.operation, OperationEvent.StationControl.forcedStationControl)) {
/** 强制站控*/
operate.operation = OperationEvent.StationControl.forcedStationControl.passwordConfirm.operation;
}
-
if (this.model.password == '123456') {
this.loading = true;
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
this.loading = false;
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
-
if (valid) {
this.$emit('setLoginResult', {
operation: operate.operation,
diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/stationControlConvert.vue b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/stationControlConvert.vue
index eb18df64a..a7e7b94e4 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/menuDialog/stationControlConvert.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/menuDialog/stationControlConvert.vue
@@ -169,7 +169,6 @@ export default {
this.removeSelection(code);
});
}
- this.$store.dispatch('socket/shiftMsgQueue');
this.disabledClose = false;
this.disabledSure = false;
}
diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuSection.vue b/src/jmapNew/theme/fuzhou_01/menus/menuSection.vue
index d1508e491..a3c532f7a 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/menuSection.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/menuSection.vue
@@ -15,7 +15,6 @@ import SectionCmdControl from './dialog/sectionCmdControl';
import SpeedCmdControl from './dialog/speedCmdControl';
import NoticeInfo from './dialog/childDialog/childDialog/noticeInfo';
import CMD from '@/scripts/cmdPlugin/CommandEnum';
-import Handler from '@/scripts/cmdPlugin/Handler';
import { mapGetters } from 'vuex';
import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
diff --git a/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/alarm.vue b/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/alarm.vue
index 471f03888..030ac7f4e 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/alarm.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/passiveDialog/alarm.vue
@@ -97,6 +97,10 @@ export default {
'01': this.$t('menu.passiveDialog.centralControl'),
'02': this.$t('menu.passiveDialog.stationControl')
},
+ controlModeMap: {
+ CM_Reply_Center_Control: this.$t('menu.passiveDialog.stationToCentral'),
+ CM_Reply_Station_Control: this.$t('menu.passiveDialog.centralToStation')
+ },
model: {
lineName: '',
unitName: '',
@@ -125,19 +129,16 @@ export default {
},
watch: {
'$store.state.socket.msgHead': function (elem) {
- if (elem && elem.type == 'resp' && elem.agree) {
- if (elem.agree) {
- const operate = this.$store.state.training.operate;
- const control = this.$store.getters['map/getDeviceByCode'](elem.stationControlCode);
- const station = this.$store.getters['map/getDeviceByCode'](control.stationCode);
- const newOperate = {
- type: operate.type,
- name: station.name,
- currentMode: elem.currentMode
- };
-
- this.doShow(newOperate);
- }
+ if (elem && elem.success) {
+ const operate = this.$store.state.training.operate;
+ // const control = this.$store.getters['map/getDeviceByCode'](elem.stationControlCode);
+ const station = this.$store.getters['map/getDeviceByCode'](elem.stationCodes[0]);
+ const newOperate = {
+ type: operate.type,
+ name: station.name,
+ currentMode: this.controlModeMap[elem.operateType]
+ };
+ this.doShow(newOperate);
}
}
},
@@ -160,7 +161,7 @@ export default {
childType: this.$t('menu.passiveDialog.childTypeTips'),
timeSummary: this.$t('menu.passiveDialog.controlModeSummary'),
recommendedOperation: '',
- alarmDetail: `${this.$t('menu.passiveDialog.controlModeTransfer')} ${this.operate.name}${this.$t('menu.passiveDialog.alarmDetailOne')}${operate.currentMode == '01' ? this.$t('menu.passiveDialog.stationToCentral') : this.$t('menu.passiveDialog.centralToStation')}!`
+ alarmDetail: `${this.$t('menu.passiveDialog.controlModeTransfer')} ${this.operate.name}${this.$t('menu.passiveDialog.alarmDetailOne')}${operate.currentMode}!`
};
this.dialogShow = true;
this.$nextTick(function () {
@@ -179,7 +180,7 @@ export default {
operation: OperationEvent.Command.close.alarm.operation
};
- 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.doClose();
@@ -190,7 +191,7 @@ export default {
const operate = {
operation: OperationEvent.Command.close.alarm.operation
};
- 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.doClose();
diff --git a/src/jmapNew/theme/fuzhou_01/menus/utils/menuOperate.js b/src/jmapNew/theme/fuzhou_01/menus/utils/menuOperate.js
index 6775b20d8..b3552fd91 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/utils/menuOperate.js
+++ b/src/jmapNew/theme/fuzhou_01/menus/utils/menuOperate.js
@@ -54,6 +54,11 @@ export const menuOperate = {
setFault: {
operation: OperationEvent.Section.stoppage.menu.operation,
cmdType: CMD.Section.CMD_SECTION_ADD_FAULT
+ },
+ axlePreReset:{
+ // 区段计轴预复位
+ operation: OperationEvent.Section.axlePreReset.menu.operation,
+ cmdType: CMD.Section.CMD_SECTION_AXIS_PRE_RESET
}
},
Signal:{
@@ -130,6 +135,16 @@ export const menuOperate = {
// 取消自动折返
operation: OperationEvent.AutoTurnBack.CancelAutoTurnBackButton.menu.operation,
cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_AUTO_TURN_BACK
+ },
+ setAutoTrigger: {
+ // 设置联锁自动触发
+ operation: OperationEvent.Signal.setAutoTrigger.menu.operation,
+ cmdType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO_TRIGGER
+ },
+ cancelAutoTrigger: {
+ // 取消联锁自动触发
+ operation: OperationEvent.Signal.cancelAutoTrigger.menu.operation,
+ cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO_TRIGGER
}
},
Switch:{
@@ -314,12 +329,13 @@ export const menuOperate = {
}
};
-export function commitOperate(operate, paramList, over) {
+export function commitOperate(operate, paramList, over, val) {
const step = {
start: true,
operation: operate.operation,
param:{}
};
+ if (val) { step.val = val; }
step.param = paramList;
// over 0为首次操作,1为中间操作,2为最后操作,3为直接一次性操作
if (over == 0 || over == 3) {
diff --git a/src/jmapNew/theme/fuzhou_01/operationConfig.js b/src/jmapNew/theme/fuzhou_01/operationConfig.js
index 1dce1900f..6c2646f1a 100644
--- a/src/jmapNew/theme/fuzhou_01/operationConfig.js
+++ b/src/jmapNew/theme/fuzhou_01/operationConfig.js
@@ -47,7 +47,7 @@ export default {
{ deviceType: 'bar', orderNum: 2, operateCode: '2041', tip: '鼠标左键点击【转为中控】' },
{ deviceType: '05', orderNum: 3, operateCode: '2042', tip: '鼠标左键选择所需要转换的控制区域【{1}】', val: '{2}' },
{ deviceType: '05', orderNum: 4, operateCode: '204', tip: '鼠标左键点击【请求中控】', val: '{2}' },
- { deviceType: '05', orderNum: 5, operateCode: '2043', tip: '鼠标左键点击【确认】按钮', val: '{2}' },
+ { deviceType: '05', orderNum: 5, operateCode: '2043', tip: '鼠标左键点击【确认】按钮' },
{ deviceType: '05', orderNum: 6, operateCode: '0013', tip: '鼠标左键点击【确定】按钮' },
{ deviceType: 'bar', orderNum: 7, operateCode: '000', tip: '鼠标左键点击【关闭】按钮' }
]
@@ -66,7 +66,7 @@ export default {
{ deviceType: 'bar', orderNum: 2, operateCode: '2021', tip: '鼠标左键点击【转为站控】' },
{ deviceType: '05', orderNum: 3, operateCode: '2022', tip: '鼠标左键选择所需要转换的控制区域【{1}】', val: '{2}' },
{ deviceType: '05', orderNum: 4, operateCode: '202', tip: '鼠标左键点击【请求站控】', val: '{2}' },
- { deviceType: '05', orderNum: 5, operateCode: '2023', tip: '鼠标左键点击【确认】按钮', val: '{2}' },
+ { deviceType: '05', orderNum: 5, operateCode: '2023', tip: '鼠标左键点击【确认】按钮' },
{ deviceType: '05', orderNum: 6, operateCode: '0013', tip: '鼠标左键点击【确定】按钮' },
{ deviceType: 'bar', orderNum: 7, operateCode: '000', tip: '鼠标左键点击【关闭】按钮' }
]
@@ -86,7 +86,7 @@ export default {
{ deviceType: 'bar', orderNum: 3, operateCode: '2035', tip: '鼠标左键输入默认密码【123456】后,点击【确定】按钮' },
{ deviceType: '05', orderNum: 4, operateCode: '2032', tip: '鼠标左键选择所需要转换的控制区域【{1}】', val: '{2}' },
{ deviceType: '05', orderNum: 5, operateCode: '203', tip: '鼠标左键点击【强制站控】', val: '{2}' },
- { deviceType: '05', orderNum: 6, operateCode: '2033', tip: '鼠标左键点击【确认】按钮', val: '{2}' },
+ { deviceType: '05', orderNum: 6, operateCode: '2033', tip: '鼠标左键点击【确认】按钮' },
{ deviceType: '05', orderNum: 7, operateCode: '0013', tip: '鼠标左键点击【确定】按钮' },
{ deviceType: 'bar', orderNum: 8, operateCode: '000', tip: '鼠标左键点击【关闭】按钮' }
]
@@ -444,7 +444,7 @@ export default {
{ deviceType: '03', orderNum: 2, operateCode: '4081', tip: '鼠标左键点击【下达】按钮' },
{ deviceType: '03', orderNum: 3, operateCode: '4082', tip: '鼠标左键点击【确认】按钮' },
{ deviceType: '03', orderNum: 4, operateCode: '4083', tip: '鼠标左键点击【确认1】按钮' },
- { deviceType: '03', orderNum: 5, operateCode: '4084', tip: '鼠标左键点击【确认2】按钮'},
+ { deviceType: '03', orderNum: 5, operateCode: '4084', tip: '鼠标左键点击【确认2】按钮', val: '0' },
{ deviceType: '03', orderNum: 6, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' }
]
},
@@ -620,7 +620,7 @@ export default {
{ deviceType: '02', orderNum: 2, operateCode: '1141', tip: '鼠标左键点击【下达】按钮' },
{ deviceType: '02', orderNum: 3, operateCode: '1142', tip: '鼠标左键点击【确认】按钮' },
{ deviceType: '02', orderNum: 4, operateCode: '1143', tip: '鼠标左键点击【确认1】按钮' },
- { deviceType: '02', orderNum: 5, operateCode: '1144', tip: '鼠标左键点击【确认2】按钮' },
+ { deviceType: '02', orderNum: 5, operateCode: '1144', tip: '鼠标左键点击【确认2】按钮', val: '0' },
{ deviceType: '02', orderNum: 6, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' }
]
},
@@ -653,7 +653,7 @@ export default {
stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '303', tip: '鼠标右键菜单选择【进路取消】' },
{ deviceType: '04', orderNum: 2, operateCode: '303', tip: '鼠标左键点击【确定】按钮' },
- { deviceType: '04', orderNum: 3, operateCode: '3031', tip: '鼠标左键点击【确定】按钮' }
+ { deviceType: '04', orderNum: 3, operateCode: '303', tip: '鼠标左键点击【确定】按钮' }
]
},
{
@@ -754,14 +754,14 @@ export default {
minDuration: 8,
operateType: 'Signal_Open_Auto_Setting',
skinCode: '02',
- trainingName: '自排开({5})',
+ trainingName: '自排开({3})',
trainingRemark: '自排开',
trainingType: 'Signal',
productTypes: ['02'],
stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '315', tip: '鼠标右键菜单选择【自排开】' },
- { deviceType: '04', orderNum: 2, operateCode: '3151', tip: '鼠标左键选择控制状态为"人工"的进路', val: '{6}' },
- { deviceType: '04', orderNum: 3, operateCode: '315', tip: '鼠标左键点击【确定】按钮', val: '{6}' }
+ { deviceType: '04', orderNum: 2, operateCode: '3151', tip: '鼠标左键选择控制状态为"人工"的进路', val: '{4}' },
+ { deviceType: '04', orderNum: 3, operateCode: '315', tip: '鼠标左键点击【确定】按钮', val: '{4}' }
]
},
{
@@ -769,14 +769,14 @@ export default {
minDuration: 8,
operateType: 'Signal_Close_Auto_Setting',
skinCode: '02',
- trainingName: '自排关({5})',
+ trainingName: '自排关({3})',
trainingRemark: '自排关',
trainingType: 'Signal',
productTypes: ['02'],
stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: '314', tip: '鼠标右键菜单选择【自排关】' },
- { deviceType: '04', orderNum: 2, operateCode: '3141', tip: '鼠标左键选择第一条进路', val: '{6}' },
- { deviceType: '04', orderNum: 3, operateCode: '314', tip: '鼠标左键点击【确定】按钮', val: '{6}' }
+ { deviceType: '04', orderNum: 2, operateCode: '3141', tip: '鼠标左键选择进路({3})', val: '{4}' },
+ { deviceType: '04', orderNum: 3, operateCode: '314', tip: '鼠标左键点击【确定】按钮', val: '{4}' }
]
},
{
diff --git a/src/scripts/cmdPlugin/ValidateHandler.js b/src/scripts/cmdPlugin/ValidateHandler.js
index 677a96f61..f7ca6183e 100644
--- a/src/scripts/cmdPlugin/ValidateHandler.js
+++ b/src/scripts/cmdPlugin/ValidateHandler.js
@@ -60,7 +60,7 @@ class ValidateHandler {
}
} else if (operate.over) { // 最后一步校验
const standard = steps[order];
- console.log(operate, standard, operate.code == standard.code, operate.operation == standard.operation, operate.val == standard.val);
+ // console.log(operate, standard, operate.code == standard.code, operate.operation == standard.operation, operate.val == standard.val);
if (operate && standard &&
operate.operation == standard.operation &&
operate.code == standard.code &&
@@ -69,13 +69,22 @@ class ValidateHandler {
}
} else if (order < steps.length) { // 普通步骤信息校验
const standard = steps[order];
- console.log(operate, standard, operate.code == standard.code, operate.operation == standard.operation, operate.val == standard.val);
- if (operate && standard &&
- operate.code == standard.code &&
- operate.operation == standard.operation &&
- operate.val == standard.val) {
- valid = true;
+ // console.log(operate, standard, operate.code == standard.code, operate.operation == standard.operation, operate.val == standard.val);
+ if (standard.type === 'bar') {
+ if (operate && standard &&
+ operate.operation == standard.operation &&
+ operate.val == standard.val) {
+ valid = true;
+ }
+ } else {
+ if (operate && standard &&
+ operate.code == standard.code &&
+ operate.operation == standard.operation &&
+ operate.val == standard.val) {
+ valid = true;
+ }
}
+
}
return valid;
From 97b0a3f9ebe4ca27c4040e04efb7532777e63b5f Mon Sep 17 00:00:00 2001
From: zyy <1787816799@qq.com>
Date: Thu, 18 Jun 2020 14:57:32 +0800
Subject: [PATCH 13/22] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=85=AC=E5=85=B1?=
=?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=B7=AF=E5=BE=84=EF=BC=8C=E5=88=A0=E9=99=A4?=
=?UTF-8?q?=E5=A4=9A=E4=BD=99=E6=96=87=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../beijing_01/menus/dialog/alxeEffective.vue | 795 +++++++++---------
.../childDialog/childDialog/noticeInfo.vue | 87 --
.../dialog/childDialog/confirmControl.vue | 4 +-
.../menus/dialog/childDialog/confirmTrain.vue | 308 +++----
.../menus/dialog/routeSelection.vue | 4 +-
.../menus/dialog/standBackStrategy.vue | 5 +-
.../beijing_01/menus/dialog/standDetail.vue | 5 +-
.../menus/dialog/stationHumanControlAll.vue | 208 ++---
.../dialog/stationSetRouteControlAll.vue | 243 +++---
.../beijing_01/menus/dialog/trainDefine.vue | 287 ++++---
.../beijing_01/menus/dialog/trainDelete.vue | 252 +++---
.../beijing_01/menus/dialog/trainEdit.vue | 287 ++++---
.../beijing_01/menus/dialog/trainFlag.vue | 249 +++---
.../beijing_01/menus/dialog/trainMove.vue | 285 ++++---
.../beijing_01/menus/dialog/trainSetHead.vue | 287 ++++---
.../beijing_01/menus/dialog/trainSetPlan.vue | 253 +++---
.../beijing_01/menus/dialog/trainSetWork.vue | 255 +++---
.../theme/beijing_01/menus/menuBar.vue | 4 +-
.../childDialog/twoConfirmation.vue | 8 +-
.../menus/menuDialog/detainTrainContorl.vue | 284 ++++---
.../menuDialog/detainTrainContorlUpDown.vue | 321 +++----
.../theme/beijing_01/menus/menuSection.vue | 4 +-
.../theme/beijing_01/menus/menuSignal.vue | 4 +-
.../theme/beijing_01/menus/menuStation.vue | 4 +-
.../beijing_01/menus/menuStationStand.vue | 4 +-
.../theme/beijing_01/menus/menuSwitch.vue | 4 +-
.../theme/beijing_01/menus/menuTrain.vue | 8 +-
.../menus/passiveDialog/control.vue | 521 ++++++------
.../childDialog/childDialog/noticeInfo.vue | 87 --
.../menus/dialog/createDeviceLabel.vue | 2 +-
.../theme/chengdu_01/menus/menuBar.vue | 4 +-
.../childDialog/twoConfirmation.vue | 12 +-
.../theme/chengdu_01/menus/menuSection.vue | 4 +-
.../theme/chengdu_01/menus/menuSignal.vue | 4 +-
.../theme/chengdu_01/menus/menuStation.vue | 4 +-
.../chengdu_01/menus/menuStationStand.vue | 4 +-
.../theme/chengdu_01/menus/menuSwitch.vue | 4 +-
.../theme/chengdu_01/menus/menuTrain.vue | 8 +-
.../menus/passiveDialog/control.vue | 522 ++++++------
.../childDialog/childDialog/noticeInfo.vue | 86 --
.../dialog/childDialog/confirmControl.vue | 4 +-
.../menus/dialog/childDialog/confirmTrain.vue | 306 +++----
.../menus/dialog/childDialog/popupAlarm.vue | 3 +-
.../chengdu_03/menus/dialog/routeDetail.vue | 4 +-
.../chengdu_03/menus/dialog/routeGuide.vue | 58 +-
.../menus/dialog/routeHandControl.vue | 36 +-
.../menus/dialog/routeSelection.vue | 40 +-
.../chengdu_03/menus/dialog/sectionDetail.vue | 6 +-
.../chengdu_03/menus/dialog/standControl.vue | 18 +-
.../chengdu_03/menus/dialog/standDetail.vue | 169 ++--
.../chengdu_03/menus/dialog/trainControl.vue | 4 +-
.../chengdu_03/menus/dialog/trainCreate.vue | 4 +-
.../menus/dialog/trainCreateNumber.vue | 4 +-
.../chengdu_03/menus/dialog/trainDelete.vue | 214 ++---
.../menus/dialog/trainDeleteNumber.vue | 4 +-
.../menus/dialog/trainDetailInfo.vue | 703 ++++++++--------
.../chengdu_03/menus/dialog/trainMove.vue | 342 ++++----
.../menus/dialog/trainMoveNumber.vue | 4 +-
.../theme/chengdu_03/menus/menuBar.vue | 4 +-
.../theme/chengdu_03/menus/menuButton.vue | 4 +-
.../childDialog/twoConfirmation.vue | 234 +++---
.../menus/menuDialog/passwordBox.vue | 324 +++----
.../chengdu_03/menus/menuDialog/viewName.vue | 4 +-
.../theme/chengdu_03/menus/menuSection.vue | 4 +-
.../theme/chengdu_03/menus/menuSignal.vue | 4 +-
.../theme/chengdu_03/menus/menuStation.vue | 4 +-
.../chengdu_03/menus/menuStationStand.vue | 4 +-
.../theme/chengdu_03/menus/menuSwitch.vue | 4 +-
.../theme/chengdu_03/menus/menuTrain.vue | 6 +-
.../menus/passiveDialog/control.vue | 523 ++++++------
.../childDialog/childDialog/noticeInfo.vue | 87 --
.../dialog/childDialog/confirmControl.vue | 4 +-
.../foshan_01/menus/dialog/routeLock.vue | 4 +-
.../foshan_01/menus/dialog/routeSelection.vue | 4 +-
.../foshan_01/menus/dialog/routeUnLock.vue | 28 +-
.../foshan_01/menus/dialog/routerCommand.vue | 4 +-
.../menus/dialog/sectionAlxeReset.vue | 4 +-
.../foshan_01/menus/dialog/sectionUnLock.vue | 4 +-
.../menus/dialog/speedLimitControl.vue | 141 ++--
.../menus/dialog/standBackStrategy.vue | 6 +-
.../foshan_01/menus/dialog/standDetail.vue | 34 +-
.../menus/dialog/standDetainTrainAll.vue | 4 +-
.../menus/dialog/stationCmdControl.vue | 79 +-
.../foshan_01/menus/dialog/stationControl.vue | 4 +-
.../menus/dialog/stationHumanControlAll.vue | 4 +-
.../dialog/stationSetRouteControlAll.vue | 4 +-
.../foshan_01/menus/dialog/switchUnLock.vue | 4 +-
.../foshan_01/menus/dialog/trainDefine.vue | 4 +-
.../foshan_01/menus/dialog/trainDelete.vue | 4 +-
.../foshan_01/menus/dialog/trainEdit.vue | 4 +-
.../foshan_01/menus/dialog/trainFlag.vue | 4 +-
.../foshan_01/menus/dialog/trainMove.vue | 4 +-
.../foshan_01/menus/dialog/trainSetHead.vue | 4 +-
.../foshan_01/menus/dialog/trainSetPlan.vue | 4 +-
.../foshan_01/menus/dialog/trainSetWork.vue | 4 +-
.../menus/dialog/trainSetWorkATP.vue | 4 +-
.../menus/dialog/turnBackControl.vue | 4 +-
src/jmapNew/theme/foshan_01/menus/menuBar.vue | 4 +-
.../childDialog/twoConfirmation.vue | 5 +-
.../menus/menuDialog/detainTrainContorl.vue | 30 +-
.../menuDialog/detainTrainContorlUpDown.vue | 26 +-
.../menus/menuDialog/viewTrainId.vue | 4 +-
.../theme/foshan_01/menus/menuSection.vue | 4 +-
.../theme/foshan_01/menus/menuSignal.vue | 4 +-
.../theme/foshan_01/menus/menuStation.vue | 4 +-
.../foshan_01/menus/menuStationStand.vue | 4 +-
.../theme/foshan_01/menus/menuSwitch.vue | 4 +-
.../theme/foshan_01/menus/menuTrain.vue | 4 +-
.../foshan_01/menus/passiveDialog/control.vue | 4 +-
.../childDialog/childDialog/noticeInfo.vue | 86 --
.../dialog/childDialog/confirmControl.vue | 4 +-
.../menus/dialog/childDialog/confirmTrain.vue | 4 +-
.../fuzhou_01/menus/dialog/routeDetail.vue | 4 +-
.../menus/dialog/routeHandControl.vue | 4 +-
.../fuzhou_01/menus/dialog/routeLock.vue | 4 +-
.../fuzhou_01/menus/dialog/routeSelection.vue | 4 +-
.../menus/dialog/standBackStrategy.vue | 4 +-
.../fuzhou_01/menus/dialog/standControl.vue | 6 +-
.../fuzhou_01/menus/dialog/standDetail.vue | 4 +-
.../menus/dialog/standDetainTrainAll.vue | 4 +-
.../fuzhou_01/menus/dialog/standStopTime.vue | 4 +-
.../menus/dialog/stationHumanControlAll.vue | 4 +-
.../dialog/stationSetRouteControlAll.vue | 4 +-
.../fuzhou_01/menus/dialog/trainControl.vue | 4 +-
.../fuzhou_01/menus/dialog/trainCreate.vue | 8 +-
.../fuzhou_01/menus/dialog/trainDelete.vue | 10 +-
src/jmapNew/theme/fuzhou_01/menus/menuBar.vue | 4 +-
.../childDialog/twoConfirmation.vue | 4 +-
.../menus/menuDialog/passwordBox.vue | 4 +-
.../fuzhou_01/menus/menuDialog/viewDevice.vue | 4 +-
.../fuzhou_01/menus/menuDialog/viewName.vue | 4 +-
.../menus/menuDialog/viewTrainId.vue | 4 +-
.../theme/fuzhou_01/menus/menuSection.vue | 4 +-
.../theme/fuzhou_01/menus/menuSignal.vue | 4 +-
.../theme/fuzhou_01/menus/menuStation.vue | 4 +-
.../fuzhou_01/menus/menuStationStand.vue | 8 +-
.../theme/fuzhou_01/menus/menuSwitch.vue | 4 +-
.../theme/fuzhou_01/menus/menuTrain.vue | 4 +-
.../fuzhou_01/menus/passiveDialog/control.vue | 4 +-
.../childDialog/childDialog/noticeInfo.vue | 86 --
.../dialog/childDialog/confirmControl.vue | 4 +-
.../menus/dialog/childDialog/confirmTrain.vue | 4 +-
.../haerbin_01/menus/dialog/routeDetail.vue | 4 +-
.../menus/dialog/routeHandControl.vue | 4 +-
.../haerbin_01/menus/dialog/routeLock.vue | 4 +-
.../menus/dialog/routeSelection.vue | 4 +-
.../menus/dialog/standBackStrategy.vue | 4 +-
.../haerbin_01/menus/dialog/standControl.vue | 4 +-
.../haerbin_01/menus/dialog/standDetail.vue | 4 +-
.../menus/dialog/standDetainTrainAll.vue | 4 +-
.../haerbin_01/menus/dialog/standStopTime.vue | 6 +-
.../menus/dialog/stationHumanControlAll.vue | 4 +-
.../dialog/stationSetRouteControlAll.vue | 4 +-
.../haerbin_01/menus/dialog/trainControl.vue | 16 +-
.../haerbin_01/menus/dialog/trainCreate.vue | 8 +-
.../haerbin_01/menus/dialog/trainDelete.vue | 10 +-
.../theme/haerbin_01/menus/menuBar.vue | 10 +-
.../theme/haerbin_01/menus/menuButton.vue | 4 +-
.../theme/haerbin_01/menus/menuSection.vue | 4 +-
.../theme/haerbin_01/menus/menuSignal.vue | 4 +-
.../theme/haerbin_01/menus/menuStation.vue | 4 +-
.../haerbin_01/menus/menuStationStand.vue | 4 +-
.../theme/haerbin_01/menus/menuSwitch.vue | 4 +-
.../theme/haerbin_01/menus/menuTrain.vue | 4 +-
.../menus/passiveDialog/control.vue | 4 +-
.../ningbo_01/menus/dialog/alxeEffective.vue | 4 +-
.../childDialog/childDialog/noticeInfo.vue | 85 --
.../dialog/childDialog/confirmControl.vue | 4 +-
.../childDialog/confirmControlSpeed.vue | 2 +-
.../childDialog/confirmSignalUnlock.vue | 198 ++---
.../menus/dialog/childDialog/confirmTip.vue | 102 +--
.../ningbo_01/menus/dialog/routeSelection.vue | 4 +-
.../ningbo_01/menus/dialog/routeUnLock.vue | 4 +-
.../ningbo_01/menus/dialog/routerCommand.vue | 4 +-
.../menus/dialog/sectionAlxeReset.vue | 4 +-
.../ningbo_01/menus/dialog/sectionUnLock.vue | 4 +-
.../theme/ningbo_01/menus/dialog/setFault.vue | 6 +-
.../menus/dialog/standBulkBuckleTrain.vue | 4 +-
.../ningbo_01/menus/dialog/standDetail.vue | 4 +-
.../menus/dialog/stationBackStrategy.vue | 4 +-
.../ningbo_01/menus/dialog/stationControl.vue | 4 +-
.../menus/dialog/stationHumanControlAll.vue | 4 +-
.../dialog/stationSetRouteControlAll.vue | 4 +-
.../ningbo_01/menus/dialog/switchUnLock.vue | 4 +-
.../ningbo_01/menus/dialog/trainDefine.vue | 4 +-
.../ningbo_01/menus/dialog/trainDelete.vue | 4 +-
.../ningbo_01/menus/dialog/trainEdit.vue | 4 +-
.../ningbo_01/menus/dialog/trainFlag.vue | 4 +-
.../ningbo_01/menus/dialog/trainMove.vue | 4 +-
.../ningbo_01/menus/dialog/trainSetHead.vue | 4 +-
.../ningbo_01/menus/dialog/trainSetPlan.vue | 4 +-
.../ningbo_01/menus/dialog/trainSetWork.vue | 4 +-
.../menus/dialog/trainSetWorkATP.vue | 4 +-
.../menus/dialog/turnBackControl.vue | 4 +-
src/jmapNew/theme/ningbo_01/menus/menuBar.vue | 4 +-
.../childDialog/twoConfirmation.vue | 2 +-
.../menus/menuDialog/detainTrainContorl.vue | 2 +-
.../menuDialog/detainTrainContorlUpDown.vue | 2 +-
.../theme/ningbo_01/menus/menuSection.vue | 4 +-
.../theme/ningbo_01/menus/menuSignal.vue | 4 +-
.../theme/ningbo_01/menus/menuStation.vue | 4 +-
.../ningbo_01/menus/menuStationStand.vue | 4 +-
.../theme/ningbo_01/menus/menuSwitch.vue | 4 +-
.../theme/ningbo_01/menus/menuTrain.vue | 2 +-
.../ningbo_01/menus/passiveDialog/control.vue | 2 +-
.../childDialog/childDialog/noticeInfo.vue | 85 --
.../dialog/childDialog/confirmControl.vue | 4 +-
.../menus/dialog/childDialog/confirmTrain.vue | 4 +-
.../xian_01/menus/dialog/routeDetail.vue | 4 +-
.../xian_01/menus/dialog/routeHandControl.vue | 4 +-
.../theme/xian_01/menus/dialog/routeLock.vue | 4 +-
.../xian_01/menus/dialog/routeSelection.vue | 4 +-
.../theme/xian_01/menus/dialog/setFault.vue | 4 +-
.../menus/dialog/standBackStrategy.vue | 4 +-
.../xian_01/menus/dialog/standControl.vue | 4 +-
.../xian_01/menus/dialog/standDetail.vue | 4 +-
.../menus/dialog/standDetainTrainAll.vue | 4 +-
.../xian_01/menus/dialog/standStopTime.vue | 4 +-
.../menus/dialog/stationBackStrategy.vue | 4 +-
.../menus/dialog/stationHumanControlAll.vue | 4 +-
.../dialog/stationSetRouteControlAll.vue | 4 +-
.../xian_01/menus/dialog/trainControl.vue | 4 +-
.../xian_01/menus/dialog/trainCreate.vue | 4 +-
.../xian_01/menus/dialog/trainDelete.vue | 4 +-
src/jmapNew/theme/xian_01/menus/menuBar.vue | 4 +-
.../childDialog/twoConfirmation.vue | 4 +-
.../xian_01/menus/menuDialog/passwordBox.vue | 4 +-
.../xian_01/menus/menuDialog/viewDevice.vue | 4 +-
.../xian_01/menus/menuDialog/viewName.vue | 4 +-
.../xian_01/menus/menuDialog/viewTrainId.vue | 4 +-
.../theme/xian_01/menus/menuSection.vue | 4 +-
.../theme/xian_01/menus/menuSignal.vue | 4 +-
.../theme/xian_01/menus/menuStation.vue | 4 +-
.../theme/xian_01/menus/menuStationStand.vue | 4 +-
.../theme/xian_01/menus/menuSwitch.vue | 4 +-
src/jmapNew/theme/xian_01/menus/menuTrain.vue | 4 +-
.../xian_01/menus/passiveDialog/control.vue | 4 +-
.../xian_02/menus/dialog/alxeEffective.vue | 4 +-
.../childDialog/childDialog/noticeInfo.vue | 87 --
.../dialog/childDialog/confirmControl.vue | 4 +-
.../menus/dialog/childDialog/confirmTip.vue | 5 +-
.../xian_02/menus/dialog/routeDetail.vue | 4 +-
.../xian_02/menus/dialog/routeHandControl.vue | 4 +-
.../theme/xian_02/menus/dialog/routeLock.vue | 4 +-
.../xian_02/menus/dialog/routeSelection.vue | 4 +-
.../xian_02/menus/dialog/routeUnLock.vue | 4 +-
.../xian_02/menus/dialog/routerCommand.vue | 4 +-
.../xian_02/menus/dialog/sectionAlxeReset.vue | 4 +-
.../xian_02/menus/dialog/sectionUnLock.vue | 4 +-
.../menus/dialog/standBackStrategy.vue | 4 +-
.../menus/dialog/standBulkBuckleTrain.vue | 4 +-
.../xian_02/menus/dialog/standControl.vue | 4 +-
.../xian_02/menus/dialog/standDetail.vue | 4 +-
.../menus/dialog/standJumpStopControl.vue | 4 +-
.../xian_02/menus/dialog/standStopTime.vue | 4 +-
.../xian_02/menus/dialog/stationControl.vue | 4 +-
.../menus/dialog/stationHumanControlAll.vue | 4 +-
.../dialog/stationSetRouteControlAll.vue | 4 +-
.../xian_02/menus/dialog/switchUnLock.vue | 4 +-
.../xian_02/menus/dialog/trainDefine.vue | 4 +-
.../xian_02/menus/dialog/trainDelete.vue | 4 +-
.../xian_02/menus/dialog/trainDestination.vue | 4 +-
.../theme/xian_02/menus/dialog/trainEdit.vue | 4 +-
.../theme/xian_02/menus/dialog/trainFlag.vue | 4 +-
.../theme/xian_02/menus/dialog/trainMove.vue | 4 +-
.../xian_02/menus/dialog/trainSetHead.vue | 4 +-
.../xian_02/menus/dialog/trainSetPlan.vue | 4 +-
.../xian_02/menus/dialog/trainSetWork.vue | 4 +-
.../xian_02/menus/dialog/trainSetWorkATP.vue | 4 +-
.../xian_02/menus/dialog/turnBackControl.vue | 4 +-
src/jmapNew/theme/xian_02/menus/menuBar.vue | 4 +-
.../childDialog/twoConfirmation.vue | 4 +-
.../menus/menuDialog/detainTrainContorl.vue | 32 +-
.../menuDialog/detainTrainContorlUpDown.vue | 32 +-
.../theme/xian_02/menus/menuSection.vue | 4 +-
.../theme/xian_02/menus/menuSignal.vue | 4 +-
.../theme/xian_02/menus/menuStation.vue | 4 +-
.../theme/xian_02/menus/menuSwitch.vue | 4 +-
src/jmapNew/theme/xian_02/menus/menuTrain.vue | 12 +-
.../xian_02/menus/passiveDialog/control.vue | 13 +-
.../theme/xian_02/menus/popStationStand.vue | 4 +-
281 files changed, 5141 insertions(+), 5677 deletions(-)
delete mode 100644 src/jmapNew/theme/beijing_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
delete mode 100644 src/jmapNew/theme/chengdu_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
delete mode 100644 src/jmapNew/theme/chengdu_03/menus/dialog/childDialog/childDialog/noticeInfo.vue
delete mode 100644 src/jmapNew/theme/foshan_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
delete mode 100644 src/jmapNew/theme/fuzhou_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
delete mode 100644 src/jmapNew/theme/haerbin_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
delete mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
delete mode 100644 src/jmapNew/theme/xian_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
delete mode 100644 src/jmapNew/theme/xian_02/menus/dialog/childDialog/childDialog/noticeInfo.vue
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/alxeEffective.vue b/src/jmapNew/theme/beijing_01/menus/dialog/alxeEffective.vue
index da3a9f835..0a7ba485f 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/alxeEffective.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/alxeEffective.vue
@@ -1,418 +1,445 @@
-
-
-
准备
-
-
- 车站
- 轨道/计轴
-
-
-
-
-
-
-
-
-
- 确认
-
-
-
-
-
-
-
确认
-
-
- 车站
- 轨道/计轴
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 确认
-
-
-
-
-
- 操作倒计时
-
-
-
+
+
+
准备
+
+
+ 车站
+ 轨道/计轴
-
- 状态
+
+
+
+
+
+
+
+
+ 确认
+
+
-
-
-
-
-
+
+
+
+
确认
+
+
+ 车站
+ 轨道/计轴
-
-
- 关闭
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 确认
+
-
-
-
+
+
+
+ 操作倒计时
+
+
+
+
+
+ 状态
+
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/childDialog/noticeInfo.vue b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
deleted file mode 100644
index 7d522d028..000000000
--- a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/childDialog/noticeInfo.vue
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
- 确定
-
-
-
-
-
-
-
-
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 f9170b199..c0d8a595d 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue
@@ -24,13 +24,13 @@
取 消
-
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue b/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue
index f97ae03d9..d27869f44 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/routeSelection.vue
@@ -56,14 +56,14 @@
取 消
-
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/beijing_01/menus/dialog/stationSetRouteControlAll.vue
index cef06ac81..1456c2c1d 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/stationSetRouteControlAll.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/stationSetRouteControlAll.vue
@@ -1,133 +1,142 @@
-
-
-
-
-
-
-
-
-
- 检查冲突
-
-
- 不检查冲突
-
-
-
-
-
- 确定
-
-
- 取 消
-
+
+
+
+
+
+
+
+
+
+ 检查冲突
-
-
+
+ 不检查冲突
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainDefine.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainDefine.vue
index 782fe407d..d5166174a 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/trainDefine.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainDefine.vue
@@ -1,160 +1,169 @@
-
-
- 车站
- 车次窗
-
-
-
-
-
-
-
-
-
-
- 新车组号
-
-
-
-
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
+
+
+ 车站
+ 车次窗
+
+
+
+
+
+
+
+
+
+
+ 新车组号
+
+
+
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainDelete.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainDelete.vue
index 155e29ee3..c0a344ee5 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/trainDelete.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainDelete.vue
@@ -24,7 +24,7 @@
-
+
@@ -34,136 +34,136 @@ import { MapDeviceType, OperationEvent } from '@/scripts/ConstDic';
// import { getPublishMapTrainNos } from '@/api/runplan';
import { mouseCancelState } from '../utils/menuItemStatus';
import ConfirmControl from './childDialog/confirmControl';
-import NoticeInfo from './childDialog/childDialog/noticeInfo';
+import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
export default {
- name: 'TrainDelete',
- components: {
- ConfirmControl,
- NoticeInfo
- },
- data() {
- return {
- trainNoList: [],
- selected: null,
- addModel: {
- groupNumber: ''
- },
+ name: 'TrainDelete',
+ components: {
+ ConfirmControl,
+ NoticeInfo
+ },
+ data() {
+ return {
+ trainNoList: [],
+ selected: null,
+ addModel: {
+ groupNumber: ''
+ },
- rules: {
- groupNumber: [
- { required: true, message: '请输入车组号', trigger: 'blur' }
- ]
- },
- operation: null,
- dialogShow: false,
- loading: false
- };
- },
- computed: {
- ...mapGetters('map', [
- 'map'
- ]),
- show() {
- return this.dialogShow && !this.$store.state.menuOperation.break;
- },
- domIdInput() {
- return this.dialogShow ? OperationEvent.Train.delTrainId.input.domId : '';
- },
- domIdCancel() {
- return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : '';
- },
- domIdConfirm() {
- return this.dialogShow ? OperationEvent.Train.delTrainId.menu.domId : '';
- },
- title() {
- return '删除车组号';
- }
- },
- mounted() {
- this.$nextTick(() => {
- this.$store.dispatch('training/tipReload');
- });
- },
- methods: {
- loadInitData(map) {
- if (map) {
- // getPublishMapTrainNos(map.skinCode).then(response => {
- // this.trainNoList = response.data;
- // }).catch(() => {
- // this.$messageBox(`获取列车车组号失败`);
- // });
- }
- },
- doShow(operate, selected) {
- this.selected = selected;
- // 如果不是断点激活,则需要对初始值进行初始化
- if (!this.dialogShow) {
- this.operation = operate.operation;
- }
- this.dialogShow = true;
- this.$nextTick(function () {
- this.$store.dispatch('training/emitTipFresh');
- });
- },
- doClose() {
- this.loading = false;
- this.dialogShow = false;
- this.$store.dispatch('training/emitTipFresh');
- this.$store.dispatch('map/setTrainWindowShow', false);
- mouseCancelState(this.selected);
- },
- inputGroupNumber() {
- const operate = {
- type: MapDeviceType.Train.type,
- operation: OperationEvent.Train.delTrainId.input.operation,
- val: this.addModel.groupNumber
- };
+ rules: {
+ groupNumber: [
+ { required: true, message: '请输入车组号', trigger: 'blur' }
+ ]
+ },
+ operation: null,
+ dialogShow: false,
+ loading: false
+ };
+ },
+ computed: {
+ ...mapGetters('map', [
+ 'map'
+ ]),
+ show() {
+ return this.dialogShow && !this.$store.state.menuOperation.break;
+ },
+ domIdInput() {
+ return this.dialogShow ? OperationEvent.Train.delTrainId.input.domId : '';
+ },
+ domIdCancel() {
+ return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : '';
+ },
+ domIdConfirm() {
+ return this.dialogShow ? OperationEvent.Train.delTrainId.menu.domId : '';
+ },
+ title() {
+ return '删除车组号';
+ }
+ },
+ mounted() {
+ this.$nextTick(() => {
+ this.$store.dispatch('training/tipReload');
+ });
+ },
+ methods: {
+ loadInitData(map) {
+ if (map) {
+ // getPublishMapTrainNos(map.skinCode).then(response => {
+ // this.trainNoList = response.data;
+ // }).catch(() => {
+ // this.$messageBox(`获取列车车组号失败`);
+ // });
+ }
+ },
+ doShow(operate, selected) {
+ this.selected = selected;
+ // 如果不是断点激活,则需要对初始值进行初始化
+ if (!this.dialogShow) {
+ this.operation = operate.operation;
+ }
+ this.dialogShow = true;
+ this.$nextTick(function () {
+ this.$store.dispatch('training/emitTipFresh');
+ });
+ },
+ doClose() {
+ this.loading = false;
+ this.dialogShow = false;
+ this.$store.dispatch('training/emitTipFresh');
+ this.$store.dispatch('map/setTrainWindowShow', false);
+ mouseCancelState(this.selected);
+ },
+ inputGroupNumber() {
+ const operate = {
+ type: MapDeviceType.Train.type,
+ operation: OperationEvent.Train.delTrainId.input.operation,
+ val: this.addModel.groupNumber
+ };
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
- if (valid) {
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
- }
- });
- },
- commit() {
- this.$refs['form'].validate((valid) => {
- if (valid) {
- const operate = {
- send: true,
- type: MapDeviceType.Train.type,
- operation: OperationEvent.Train.delTrainId.menu.operation,
- val: this.addModel.groupNumber
- };
+ this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ if (valid) {
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ }
+ });
+ },
+ commit() {
+ this.$refs['form'].validate((valid) => {
+ if (valid) {
+ const operate = {
+ send: true,
+ type: MapDeviceType.Train.type,
+ operation: OperationEvent.Train.delTrainId.menu.operation,
+ val: this.addModel.groupNumber
+ };
- this.loading = true;
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
- this.loading = false;
- if (valid) {
- this.doClose();
- }
- }).catch(() => {
- this.loading = false;
- this.doClose();
- this.$refs.noticeInfo.doShow(operate);
- });
- } else {
- return false;
- }
- });
- },
- cancel() {
- const operate = {
- type: MapDeviceType.Train.type,
- operation: OperationEvent.Command.cancel.menu.operation
- };
+ this.loading = true;
+ this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ this.loading = false;
+ if (valid) {
+ this.doClose();
+ }
+ }).catch(() => {
+ this.loading = false;
+ this.doClose();
+ this.$refs.noticeInfo.doShow(operate);
+ });
+ } else {
+ return false;
+ }
+ });
+ },
+ cancel() {
+ const operate = {
+ type: MapDeviceType.Train.type,
+ operation: OperationEvent.Command.cancel.menu.operation
+ };
- this.$store.dispatch('training/next', operate).then(({ valid }) => {
- if (valid) {
- this.doClose();
- }
- }).catch(() => { this.doClose(); });
- }
- }
+ this.$store.dispatch('training/next', operate).then(({ valid }) => {
+ if (valid) {
+ this.doClose();
+ }
+ }).catch(() => { this.doClose(); });
+ }
+ }
};
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainEdit.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainEdit.vue
index 11355a4da..4cdb0905c 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/trainEdit.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainEdit.vue
@@ -1,160 +1,169 @@
-
-
- 新车组号
-
-
-
-
-
-
-
- 车站
- 车次窗
-
-
-
-
-
-
-
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
+
+
+ 新车组号
+
+
+
+
+
+
+
+ 车站
+ 车次窗
+
+
+
+
+
+
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainFlag.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainFlag.vue
index 53c33a4df..10d66a858 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/trainFlag.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainFlag.vue
@@ -1,139 +1,148 @@
-
-
- 车组号:
-
-
-
-
-
-
-
-
-
- 备选项
- 备选项
-
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
+
+
+ 车组号:
+
+
+
+
+
+
+
+
+
+ 备选项
+ 备选项
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainMove.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainMove.vue
index 76e0044a5..d5a64c2ce 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/trainMove.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainMove.vue
@@ -1,160 +1,169 @@
-
-
- 车组号
-
-
-
-
-
-
-
- 车站
- 车次窗
-
-
-
-
-
-
-
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
+
+
+ 车组号
+
+
+
+
+
+
+
+ 车站
+ 车次窗
+
+
+
+
+
+
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetPlan.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetPlan.vue
index 3a495d805..2febc397b 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetPlan.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetPlan.vue
@@ -1,144 +1,151 @@
-
-
- 车组号
- 车次号
-
-
-
-
-
-
-
-
-
+
+
+ 车组号
+ 车次号
+
+
+
+
+
+
+
+
+
-
-
- 确定
-
-
- 取 消
-
-
-
-
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetWork.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetWork.vue
index 1b1779caa..5b83b106c 100644
--- a/src/jmapNew/theme/beijing_01/menus/dialog/trainSetWork.vue
+++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainSetWork.vue
@@ -1,144 +1,153 @@
-
-
- 车组号:
-
-
-
-
-
-
- 确定
-
-
- 取 消
-
-
-
-
+
+
+ 车组号:
+
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/menuBar.vue b/src/jmapNew/theme/beijing_01/menus/menuBar.vue
index 3d20864df..4e15ad56a 100644
--- a/src/jmapNew/theme/beijing_01/menus/menuBar.vue
+++ b/src/jmapNew/theme/beijing_01/menus/menuBar.vue
@@ -89,7 +89,7 @@
-
+
@@ -109,7 +109,7 @@ import TrainTranstalet from './menuDialog/trainTranstalet';
import TrainDelete from './menuDialog/trainDelete';
import ManageUser from './menuDialog/manageUser';
import HelpAbout from './menuDialog/helpAbout';
-import NoticeInfo from './dialog/childDialog/childDialog/noticeInfo';
+import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
import { EventBus } from '@/scripts/event-bus';
export default {
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 4a70d12b3..fdffaa58b 100644
--- a/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/twoConfirmation.vue
+++ b/src/jmapNew/theme/beijing_01/menus/menuDialog/childDialog/twoConfirmation.vue
@@ -13,8 +13,8 @@
append-to-body
>
-
- {{ message }}
+
+ {{ message }}
@@ -25,13 +25,13 @@
关闭
-
+
-
\ No newline at end of file
+
diff --git a/src/jmapNew/theme/beijing_01/menus/menuSection.vue b/src/jmapNew/theme/beijing_01/menus/menuSection.vue
index 0e445e12a..9ba6e1809 100644
--- a/src/jmapNew/theme/beijing_01/menus/menuSection.vue
+++ b/src/jmapNew/theme/beijing_01/menus/menuSection.vue
@@ -4,7 +4,7 @@
-
+