From f13afcb61276061871b30bce17a7877287df0b67 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Sat, 20 Jan 2024 09:56:43 +0800
Subject: [PATCH] 1

---
 src/api/dept/index.js |   90 +++++++++++++++++++++++++++++++++++++++------
 1 files changed, 78 insertions(+), 12 deletions(-)

diff --git a/src/api/dept/index.js b/src/api/dept/index.js
index 999e019..932a0ca 100644
--- a/src/api/dept/index.js
+++ b/src/api/dept/index.js
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2022-11-30 15:18:29
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2023-04-18 17:50:56
+ * @LastEditTime: 2023-04-18 19:27:38
  * @FilePath: \srs-police-affairs\src\api\dept\index.js
  * @Description:
  *
@@ -106,11 +106,11 @@
 export const getHouses = (build_id, adcode) => {
     return request({
         // url: '/sf3d/build/houses',
-        // url: '/sf3d/build/stdhouses',
-        url: '/data/huafu15d.json',
+        url: '/sf3d/build/stdhouses',
+        // url: '/data/huafu15d.json',
         method: 'get',
         authorization: false,
-        // requestBaseUrl: 'fengt',
+        requestBaseUrl: 'fengt',
         params: {
             build_id,
             adcode
@@ -120,7 +120,7 @@
 
 
 /**
- * 大搜
+ * 大搜查询
  * @param {*} adcode
  * @returns
  */
@@ -146,10 +146,38 @@
  */
 export const getSearchExtensivelyBgAoiDeepdata = (ak, region, ids, infos) => {
     return request({
-        // url: '/zhs/bs/search',
-        url: '/data/jingzuo.json',
+        url: '/zhs/bs/search',
+        // url: '/data/汇成观邸.json',
+        // url: '/data/search.json',
+        // url: '/data/阳光小区独栋.json',
+        // url: '/data/search汇杰小区.json',
+        // url: '/data/汪家园林家小区id详情搜.json',
+        // url: '/data/search三江星座.json',
         method: 'get',
-        // requestBaseUrl: 'fengtDS',
+        requestBaseUrl: 'fengtDS',
+        params: {
+            ak,
+            region,
+            ids,
+            infos,
+        }
+    })
+}
+
+/**
+ * 大搜-户室
+ * @param {*} adcode
+ * @returns
+ */
+export const getSearchExtensivelyHousesdata = (ak, region, ids, infos) => {
+    return request({
+        url: '/zhs/bs/search',
+        // url: '/data/汇成观邸-户室.json',
+        // url: '/data/阳光小区独栋.json',
+        // url: '/data/search汇杰小区1栋.json',
+        // url: '/data/汪家园林家小区2号id详情搜.json',
+        method: 'get',
+        requestBaseUrl: 'fengtDS',
         params: {
             ak,
             region,
@@ -216,13 +244,24 @@
     })
 }
 
-// 户籍人口、重点人口信息
-export const getVillagePersonStatisticInfoByBuildId = (buildId) => {
+// 户籍人口、重点人口信息  buildId/aoiId
+export const getVillagePersonStatisticInfoByBuildId = (params) => {
     return request({
         url: `/api/villagePersonInfo/villagePersonInfo/getVillagePersonStatisticInfoByBuildId`,
         method: 'get',
         params: {
-            buildId
+            ...params
+        }
+    })
+}
+
+// 查询户室关联情况
+export const getPersonConnectionConditionByBuildingId = (params) => {
+    return request({
+        url: `/api/villagePersonInfo/villagePersonInfo/getPersonConnectionConditionByBuildingId`,
+        method: 'get',
+        params: {
+            ...params
         }
     })
 }
@@ -235,10 +274,21 @@
         params: {
             resBusId,
             buildId,
-            status,
+            ...status,
             current,
             realName,
             phone
+        }
+    })
+}
+
+// 户籍人口、重点人口信息
+export const getPicURL = (resBusId) => {
+    return request({
+        url: `/api/villagePersonInfo/villagePersonInfo/getPicURL`,
+        method: 'get',
+        params: {
+            resBusId,
         }
     })
 }
@@ -327,4 +377,20 @@
             size
         }
     })
+}
+
+/**
+ * @description:酒店列表
+ * @param {*} deptId
+ * @param {*} status
+ * @param {*} orderName
+ * @param {*} orderRule
+ * @return {*}
+ */
+export const getHotelList = (params) => {
+    return request({
+        url: `/api/hotel/hotel/page`,
+        method: 'get',
+        params
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3