进路选中切除状态调整
This commit is contained in:
parent
9c5b486cc1
commit
86c6ac4a57
@ -233,8 +233,16 @@ export default {
|
||||
// 设置新选的进路区段为切除状态
|
||||
row.routeSectionList.forEach(elem => {
|
||||
const section = deepAssign({}, this.$store.getters['map/getDeviceByCode'](elem));
|
||||
section.cutOff = true;
|
||||
containSectionList.push(section);
|
||||
if (section.logicSectionCodeList && section.logicSectionCodeList.length){
|
||||
section.logicSectionCodeList.forEach(item => {
|
||||
const sec = deepAssign({}, this.$store.getters['map/getDeviceByCode'](item));
|
||||
sec.cutOff = true;
|
||||
containSectionList.push(sec);
|
||||
});
|
||||
} else {
|
||||
section.cutOff = true;
|
||||
containSectionList.push(section);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ export default {
|
||||
device = this.getDeviceByEm(em);
|
||||
if (CanClickDeviceList.includes(em.deviceType)) {
|
||||
try {
|
||||
letfMouseSelectDevice(em.deviceCode, this.group);
|
||||
// letfMouseSelectDevice(em.deviceCode, this.group);
|
||||
} catch (error) {
|
||||
console.log('send left mouse click error.');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user