| | |
| | | * @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: |
| | | * |
| | |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * @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({ |
| | |
| | | } |
| | | |
| | | // 获取该责任区下的人员列表信息 |
| | | export const getAreaPage = (current, areaId, policeName, phone) => { |
| | | export const getAreaPage = (current, areaId, policeName, phone, size) => { |
| | | return request({ |
| | | url: `/api/policeStationInfo/policeStationInfo/getAreaPage`, |
| | | method: 'get', |
| | |
| | | current, |
| | | areaId, |
| | | policeName, |
| | | phone |
| | | phone, |
| | | size |
| | | } |
| | | }) |
| | | } |