From 85489ac5e1be73b5ee016202efe125807e31334d Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Sun, 15 Jan 2023 17:19:34 +0800
Subject: [PATCH] 户籍人口柱状图接口对接
---
src/api/dept/index.js | 41 +++++++++++++++++++++++++++++++++++++----
1 files changed, 37 insertions(+), 4 deletions(-)
diff --git a/src/api/dept/index.js b/src/api/dept/index.js
index befcbbf..2737d8c 100644
--- a/src/api/dept/index.js
+++ b/src/api/dept/index.js
@@ -4,9 +4,9 @@
* @LastEditors: shuishen 1109946754@qq.com
* @LastEditTime: 2022-12-05 15:23:32
* @FilePath: \srs-police-affairs\src\api\dept\index.js
- * @Description:
- *
- * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved.
+ * @Description:
+ *
+ * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved.
*/
import request from "@/router/axios.js"
@@ -205,4 +205,37 @@
resBusId
}
})
-}
\ No newline at end of file
+}
+
+// 获取各个派出所的人口数量,以及人口总数和重点人员数量
+export const getVillagePersonStatisticInfo = () => {
+ return request({
+ url: `/api/villagePersonInfo/villagePersonInfo/getVillagePersonStatisticInfo`,
+ method: 'get',
+ })
+}
+
+// 获取对应id下的派出所的责任区人口
+export const getVillagePersonStatisticInfoByPoliceStationId = (name,id) => {
+ return request({
+ url: `/api/villagePersonInfo/villagePersonInfo/getVillagePersonStatisticInfoByPoliceStationId`,
+ method: 'get',
+ params: {
+ name,
+ id
+ }
+ })
+}
+
+// 获取该责任区下的人员列表信息
+export const getAreaPage = (current,size,areaId) => {
+ return request({
+ url: `/api/policeStationInfo/policeStationInfo/getAreaPage`,
+ method: 'get',
+ params: {
+ current,
+ size,
+ areaId
+ }
+ })
+}
--
Gitblit v1.9.3