diff --git a/src/api/jmap/mapdraft.js b/src/api/jmap/mapdraft.js index 1075584af..41ff6f34a 100644 --- a/src/api/jmap/mapdraft.js +++ b/src/api/jmap/mapdraft.js @@ -281,6 +281,15 @@ export function getRoutingData(routingId) { }); } +/** 生成交路区段数据(新版)*/ +export function gernateRoutingSection(data) { + return request({ + url: `/api/mapBuild/routingData/generate`, + method: 'PUT', + data: data + }); +} + /** 更新交路(新版)*/ export function updateRoutingData(data) { return request({ diff --git a/src/views/newMap/newMapdraft/dataRelation/routingoperate/route.vue b/src/views/newMap/newMapdraft/dataRelation/routingoperate/route.vue index 1cf92db16..e2aef3492 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routingoperate/route.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routingoperate/route.vue @@ -93,6 +93,7 @@ + 生成交路区段