This commit is contained in:
joylink_cuiweidong 2019-08-08 17:33:18 +08:00
commit 7abbadd603

View File

@ -53,7 +53,6 @@
import { getPublishTrainList } from '@/api/jmap/map';
import ConfirmTrain from './childDialog/confirmTrain';
import NoticeInfo from './childDialog/childDialog/noticeInfo';
import Vue from 'vue';
export default {
name: 'TrainControl',
@ -218,7 +217,7 @@
if (!this.dialogShow) {
this.operation = operate.operation;
}
let model = Vue.prototype.$jlmap.mapDevice[selected.code];
let model = this.$store.getters['map/getDeviceByCode'](selected.code);
this.formModel = {
groupNumber: model.groupNumber,
tripNumber: model.tripNumber,