import axios from '@/libs/api.request'

// 重点人员总数
export const keyPersonStatisticsForTypeAll = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/keyPersonStatisticsForTypeAll',
    type: 'get',
    params: param
  })
}
// 重点人员按照类别统计
export const findKeyPersonStatisticsForType = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/findKeyPersonStatisticsForType',
    type: 'get',
    params: param
  })
}
// 按照城市统计重点人员数量
export const keyPersonStatisticsForCity = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/keyPersonStatisticsForCity',
    type: 'get',
    params: param
  })
}
// 按照年龄统计重点人员数量
export const keyPersonStatisticsForAge = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/keyPersonStatisticsForAge',
    type: 'get',
    params: param
  })
}
// 按照矛盾等级统计重点人员数量
export const keyPersonStatisticsForRiskLevel = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/keyPersonStatisticsForRiskLevel',
    type: 'get',
    params: param
  })
}
// 命案数量
export const homicideCaseStatisticsCount = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideCaseStatisticsCount',
    type: 'get',
    params: param
  })
}
// 命案统计-死亡人数
export const homicideCaseStatisticsCountDeadNumber = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideCaseStatisticsCountDeadNumber',
    type: 'get',
    params: param
  })
}
// 命案统计（一杀一人数量）
export const homicideCaseStatisticsCountOneKillOnePerson = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideCaseStatisticsCountOneKillOnePerson',
    type: 'get',
    params: param
  })
}
// 命案统计（一杀二人数量）
export const homicideCaseStatisticsCountOneKillTwoPerson = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideCaseStatisticsCountOneKillTwoPerson',
    type: 'get',
    params: param
  })
}
// 命案统计（一杀三人及以上数量）
export const homicideCaseStatisticsCountOneKillMorePerson = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideCaseStatisticsCountOneKillMorePerson',
    type: 'get',
    params: param
  })
}
// 犯罪嫌疑人按照年龄段分组
export const homicideSuspectStatisticsForAge = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideSuspectStatisticsForAge',
    type: 'get',
    params: param
  })
}
// 犯罪嫌疑人文化程度
export const homicideSuspectStatisticsForEduLevel = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideSuspectStatisticsForEduLevel',
    type: 'get',
    params: param
  })
}
// 犯罪嫌疑人职业
export const homicideSuspectStatisticsForCareerSituation = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideSuspectStatisticsForCareerSituation',
    type: 'get',
    params: param
  })
}
// 按照城市统计命案数量
export const homicideSuspectStatisticsForCityArea = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideSuspectStatisticsForCityArea',
    type: 'get',
    params: param
  })
}
// 按照区统计命案数量
export const homicideSuspectStatisticsForArea = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideSuspectStatisticsForArea',
    type: 'get',
    params: param
  })
}
// 犯罪嫌疑人案发原因分组
export const homicideSuspectStatisticsForReasonIncident = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideSuspectStatisticsForReasonIncident',
    type: 'get',
    params: param
  })
}
// 按照城市、区、街道、社区（分角色展示内容）统计重点人员数量
export const keyPersonStatisticsForChunk = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/keyPersonStatisticsForChunk',
    type: 'get',
    params: param
  })
}
// 按照城市、区、街道、社区（分角色展示内容）统计命案数量
export const homicideSuspectStatisticsForChunk = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/homicideSuspectStatisticsForChunk',
    type: 'get',
    params: param
  })
}
export const findKeyPersonStatistics = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/murderManagementService/findKeyPersonStatistics',
    type: 'post',
    params: param
  })
}
// 社会治安统计
export const socialSecurityStatistics = (param) => {
  return axios.request({
    url: '/api/ac/jilinsscgsdp/SocialSecurityServiceImpl/socialSecurityStatistics',
    type: 'post',
    params: param
  })
}
