From fb68530f0a77961bed466e69be99ba6b33fe8d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=95=E5=B5=A9?= <17854119262@163.com> Date: Thu, 8 Aug 2024 17:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E8=BE=B9=E7=95=8C=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sys/exception/LargeScreenMap/index.vue | 8 +++++--- src/views/sys/exception/mapComponent/top_title.vue | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/sys/exception/LargeScreenMap/index.vue b/src/views/sys/exception/LargeScreenMap/index.vue index 1761d8ce..ea989b14 100644 --- a/src/views/sys/exception/LargeScreenMap/index.vue +++ b/src/views/sys/exception/LargeScreenMap/index.vue @@ -468,11 +468,12 @@ const handlerDealCountry = (countyName:String = "临沂市"):void=>{ axios({ method:"get", - url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`, + // url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`, + url:`http://120.222.154.7:8090/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Ashijie&maxFeatures=50&outputFormat=application%2Fjson`, }).then(res=>{ handlerLoadCountyLayer(res.data); }); - }else if(countyName){ + } else if(countyName){ center = MAP_VIEWER[countyName].center; zoom = MAP_VIEWER[countyName].zoom; handlerLocation([center['lng'],center['lat']],zoom); @@ -480,7 +481,8 @@ const handlerDealCountry = (countyName:String = "临沂市"):void=>{ axios({ method:"get", - url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`, + // url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`, + url: `http://120.222.154.7:8090/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqdm_1%20like%20%27%25${filterName}%25%27`, }).then(res=>{ handlerLoadCountyLayer(res.data); }) diff --git a/src/views/sys/exception/mapComponent/top_title.vue b/src/views/sys/exception/mapComponent/top_title.vue index cfdc96b6..31255af7 100644 --- a/src/views/sys/exception/mapComponent/top_title.vue +++ b/src/views/sys/exception/mapComponent/top_title.vue @@ -214,11 +214,11 @@