From a98dafa7872c4fb0db736b2a7638fbd88d6d9e29 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Tue, 23 Dec 2025 00:24:16 +0800
Subject: [PATCH] 经开分局优化------大改动

---
 src/api/dept/index.js |   26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/src/api/dept/index.js b/src/api/dept/index.js
index 328ee09..5a3f3e2 100644
--- a/src/api/dept/index.js
+++ b/src/api/dept/index.js
@@ -47,7 +47,7 @@
 export const getResidentialQuartersInfo = (area_id, adcode) => {
   return request({
     url: '/sf3d/area/info',
-    // url: '/data/getResidentialQuartersInfo.json',
+    // url: '/data/5.json',
     method: 'get',
     authorization: false,
     requestBaseUrl: 'fengt',
@@ -69,7 +69,7 @@
   return request({
     url: '/sf3d/area/getAoiByPt',
     // url: '/sf3d/area/stdgetAoiByPt',
-    // url: '/data/getAoiByBgId.json',
+    // url: '/data/getAoiByBgId2.json',
     method: 'get',
     authorization: false,
     requestBaseUrl: 'fengt',
@@ -111,7 +111,7 @@
   return request({
     // url: '/sf3d/build/houses',
     url: '/sf3d/build/stdhouses',
-    // url: '/data/huafu15d.json',
+    // url: '/data/huafu15d2.json',
     method: 'get',
     authorization: false,
     requestBaseUrl: 'fengt',
@@ -143,6 +143,24 @@
     }
   })
 }
+
+/**
+ * 查询单元
+ * @param {*} adcode
+ * @returns
+ */
+export const getBuildAndUnitInfo = (buildId, latitude, longitude) => {
+  return request({
+    url: '/api/blade-buildInfo/buildInfo/buildAndUnitInfo',
+    method: 'get',
+    params: {
+      buildId,
+      latitude,
+      longitude
+    }
+  })
+}
+
 export const get3dTiles = (params) => {
   return request({
     url: '/shangrao-3d-upload/model/list',
@@ -461,4 +479,4 @@
     method: 'get',
     params
   })
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3