From 8cb1cdbee874842af44683dea8b0f0ff8087d0ea Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期四, 12 十月 2023 21:54:36 +0800
Subject: [PATCH] 更新

---
 src/api/api.js |   26 ++++++++++++++++++--------
 1 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/src/api/api.js b/src/api/api.js
index c5ee2d1..e5c47cb 100644
--- a/src/api/api.js
+++ b/src/api/api.js
@@ -6,26 +6,36 @@
 // }
 //浼佷笟鍦板潃搴撴煡璇�
 export function ent_selectByName(params) {
-    return service.get(
-        "/ent/selectByName?name=" + params
-    );
+    return service.get("/ent/selectByName?name=" + params);
 }
 //鍥尯鍦板潃搴撴煡璇�
 export function liushisijiayuanqudizhibianmafuwu(params) {
     return request.get(
-        "/gisserver/rest/services/Locators/liushisijiayuanqudizhibianmafuwu/GeocodeServer/findAddressCandidates?singleLine=" + params
+        'gisserver/wfsserver/liushisijiayuanqu1012?version=1.3.0&request=GetFeature&typename=64瀹跺洯鍖哄熀鏈儏鍐佃寖鍥碿oordinates10092&propertyname=*&filter=<Filter><PropertyIsLike+wildCard%3D"*"><PropertyName>YQmingchen<%2FPropertyName><Literal>*' + params + '*<%2FLiteral><%2FPropertyIsLike><%2FFilter>&format=json'
     );
 }
+//鍥尯绫诲瀷鏌ヨ
+export function shengwuSearch(params) {
+    return request.get(
+        'gisserver/wfsserver/liushisijiayuanqu1012?version=1.3.0&request=GetFeature&typename=64瀹跺洯鍖哄熀鏈儏鍐佃寖鍥碿oordinates10092&propertyname=*&filter=<Filter><PropertyIsLike+wildCard%3D"*"><PropertyName>chanyeDW<%2FPropertyName><Literal>*' + params + '*<%2FLiteral><%2FPropertyIsLike><%2FFilter>&format=json'
+    );
+}
+
 // 鍦板潡鏌ヨ
 export function findAddressCandidates(params) {
     return request.get(
-        "/gisserver/rest/services/Locators/dikuaixinxi1005/GeocodeServer/findAddressCandidates?singleLine=" + params
+        "/gisserver/rest/services/Locators/dikuaixinxi1005/GeocodeServer/findAddressCandidates?singleLine=" +
+        params
     );
 }
 
 //鑾峰彇鍦板潡鑼冨洿
 export function getDiKuanFanWei(lon, lat) {
     return request.get(
-        "http://10.10.4.115:8022/geowinmap_xncs/ds?r=0.9158559377752831&serviceproviderid=map.vectorserviceprovider&serviceid=queryfeature&featcls=225%25E8%258C%2583%25E5%259B%25B4%25E5%2588%2586%25E5%258C%25BA%25E8%25A7%2584%25E5%2588%2592.geojson&lng=" + lon + "&lat=" + lat + "&geom=true&requesttype=json"
-    )
-}
+        "http://10.10.4.115:8022/geowinmap_xncs/ds?r=0.9158559377752831&serviceproviderid=map.vectorserviceprovider&serviceid=queryfeature&featcls=225%25E8%258C%2583%25E5%259B%25B4%25E5%2588%2586%25E5%258C%25BA%25E8%25A7%2584%25E5%2588%2592.geojson&lng=" +
+        lon +
+        "&lat=" +
+        lat +
+        "&geom=true&requesttype=json"
+    );
+}
\ No newline at end of file

--
Gitblit v1.9.3