浙大网新操作调整(控制权显示&请求中控调整&列车停车)

This commit is contained in:
fan 2023-12-04 16:35:54 +08:00
parent 9d039b3f58
commit 3cb71dce37
3 changed files with 3 additions and 3 deletions

View File

@ -357,7 +357,7 @@ export default class Station extends Group {
zlevel: this.zlevel, zlevel: this.zlevel,
z: this.z, z: this.z,
style: { style: {
x: computedControlModePoint.x + this.style.Station.StationControl.text.offsetX, x: computedControlModePoint.x,
y: computedControlModePoint.y + this.style.Station.StationControl.text.offsetY, y: computedControlModePoint.y + this.style.Station.StationControl.text.offsetY,
fontWeight: this.style.Station.StationControl.text.fontWeight, fontWeight: this.style.Station.StationControl.text.fontWeight,
fontSize: this.style.Station.StationControl.text.fontSize, fontSize: this.style.Station.StationControl.text.fontSize,

View File

@ -50,7 +50,7 @@ export default {
children: [ children: [
{ {
label: '请求', label: '请求',
handler: this.setStationControl, handler: this.work === 'localWork' ? this.setStationControl : this.setCenterControl,
cmdType: this.work === 'localWork' ? CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL : CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL, cmdType: this.work === 'localWork' ? CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL : CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL,
isDisabled: (station, work) => { isDisabled: (station, work) => {
if (work === 'localWork') { if (work === 'localWork') {

View File

@ -498,7 +498,7 @@ export default {
trainOrder(orderStop) { trainOrder(orderStop) {
const operate = { const operate = {
start: true, start: true,
send: true, // send: true,
param:{}, param:{},
code: this.selected.code code: this.selected.code
}; };