浙大网新操作调整1207
This commit is contained in:
parent
6e477bef89
commit
388f4593f1
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user