bug修复 【大铁标准站】车务终端点击信号机按钮报错,无法排列进路
This commit is contained in:
parent
49fb5e5643
commit
50b0358541
@ -129,7 +129,7 @@ import { mapGetters } from 'vuex';
|
||||
import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
|
||||
import { MouseEvent, DeviceMenu } from '@/scripts/ConstDic';
|
||||
import { EventBus } from '@/scripts/event-bus';
|
||||
import {UserOperationType} from "../../../../scripts/ConstDic";
|
||||
import {UserOperationType} from '../../../../scripts/ConstDic';
|
||||
|
||||
export default {
|
||||
name: 'MapButtonMenu',
|
||||
@ -502,7 +502,8 @@ export default {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
const signal = this.$store.dispatch('map/getDeviceByCode')[model.signalCode || model.code];
|
||||
// const signal = this.$store.dispatch('map/getDeviceByCode')[model.signalCode || model.code];
|
||||
const signal = this.$store.getters['map/getDeviceByCode'](model.signalCode || model.code);
|
||||
if (signal.routeLock) { return; }
|
||||
}
|
||||
this.$store.dispatch('trainingNew/next', operate).then(({valid}) => {
|
||||
|
Loading…
Reference in New Issue
Block a user