浙大网新操作调整1207

This commit is contained in:
fan 2023-12-07 17:45:44 +08:00
parent 6e477bef89
commit 388f4593f1
3 changed files with 4 additions and 4 deletions

View File

@ -1054,7 +1054,7 @@ export default class Station extends Group {
} }
} }
controlTextFlash(apply2TheControlMode) { controlTextFlash(apply2TheControlMode) {
if (this.stationControlCC && apply2TheControlMode === 'Local' ) { if (this.stationControlCC && apply2TheControlMode) {
let color; let color;
if (apply2TheControlMode === 'Local') { if (apply2TheControlMode === 'Local') {
color = this.style.Station.StationControl.text.stationControlColor; color = this.style.Station.StationControl.text.stationControlColor;

View File

@ -67,9 +67,9 @@ export default {
handler: this.work === 'localWork' ? this.agreeCenterControl : this.agreeStationControl, handler: this.work === 'localWork' ? this.agreeCenterControl : this.agreeStationControl,
isDisabled: (station, work) => { isDisabled: (station, work) => {
if (work === 'localWork') { if (work === 'localWork') {
return station.controlMode !== 'Local'; return station.apply2TheControlMode !== 'Center';
} else { } else {
return station.controlMode !== 'Center'; return station.apply2TheControlMode !== 'Local';
} }
}, },
isShow: (station, work) => true isShow: (station, work) => true