From 1e854f96cd776d413aaf23fde4e614cf848d1b10 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Mon, 30 Jan 2023 17:35:14 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
---
src/api/dept/index.js | 38 +++++++++++++++++++++++++++++++++++---
1 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/src/api/dept/index.js b/src/api/dept/index.js
index 39fa00c..e5566d6 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-30 15:22:52
* @FilePath: \srs-police-affairs\src\api\dept\index.js
* @Description:
*
@@ -231,6 +231,37 @@
})
}
+/**
+ * @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) => {
return request({
@@ -244,7 +275,7 @@
}
// 获取该责任区下的人员列表信息
-export const getAreaPage = (current, areaId, policeName, phone) => {
+export const getAreaPage = (current, areaId, policeName, phone, size) => {
return request({
url: `/api/policeStationInfo/policeStationInfo/getAreaPage`,
method: 'get',
@@ -252,7 +283,8 @@
current,
areaId,
policeName,
- phone
+ phone,
+ size
}
})
}
--
Gitblit v1.9.3