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