diff --git a/src/jmapNew/theme/chengdu_01/menus/menuRequest.vue b/src/jmapNew/theme/chengdu_01/menus/menuRequest.vue
index 1c0b4d54d..70c82d7c4 100644
--- a/src/jmapNew/theme/chengdu_01/menus/menuRequest.vue
+++ b/src/jmapNew/theme/chengdu_01/menus/menuRequest.vue
@@ -2,7 +2,7 @@
操作请求堆栈
-
@@ -21,7 +21,7 @@
- 发送请求
+ 发送请求
取消请求
@@ -90,10 +90,9 @@ export default {
methods: {
unflodDiv() {
this.unfold = !this.unfold;
- const operate = {
- operation: OperationEvent.Command.commandChengDu1.requestBar.operation
- };
- this.$store.dispatch('trainingNew/next', operate);
+ setTimeout(() => {
+ this.$store.dispatch('training/emitTipFresh');
+ }, 300);
},
clickEvent(row, event, column) {
this.row = row;
diff --git a/src/jmapNew/theme/components/menus/eachChildMenu.vue b/src/jmapNew/theme/components/menus/eachChildMenu.vue
index 8a9482257..9958f4eef 100644
--- a/src/jmapNew/theme/components/menus/eachChildMenu.vue
+++ b/src/jmapNew/theme/components/menus/eachChildMenu.vue
@@ -129,9 +129,9 @@ export default {
operation: item.operate.operation
};
+ this.$emit('active', index);
this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => {
if (valid) {
- this.$emit('active', index);
this.$store.dispatch('menuOperation/changeMenuBar', index);
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
}
diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/buttonDown.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/buttonDown.vue
index 9131a79c2..d044a21b0 100644
--- a/src/jmapNew/theme/ningbo_01/menus/dialog/buttonDown.vue
+++ b/src/jmapNew/theme/ningbo_01/menus/dialog/buttonDown.vue
@@ -20,7 +20,7 @@
- 确定
+ 确定
关闭
@@ -54,7 +54,7 @@ export default {
return this.dialogShow && !this.$store.state.menuOperation.break;
},
confirmId() {
- return this.operation.domId;
+ return this.operation === OperationEvent.Station.setPreReset.confirm.operation ? OperationEvent.Station.setPreReset.confirm.domId : OperationEvent.Station.cancelPreReset.confirm.domId;
}
},
mounted() {
diff --git a/src/jmapNew/theme/ningbo_01/menus/localWorkMenuBar.vue b/src/jmapNew/theme/ningbo_01/menus/localWorkMenuBar.vue
index d543bde25..ba5e6caaa 100644
--- a/src/jmapNew/theme/ningbo_01/menus/localWorkMenuBar.vue
+++ b/src/jmapNew/theme/ningbo_01/menus/localWorkMenuBar.vue
@@ -77,7 +77,7 @@ export default {
},
{
title: '站遥控',
- operate: OperationEvent.Command.mBar.remoteControl,
+ operate: OperationEvent.MixinCommand.remoteControl.mbar,
click: this.stationRemoteControl
},
{
diff --git a/src/jmapNew/theme/ningbo_01/menus/menuStationControl.vue b/src/jmapNew/theme/ningbo_01/menus/menuStationControl.vue
index f33dde531..773f6261b 100644
--- a/src/jmapNew/theme/ningbo_01/menus/menuStationControl.vue
+++ b/src/jmapNew/theme/ningbo_01/menus/menuStationControl.vue
@@ -113,7 +113,7 @@ export default {
},
setCenterControl() {
// 请求中控(遥控)
- commitOperate(menuOperate.StationControl.requestCentralControl, {stationCode:this.selected.code}, 0).then(({valid, operate})=>{
+ commitOperate(menuOperate.StationControl.requestCentralControl, {stationCode:this.selected.code}, 0, {code: this.selected.code, subType: 'button'}).then(({valid, operate})=>{
if (valid) {
this.$refs.stationControl.doShow(operate, this.selected);
}
@@ -121,7 +121,7 @@ export default {
},
setStationControl() {
// 请求站控
- commitOperate(menuOperate.StationControl.requestStationControl, {stationCode:this.selected.code}, 0).then(({valid, operate})=>{
+ commitOperate(menuOperate.StationControl.requestStationControl, {stationCode:this.selected.code}, 0, {code: this.selected.code, subType: 'button'}).then(({valid, operate})=>{
if (valid) {
this.$refs.stationControl.doShow(operate, this.selected);
}
@@ -129,7 +129,7 @@ export default {
},
setEmergencyControl() {
// 紧急站控
- commitOperate(menuOperate.StationControl.emergencyStationControl, {stationCode: this.selected.code}, 0).then(({valid, operate})=>{
+ commitOperate(menuOperate.StationControl.emergencyStationControl, {stationCode: this.selected.code}, 0, {code: this.selected.code, subType: 'button'}).then(({valid, operate})=>{
if (valid) {
this.$refs.stationControl.doShow(operate, this.selected);
}
diff --git a/src/jmapNew/theme/ningbo_01/menus/menuStationPreReset.vue b/src/jmapNew/theme/ningbo_01/menus/menuStationPreReset.vue
index 70a1af49a..ffdfb9e00 100644
--- a/src/jmapNew/theme/ningbo_01/menus/menuStationPreReset.vue
+++ b/src/jmapNew/theme/ningbo_01/menus/menuStationPreReset.vue
@@ -116,7 +116,7 @@ export default {
},
setPreReset() {
// 计轴复位
- commitOperate(menuOperate.Station.setPreReset, {stationCode:this.selected.code}, 0).then(({valid, operate})=>{
+ commitOperate(menuOperate.Station.setPreReset, {stationCode:this.selected.code}, 0, {code: this.selected.code, subType: 'preReset'}).then(({valid, operate})=>{
if (valid) {
const nextOperate = {
operation: OperationEvent.Station.setPreReset.confirm.operation
@@ -127,7 +127,7 @@ export default {
},
cancelPreReset() {
// 取消计轴复位
- commitOperate(menuOperate.Station.cancelPreReset.operation, {stationCode:this.selected.code}, 0, {code: this.selected.code, subType: 'light'}).then(({valid, operate})=>{
+ commitOperate(menuOperate.Station.cancelPreReset.operation, {stationCode:this.selected.code}, 0, {code: this.selected.code, subType: 'preReset'}).then(({valid, operate})=>{
if (valid) {
const nextOperate = {
operation: OperationEvent.Station.cancelPreReset.confirm.operation
diff --git a/src/jmapNew/theme/xian_01/menus/dispatchWorkMenuBar.vue b/src/jmapNew/theme/xian_01/menus/dispatchWorkMenuBar.vue
index 9b51a1c3d..ab3a76b4b 100644
--- a/src/jmapNew/theme/xian_01/menus/dispatchWorkMenuBar.vue
+++ b/src/jmapNew/theme/xian_01/menus/dispatchWorkMenuBar.vue
@@ -6,7 +6,7 @@
-
+
@@ -152,7 +152,7 @@ export default {
},
{
title: this.$t('menu.menuBar.controlModeSwitch'),
- operate: OperationEvent.Command.mBar.remoteControl,
+ operate: OperationEvent.MixinCommand.remoteControl.mbar,
children: [
{
title: this.$t('menu.menuBar.toStationControl'),
diff --git a/src/jmapNew/theme/xian_01/menus/localWorkMenuBar.vue b/src/jmapNew/theme/xian_01/menus/localWorkMenuBar.vue
index 5c1d6923c..55749e623 100644
--- a/src/jmapNew/theme/xian_01/menus/localWorkMenuBar.vue
+++ b/src/jmapNew/theme/xian_01/menus/localWorkMenuBar.vue
@@ -6,7 +6,7 @@
-
+
@@ -124,7 +124,7 @@ export default {
},
{
title: this.$t('menu.menuBar.controlModeSwitch'),
- operate: OperationEvent.Command.mBar.remoteControl,
+ operate: OperationEvent.MixinCommand.remoteControl.mbar,
children: [
{
title: this.$t('menu.menuBar.toStationControl'),
diff --git a/src/jmapNew/theme/xian_02/menus/menuSignal.vue b/src/jmapNew/theme/xian_02/menus/menuSignal.vue
index 19466a409..941028f30 100644
--- a/src/jmapNew/theme/xian_02/menus/menuSignal.vue
+++ b/src/jmapNew/theme/xian_02/menus/menuSignal.vue
@@ -215,9 +215,27 @@ export default {
watch: {
'$store.state.menuOperation.menuCount': function (val) {
if (this.$store.getters['menuOperation/checkDialogIsOpen'](DeviceMenu.Signal) && !this.buttonOperation) {
- this.doShow(this.$store.state.menuOperation.menuPosition);
+ const operate = {
+ code: `${this.selected.code}`,
+ userOperationType: 'rightClick',
+ operation: OperationEvent.Command.commandRight.right.operation
+ };
+ this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => {
+ if (valid) {
+ this.doShow(this.$store.state.menuOperation.menuPosition);
+ }
+ });
} else if (this.selected && this.selected._type === 'Signal' && this.$store.getters['menuOperation/checkDialogIsOpen'](DeviceMenu.Enabled) && !this.buttonOperation) {
- this.doEnabledShow(this.$store.state.menuOperation.menuPosition);
+ const operate = {
+ code: `${this.selected.code}`,
+ userOperationType: 'rightClick',
+ operation: OperationEvent.Command.commandRight.right.operation
+ };
+ this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => {
+ if (valid) {
+ this.doEnabledShow(this.$store.state.menuOperation.menuPosition);
+ }
+ });
} else {
this.doClose();
}
@@ -346,8 +364,6 @@ export default {
param: step.param
});
}
- } else {
- this.$refs.noticeInfo.doShow();
}
}).catch(() => {
this.$refs.noticeInfo.doShow();
diff --git a/src/scripts/ConstConfig.js b/src/scripts/ConstConfig.js
index fd7d47faa..97b050e6e 100644
--- a/src/scripts/ConstConfig.js
+++ b/src/scripts/ConstConfig.js
@@ -332,28 +332,132 @@ export default {
{label: '长兴技校', value: 'RICHOR_CXJS'},
{label: '京津冀联盟', value: 'JJJLM'}
],
- clientList: [
- { label: '中心ATS工作站', value: 'dispatchWork' },
- { label: '中心ATS大屏', value: 'bigScreen' },
- { label: '现地ATS工作站', value: 'localWork' },
- { label: 'ISCS', value: 'iscsView' },
- { label: 'IBP', value: 'ibp' },
- { label: 'PSL', value: 'psl' },
- { label: 'PIS', value: 'pis' },
- { label: '列车驾驶', value: 'drivingPlan' },
- { label: 'CCTV', value: 'cctvView' },
- { label: '设备视图', value: 'jl3dModle' },
- { label: '数字沙盘', value: 'digitalStand' },
- { label: '车务终端', value: 'trafficTerminal' },
- { label: '车务管理终端', value: 'trafficManageTerminal' },
- { label: '调度命令', value: 'dispatchingCommand' },
- { label: '调度计划', value: 'schedulingPlan' },
- { label: '大客流策略', value: 'largePassengerStrategy' },
- { label: '大客流视图', value: 'largePassengerView' },
- { label: '行调台', value: 'dispatcherManage' },
- { label: '派班工作站', value: 'scheduleWork' },
- { label: '应急调度', value: 'emergency' },
- { label: '联锁工作站', value: 'interlockWork' }
- ]
+ clientMap:{
+ 'RAILWAY':{
+ 'DISPATCHER':[
+ { label: '中心ATS工作站', value: 'dispatchWork' },
+ { label: '行调台', value: 'dispatcherManage' },
+ { label: '调度计划', value: 'schedulingPlan' },
+ { label: '调度命令', value: 'dispatchingCommand' }
+ ],
+ 'STATION_SUPERVISOR':[
+ { label: '现地ATS工作站', value: 'localWork' },
+ { label: '车务管理终端', value: 'trafficManageTerminal' },
+ { label: '车务终端', value: 'trafficTerminal' }
+ ],
+ 'DEPOT_DISPATCHER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_ASSISTANT':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_MASTER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_SIGNALER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_PASSENGER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_SWITCH_MAN':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_FACILITATOR':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_WORKER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'DEVICE_MANAGER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'TRAIN_MASTER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'SIGNAL_BUILDING':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ]
+ },
+ 'METRO':{
+ 'DISPATCHER':[
+ { label: '中心ATS工作站', value: 'dispatchWork' },
+ { label: 'ISCS', value: 'iscsView' },
+ { label: '中心ATS大屏', value: 'bigScreen' },
+ { label: 'CCTV', value: 'cctvView' },
+ { label: '数字沙盘', value: 'digitalStand' },
+ { label: '大客流策略', value: 'largePassengerStrategy' },
+ { label: '大客流视图', value: 'largePassengerView' }
+ ],
+ 'STATION_SUPERVISOR':[
+ { label: '现地ATS工作站', value: 'localWork' },
+ { label: 'ISCS', value: 'iscsView' },
+ { label: 'IBP', value: 'ibp' },
+ { label: '数字沙盘', value: 'digitalStand' },
+ { label: 'CCTV', value: 'cctvView' },
+ { label: 'PSL', value: 'psl' }
+ ],
+ 'DRIVER':[
+ { label: '列车驾驶', value: 'drivingPlan' }
+ ],
+ 'DEPOT_DISPATCHER':[
+ { label: '派班工作站', value: 'scheduleWork' },
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_ASSISTANT':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_MASTER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_SIGNALER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_PASSENGER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_SWITCH_MAN':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_FACILITATOR':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'STATION_WORKER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'DEVICE_MANAGER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'TRAIN_MASTER':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ],
+ 'SIGNAL_BUILDING':[
+ { label: '现地ATS工作站', value: 'localWork' }
+ ]
+ }
+ }
+ // clientList: [
+ // { label: '中心ATS工作站', value: 'dispatchWork' },
+ // { label: '中心ATS大屏', value: 'bigScreen' },
+ // { label: '现地ATS工作站', value: 'localWork' },
+ // { label: 'ISCS', value: 'iscsView' },
+ // { label: 'IBP', value: 'ibp' },
+ // { label: 'PSL', value: 'psl' },
+ // { label: 'PIS', value: 'pis' },------------
+ // { label: '列车驾驶', value: 'drivingPlan' },
+ // { label: 'CCTV', value: 'cctvView' },
+ // { label: '数字沙盘', value: 'digitalStand' },
+ // { label: '车务终端', value: 'trafficTerminal' },
+ // { label: '车务管理终端', value: 'trafficManageTerminal' },
+ // { label: '调度命令', value: 'dispatchingCommand' },
+ // { label: '调度计划', value: 'schedulingPlan' },
+ // { label: '行调台', value: 'dispatcherManage' },
+ // { label: '大客流策略', value: 'largePassengerStrategy' },
+ // { label: '大客流视图', value: 'largePassengerView' },
+
+ // { label: '设备视图', value: 'jl3dModle' },
+ // { label: '应急调度', value: 'emergency' }, ------
+ // { label: '联锁工作站', value: 'interlockWork' } ------
+ // ]
}
};
diff --git a/src/store/modules/ibp.js b/src/store/modules/ibp.js
index 9c0c50d56..43a090311 100644
--- a/src/store/modules/ibp.js
+++ b/src/store/modules/ibp.js
@@ -10,7 +10,8 @@ const ibp = {
ibp: null, // 数据
updateDeviceData: {}, // 修改的数据
rightClickCount: 0, // 右键点击设备
- ibpBgDevice: {} // ibp背景设备
+ ibpBgDevice: {}, // ibp背景设备
+ moreScreen: false // 切换按钮是否显示
},
getters: {
@@ -42,6 +43,9 @@ const ibp = {
setIbpData: (state, ibp) => {
state.ibp = ibp;
},
+ setMoreScreen: (state, moreScreen) => {
+ state.moreScreen = moreScreen;
+ },
setUpdateDeviceData: (state, model) => {
state.rightClickCount++;
state.updateDeviceData = model;
@@ -58,6 +62,9 @@ const ibp = {
setIbpData: ({ commit }, ibp) => {
commit('setIbpData', ibp);
},
+ setMoreScreen: ({ commit }, moreScreen) => {
+ commit('setMoreScreen', moreScreen);
+ },
updateIbpDevices: ({ commit }, models) => {
return new Promise((resolve) => {
if (!(models instanceof Array)) {
diff --git a/src/views/ibp/ibpsystem/index.vue b/src/views/ibp/ibpsystem/index.vue
index 77ccae44c..71e32ab5a 100644
--- a/src/views/ibp/ibpsystem/index.vue
+++ b/src/views/ibp/ibpsystem/index.vue
@@ -1,11 +1,11 @@
-
- 切换
-
-
-
+
+
+
+
+