guanqb
2023-01-15 8b2fc551d8bee2d2143a36e1e2fcd7e81d051b18
src/api/dept/index.js
@@ -146,4 +146,63 @@
            infos,
        }
    })
}
// 小区树形数据
export const getPoliceStationLazyTree = (type, id) => {
    return request({
        url: `/api/policeStationInfo/policeStationInfo/getPoliceStationLazyTree`,
        method: 'get',
        params: {
            type,
            id
        }
    })
}
// 转id
// export const getAoiByBgId = (bg_id) => {
//     return request({
//         url: `/sf3d/area/getAoiByBgId`,
//         method: 'get',
//         requestBaseUrl: 'fengt',
//         params: {
//             bg_id,
//             adcode: 361102,
//             type: 0
//         }
//     })
// }
// 责任民警所属辖区
export const getVillageInfo = (aoiId) => {
    return request({
        url: `/api/villageInfo/villageInfo/details`,
        method: 'get',
        params: {
            aoiId
        }
    })
}
// 户籍人口、重点人口信息
export const getVillagePersonStatisticInfoByBuildId = (buildId) => {
    return request({
        url: `/api/villagePersonInfo/villagePersonInfo/getVillagePersonStatisticInfoByBuildId`,
        method: 'get',
        params: {
            buildId
        }
    })
}
// 户籍人口、重点人口信息
export const getVillagePersonInfo = (resBusId) => {
    return request({
        url: `/api/villagePersonInfo/villagePersonInfo/page`,
        method: 'get',
        params: {
            resBusId
        }
    })
}