注释南京二列车操作
This commit is contained in:
parent
67a061d9da
commit
cf871345e3
@ -154,12 +154,12 @@ export default {
|
|||||||
watch:{
|
watch:{
|
||||||
'$store.state.menuOperation.selectedCount':function(em) {
|
'$store.state.menuOperation.selectedCount':function(em) {
|
||||||
const device = this.$store.state.menuOperation.selected;
|
const device = this.$store.state.menuOperation.selected;
|
||||||
if (device && device.code && device.deviceType === 'TRAIN') {
|
// if (device && device.code && device.deviceType === 'TRAIN') {
|
||||||
this.tempTableData = [device];
|
// this.tempTableData = [device];
|
||||||
this.sectionCode = device.sectionModel.name;
|
// this.sectionCode = device.sectionModel.name;
|
||||||
this.tripNum = device.destinationCode + device.serviceNumber + (device.tripNumber.substring(1));
|
// this.tripNum = device.destinationCode + device.serviceNumber + (device.tripNumber.substring(1));
|
||||||
this.groupNum = device.groupNumber;
|
// this.groupNum = device.groupNumber;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -847,14 +847,14 @@ export default {
|
|||||||
handleTrainParam() {
|
handleTrainParam() {
|
||||||
if (this.selectedObj.type === '01') {
|
if (this.selectedObj.type === '01') {
|
||||||
this.formModelSectionName = this.selectedObj.name;
|
this.formModelSectionName = this.selectedObj.name;
|
||||||
this.$store.state.map.activeTrainList.forEach(trainCode => {
|
// this.$store.state.map.activeTrainList.forEach(trainCode => {
|
||||||
const trainModel = this.$store.getters['map/getDeviceByCode'](trainCode);
|
// const trainModel = this.$store.getters['map/getDeviceByCode'](trainCode);
|
||||||
if (trainModel && trainModel.physicalCode === this.selectedObj.code) {
|
// if (trainModel && trainModel.physicalCode === this.selectedObj.code) {
|
||||||
this.formModelTripNum = trainModel.serviceNumber + trainModel.destinationCode + (trainModel.tripNumber.substring(1));
|
// this.formModelTripNum = trainModel.serviceNumber + trainModel.destinationCode + (trainModel.tripNumber.substring(1));
|
||||||
this.trainModel = trainModel;
|
// this.trainModel = trainModel;
|
||||||
this.formModelNewTrip = '';
|
// this.formModelNewTrip = '';
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
pushTempData(list) {
|
pushTempData(list) {
|
||||||
|
Loading…
Reference in New Issue
Block a user