From 9672c879240cb452feb7ee271c106d952f3dde43 Mon Sep 17 00:00:00 2001 From: hbao Date: Tue, 8 Mar 2022 16:30:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B8=E6=9F=A5=E5=9B=9E=E8=BD=AC=E5=8E=9F?= =?UTF-8?q?=E5=A7=8B=E8=BF=9B=E5=85=A5=E5=9C=B0=E5=9B=BE=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/config.js | 9 +++ src/components/Map/MapGisDrawing.vue | 22 ++++--- src/views/homesteadSurvey/list.vue | 96 +++++++++++++++++++--------- 3 files changed, 89 insertions(+), 38 deletions(-) create mode 100644 src/api/system/config.js diff --git a/src/api/system/config.js b/src/api/system/config.js new file mode 100644 index 00000000..4bd0879c --- /dev/null +++ b/src/api/system/config.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +//查询geoserver服务地址 +export function getGeoServerConfigKey() { + return request({ + url: '/system/config/getGeoServerConfigKey', + method: 'get' + }) +} diff --git a/src/components/Map/MapGisDrawing.vue b/src/components/Map/MapGisDrawing.vue index 686f780b..5bbc5a3a 100644 --- a/src/components/Map/MapGisDrawing.vue +++ b/src/components/Map/MapGisDrawing.vue @@ -18,6 +18,7 @@