From 8adadc5858c4973e3742980a9e9d955893a5c9ed Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Mon, 22 Feb 2021 18:48:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E6=8E=A7=E5=88=B6=E6=9D=83?= =?UTF-8?q?=E5=9C=A8=E5=AE=9E=E8=AE=AD=E4=B8=AD=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jmap/map.js | 7 +++++++ .../theme/ningbo_01/menus/menuSignal.vue | 8 ++++---- .../ningbo_01/menus/menuStationPreReset.vue | 20 +++++++++---------- .../ningbo_01/menus/menuStationStand.vue | 2 +- 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/src/api/jmap/map.js b/src/api/jmap/map.js index b988690d8..f3026cbf5 100644 --- a/src/api/jmap/map.js +++ b/src/api/jmap/map.js @@ -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' + }); +} diff --git a/src/jmapNew/theme/ningbo_01/menus/menuSignal.vue b/src/jmapNew/theme/ningbo_01/menus/menuSignal.vue index 81450416b..5a5e06604 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuSignal.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuSignal.vue @@ -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 }, diff --git a/src/jmapNew/theme/ningbo_01/menus/menuStationPreReset.vue b/src/jmapNew/theme/ningbo_01/menus/menuStationPreReset.vue index bf0797f19..87a35d381 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuStationPreReset.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuStationPreReset.vue @@ -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: [ diff --git a/src/jmapNew/theme/ningbo_01/menus/menuStationStand.vue b/src/jmapNew/theme/ningbo_01/menus/menuStationStand.vue index bc6ef8889..2ec60a4c3 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuStationStand.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuStationStand.vue @@ -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 }