宁波实训跳转集中站
This commit is contained in:
parent
75df1f7d2d
commit
523a1f9cd6
@ -3373,7 +3373,7 @@ export const OperationList = {
|
||||
{ deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
|
||||
{ deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
|
||||
{ deviceType: '04', orderNum: 3, operateCode: '308', tip: '鼠标左键点击【引导进路】按钮' },
|
||||
{ deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【确认2】按钮' }
|
||||
{ deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -3389,7 +3389,7 @@ export const OperationList = {
|
||||
{ deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
|
||||
{ deviceType: '04', orderNum: 2, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
|
||||
{ deviceType: '04', orderNum: 3, operateCode: '305', tip: '鼠标左键点击【取消引导】按钮' },
|
||||
{ deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【确认2】按钮' }
|
||||
{ deviceType: '04', orderNum: 4, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -928,7 +928,7 @@ export const OperationEvent = {
|
||||
},
|
||||
menu: {
|
||||
operation: '318',
|
||||
domId: '_Tips-Signal-cancelGuide-Menu'
|
||||
domId: '_Tips-Signal-cancelGuide-Menu{TOP}'
|
||||
},
|
||||
confirm: {
|
||||
operation: '3181',
|
||||
|
@ -50,7 +50,6 @@ class ValidateHandler {
|
||||
judge (operate) {
|
||||
const steps = Handler.getSteps();
|
||||
const order = Handler.getOrder();
|
||||
|
||||
let valid = false;
|
||||
if (operate.over && steps.length == 1) { // 右键菜单直接发送校验
|
||||
if (operate && steps[0] &&
|
||||
|
@ -2,7 +2,7 @@ export function getBaseUrl() {
|
||||
let BASE_API;
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// BASE_API = 'https://joylink.club/jlcloud';
|
||||
BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
// BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
||||
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||
|
@ -261,6 +261,29 @@ export default {
|
||||
'$store.state.map.map': function (val) {
|
||||
this.showSelectStation = val.skinVO.code === '06' && this.$store.state.training.prdType === '01';
|
||||
this.showSelectStation && this.setStationList(val);
|
||||
},
|
||||
'$store.state.training.offsetStationCode': function(code) {
|
||||
if (code) {
|
||||
const deviceModel = this.$store.getters['map/getDeviceByCode'](code);
|
||||
if (deviceModel._type == 'Section' || deviceModel._type == 'Switch' || deviceModel._type == 'Signal' || deviceModel._type == 'Switch') {
|
||||
const stationModel = this.$store.getters['map/getDeviceByCode'](deviceModel.stationCode);
|
||||
this.switchStationMode(stationModel.code);
|
||||
} else if (deviceModel._type === 'Station') {
|
||||
let stationModel = '';
|
||||
if (deviceModel.centralized) {
|
||||
stationModel = deviceModel;
|
||||
} else {
|
||||
this.$store.state.map.map.stationList || [].forEach(item => {
|
||||
item.chargeStationCodeList || [].forEach(it => {
|
||||
if (it === deviceModel.code) {
|
||||
stationModel = item;
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
this.switchStationMode(stationModel.code);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
async created() {
|
||||
|
Loading…
Reference in New Issue
Block a user