| | |
| | | * @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" |
| | | |
| | |
| | | resBusId |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | |
| | | // 获取各个派出所的人口数量,以及人口总数和重点人员数量 |
| | | 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 |
| | | } |
| | | }) |
| | | } |