diff --git a/src/api/jmap/mapdraft.js b/src/api/jmap/mapdraft.js index a04ecf2f1..1075584af 100644 --- a/src/api/jmap/mapdraft.js +++ b/src/api/jmap/mapdraft.js @@ -290,6 +290,14 @@ export function updateRoutingData(data) { }); } +/** 根据地图起始-终点车站站台区段生成站间运行等级(新版)*/ +export function generateStationRunData(routingId) { + return request({ + url: `/api/draftMap/runLevel/generate/${routingId}`, + method: 'post' + }); +} + // 创建自动信号 old(旧数据) export function postAutoSignal(data) { return request({ diff --git a/src/i18n/langs/en/map.js b/src/i18n/langs/en/map.js index 6a45a49f4..a48ebcc95 100644 --- a/src/i18n/langs/en/map.js +++ b/src/i18n/langs/en/map.js @@ -535,6 +535,8 @@ export default { blockCodingClomn: 'Block coding', routing: 'Pay the way', + generateStationRunDataSuccess:'Generate station run data success', + generateStationRunDataFailed:'Generate station run data failed', linkageSwitchList: 'Linkage switch list', diff --git a/src/i18n/langs/zh/map.js b/src/i18n/langs/zh/map.js index 0829579e3..b95471af5 100644 --- a/src/i18n/langs/zh/map.js +++ b/src/i18n/langs/zh/map.js @@ -530,6 +530,8 @@ export default { blockCodingClomn: '区段编码', routing: '交路', + generateStationRunDataSuccess:'站间运行数据生成成功', + generateStationRunDataFailed:'站间运行数据生成失败', linkageSwitchList: '联动道岔列表', diff --git a/src/views/newMap/newMapdraft/dataRelation/routingoperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/routingoperate/detail.vue index 4cdf0cd85..df4bb3436 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routingoperate/detail.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routingoperate/detail.vue @@ -15,7 +15,7 @@