日记调整

This commit is contained in:
fan 2021-10-18 11:11:03 +08:00
parent 4dffdb5aba
commit bb085ecddc
2 changed files with 3 additions and 2 deletions

View File

@ -57,5 +57,4 @@ export default {
// 联锁区操作
CM_Receive_Control:{name:'接收控制', code:'stationCode' },
CM_Surrender_Control :{name:'交出控制', code:'stationCode' }
};

View File

@ -137,7 +137,9 @@ export default {
if (deviceCode) {
if (event.operation == 'CM_Surrender_Control' || event.operation == 'CM_Receive_Control' || event.operation == 'Station_Close_AllSignal') {
const device = this.$store.getters['map/getDeviceByCode'](this.beCentralizedStationMap[deviceCode]);
result += '对联锁区 “' + device.name + '联锁区”';
if (device) {
result += '对联锁区 “' + device.name + '联锁区”';
}
} else {
const device = this.$store.getters['map/getDeviceByCode'](deviceCode);
if (device) {