区域控制权在实训中不生效

This commit is contained in:
fan 2021-02-22 18:48:24 +08:00
parent 6f91ee4b28
commit 8adadc5858
4 changed files with 22 additions and 15 deletions

View File

@ -257,3 +257,10 @@ export function getVersionList(mapId) {
method: 'get'
});
}
/** 查询地图下车站下的区段 */
export function getSectionListByStationCode(id, stationCode) {
return request({
url: `/api/map/${id}/station/${stationCode}/sections`,
method: 'get'
});
}

View File

@ -138,12 +138,12 @@ export default {
cmdType: CMD.Signal.CMD_SIGNAL_SET_ROUTE
},
{
label: '取消进路',
label: '取消列车进路',
handler: this.cancelTrainRoute,
cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE
},
{
label: '人工解锁进路', //
label: '人解列车进路', //
handler: this.humanTrainRoute,
cmdType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE
},
@ -163,12 +163,12 @@ export default {
cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING
},
{
label: '设置通过模式',
label: '设置自动通过进路',
handler: this.singalPassModel,
cmdType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO
},
{
label: '取消通过模式',
label: '取消自动通过进路',
handler: this.singalCancelPassModel,
cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO
},

View File

@ -38,16 +38,16 @@ export default {
}
],
Center: [
{
label: '设置',
handler: this.setPreReset,
cmdType: CMD.Station.CMD_STATION_PRE_RESET
},
{
label: '取消',
handler: this.cancelPreReset,
cmdType: CMD.Station.CMD_STATION_CANCEL_PRE_RESET
}
// {
// label: '',
// handler: this.setPreReset,
// cmdType: CMD.Station.CMD_STATION_PRE_RESET
// },
// {
// label: '',
// handler: this.cancelPreReset,
// cmdType: CMD.Station.CMD_STATION_CANCEL_PRE_RESET
// }
]
},
menuForce: [

View File

@ -132,7 +132,7 @@ export default {
cmdType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN_AUTO
},
{
label: '查看站台信息',
label: '站台详细信息',
handler: this.detail,
cmdType:CMD.Stand.CMD_STAND_VIEW_STATUS
}