shuishen
2023-01-30 de2010a6eba11be443a5d875fde07214a25fbfb3
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
        }
    })
}