From e24f70ababdee2b4fdce71c6b80a9bc928fa0331 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 08 May 2023 14:45:08 +0800
Subject: [PATCH] 警情排行调整
---
src/api/dept/index.js | 102 ++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 76 insertions(+), 26 deletions(-)
diff --git a/src/api/dept/index.js b/src/api/dept/index.js
index 89e4cb7..0b74f82 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-02-03 11:50:17
+ * @LastEditTime: 2023-04-18 19:27:38
* @FilePath: \srs-police-affairs\src\api\dept\index.js
* @Description:
*
@@ -46,6 +46,7 @@
export const getResidentialQuartersInfo = (area_id, adcode) => {
return request({
url: '/sf3d/area/info',
+ // url: '/data/getResidentialQuartersInfo.json',
method: 'get',
authorization: false,
requestBaseUrl: 'fengt',
@@ -64,8 +65,11 @@
*/
export const getAoiByPt = (lng, lat, height, adcode, tolerance) => {
return request({
- url: '/sf3d/area/getAoiByPt',
+ // url: '/sf3d/area/getAoiByPt',
+ url: '/sf3d/area/stdgetAoiByPt',
+ // url: '/data/getAoiByBgId.json',
method: 'get',
+ authorization: false,
requestBaseUrl: 'fengt',
params: {
lng,
@@ -101,8 +105,11 @@
*/
export const getHouses = (build_id, adcode) => {
return request({
- url: '/sf3d/build/houses',
+ // url: '/sf3d/build/houses',
+ url: '/sf3d/build/stdhouses',
+ // url: '/data/huafu15d.json',
method: 'get',
+ authorization: false,
requestBaseUrl: 'fengt',
params: {
build_id,
@@ -111,20 +118,23 @@
})
}
+
/**
- * 大搜
+ * 大搜查询
* @param {*} adcode
* @returns
*/
-export const getSearchExtensively = (ak, region, query) => {
+export const getSearchExtensively = (ak, region, query, ids) => {
return request({
url: '/zhs/bs/search',
+ // url: '/data/jingzuo.json',
method: 'get',
requestBaseUrl: 'fengtDS',
params: {
ak,
region,
- query
+ query,
+ ids
}
})
}
@@ -137,6 +147,30 @@
export const getSearchExtensivelyBgAoiDeepdata = (ak, region, ids, infos) => {
return request({
url: '/zhs/bs/search',
+ // url: '/data/汇成观邸.json',
+ // url: '/data/search.json',
+ // url: '/data/阳光小区独栋.json',
+ method: 'get',
+ 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',
method: 'get',
requestBaseUrl: 'fengtDS',
params: {
@@ -185,7 +219,7 @@
})
}
-// 责任民警所属辖区
+// 包干民警所属辖区
export const getVillageInfo = (aoiId) => {
return request({
url: `/api/villageInfo/villageInfo/details`,
@@ -197,13 +231,11 @@
}
// 派出所默认展示小区
-export const getPoliceSationVillageInfo = (deptId) => {
+export const getPoliceSationVillageInfo = (param) => {
return request({
url: `/api/villageInfo/villageInfo/details`,
method: 'get',
- params: {
- deptId
- }
+ params: param
})
}
@@ -230,6 +262,17 @@
current,
realName,
phone
+ }
+ })
+}
+
+// 户籍人口、重点人口信息
+export const getPicURL = (resBusId) => {
+ return request({
+ url: `/api/villagePersonInfo/villagePersonInfo/getPicURL`,
+ method: 'get',
+ params: {
+ resBusId,
}
})
}
@@ -285,7 +328,27 @@
})
}
-// 获取该责任区下的人员列表信息
+// 获取现有房屋
+export const getHouseStatisticInfo = (deptId, isFollow) => {
+ return request({
+ url: `/api/houseStatistic/houseStatistic/getHouseStatisticInfo`,
+ method: 'get',
+ params: {
+ deptId,
+ isFollow
+ }
+ })
+}
+
+/**
+ * @description: 原来获取户籍人口下责任区-人口信息,已作废
+ * @param {*} current
+ * @param {*} areaId
+ * @param {*} policeName
+ * @param {*} phone
+ * @param {*} size
+ * @return {*}
+ */
export const getAreaPage = (current, areaId, policeName, phone, size) => {
return request({
url: `/api/policeStationInfo/policeStationInfo/getAreaPage`,
@@ -298,17 +361,4 @@
size
}
})
-}
-
-
-// 获取现有房屋
-export const getHouseStatisticInfo = (deptId, isFollow) => {
- return request({
- url: `/api/houseStatistic/houseStatistic/getHouseStatisticInfo`,
- method: 'get',
- params: {
- deptId,
- isFollow
- }
- })
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3