进路选中切除状态调整

This commit is contained in:
joylink_fanyuhong 2020-02-11 15:58:54 +08:00
parent 9c5b486cc1
commit 86c6ac4a57
2 changed files with 11 additions and 3 deletions

View File

@ -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);
}
});
}

View File

@ -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.');
}