From 87bc2ee400a4fe9312f81a31a2946a7b8a00fcc4 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Thu, 02 Feb 2023 14:36:52 +0800
Subject: [PATCH] 活动监控无数据样式
---
src/api/dept/index.js | 93 +++++++++++++++++++++++++++++++++++++---------
1 files changed, 74 insertions(+), 19 deletions(-)
diff --git a/src/api/dept/index.js b/src/api/dept/index.js
index 8af24a1..4642881 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: 2022-12-05 15:23:32
+ * @LastEditTime: 2023-01-31 10:47:22
* @FilePath: \srs-police-affairs\src\api\dept\index.js
* @Description:
*
@@ -160,19 +160,30 @@
})
}
+// 小区树形数据
+export const getPoliceStationTrees = (params) => {
+ return request({
+ url: `/api/policeStationInfo/policeStationInfo/getPoliceStationTrees`,
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
// 转id
-// export const getAoiByBgId = (bg_id) => {
-// return request({
-// url: `/sf3d/area/getAoiByBgId`,
-// method: 'get',
-// requestBaseUrl: 'fengt',
-// params: {
-// bg_id,
-// adcode: 361102,
-// type: 0
-// }
-// })
-// }
+export const getAoiByBgId = (bg_id) => {
+ return request({
+ url: `/sf3d/area/getAoiByBgId`,
+ method: 'get',
+ requestBaseUrl: 'fengt',
+ params: {
+ bg_id,
+ adcode: 361102,
+ type: 0
+ }
+ })
+}
// 责任民警所属辖区
export const getVillageInfo = (aoiId) => {
@@ -220,29 +231,73 @@
})
}
+/**
+ * @description: 获取首页重点人员的数据
+ * @param {*} params
+ * @return {*}
+ */
+export const getPersonInfo = (params) => {
+ return request({
+ url: '/api/villagePersonInfo/villagePersonInfo/keyPersonnelCount',
+ method: 'get',
+ params: {
+ ...params,
+ }
+ })
+}
+
+
+/**
+ * @description: 获取首页重点人员列表信息
+ * @param {*} params
+ * @return {*}
+ */
+export const getPersonInfoPage = (params) => {
+ return request({
+ url: '/api/villagePersonInfo/villagePersonInfo/page',
+ method: 'get',
+ params: {
+ ...params,
+ }
+ })
+}
+
// 获取对应id下的派出所的责任区人口
-export const getVillagePersonStatisticInfoByPoliceStationId = (name, id) => {
+export const getVillagePersonStatisticInfoByPoliceStationId = (id, name) => {
return request({
url: `/api/villagePersonInfo/villagePersonInfo/getVillagePersonStatisticInfoByPoliceStationId`,
method: 'get',
params: {
- name,
- id
+ id,
+ name
}
})
}
// 获取该责任区下的人员列表信息
-export const getAreaPage = (current, size, areaId,policeName,phone) => {
+export const getAreaPage = (current, areaId, policeName, phone, size) => {
return request({
url: `/api/policeStationInfo/policeStationInfo/getAreaPage`,
method: 'get',
params: {
current,
- size,
areaId,
policeName,
- phone
+ phone,
+ size
+ }
+ })
+}
+
+
+// 获取现有房屋
+export const getHouseStatisticInfo = (deptld, isFollow) => {
+ return request({
+ url: `/api/houseStatistic/houseStatistic/getHouseStatisticInfo`,
+ method: 'get',
+ params: {
+ deptld,
+ isFollow
}
})
}
--
Gitblit v1.9.3