From dad52de123c99f01198fbab836558bb8dd5dd7fb Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 25 Nov 2020 10:28:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=9C=B0=E5=9B=BE=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=BC=96=E8=BE=91=E4=BF=A1=E6=81=AF=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jmap/map.js | 8 +++++++- src/views/publish/publishMap/draft.vue | 20 ++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/api/jmap/map.js b/src/api/jmap/map.js index e435894cc..3ce4c0795 100644 --- a/src/api/jmap/map.js +++ b/src/api/jmap/map.js @@ -250,4 +250,10 @@ export function getPassengerHistoryList(group) { method: 'get' }); } - +/** 查询地图数据版本list */ +export function getVersionList(mapId) { + return request({ + url: `/api/map/${mapId}/dataVersions`, + method: 'get' + }); +} diff --git a/src/views/publish/publishMap/draft.vue b/src/views/publish/publishMap/draft.vue index 7f0df3768..c6ba1019f 100644 --- a/src/views/publish/publishMap/draft.vue +++ b/src/views/publish/publishMap/draft.vue @@ -11,6 +11,7 @@