import request from '@/utils/request'

/** 看板主数据 GET /bigScreen/home/dashboard */
export function getHomeDashboard(statYear) {
  return request({
    url: '/bigScreen/home/dashboard',
    method: 'get',
    params: { statYear }
  })
}

/** 养殖标准分页 GET /bigScreen/home/standards */
export function getHomeStandards(params) {
  return request({
    url: '/bigScreen/home/standards',
    method: 'get',
    params
  })
}

/** 地图乡镇标注 GET /bigScreen/home/townMapMarkers */
export function getTownMapMarkers(statYear) {
  return request({
    url: '/bigScreen/home/townMapMarkers',
    method: 'get',
    params: { statYear }
  })
}

/** 草畜失衡预警明细 GET /bigScreen/home/grassLivestockImbalanceWarnings */
export function getGrassLivestockImbalanceWarnings(params) {
  return request({
    url: '/bigScreen/home/grassLivestockImbalanceWarnings',
    method: 'get',
    params
  })
}

/** 人均收入情况明细 GET /bigScreen/home/perCapitaIncomes */
export function getPerCapitaIncomes(params) {
  return request({
    url: '/bigScreen/home/perCapitaIncomes',
    method: 'get',
    params
  })
}

/** 农牧户数据明细 GET /bigScreen/home/farmerHouseholds */
export function getFarmerHouseholds(params) {
  return request({
    url: '/bigScreen/home/farmerHouseholds',
    method: 'get',
    params
  })
}

/** 合作社发展数据明细 GET /bigScreen/home/cooperativeDevelopments */
export function getCooperativeDevelopments(params) {
  return request({
    url: '/bigScreen/home/cooperativeDevelopments',
    method: 'get',
    params
  })
}

/** 家庭牧场数据明细 GET /bigScreen/home/familyRanches */
export function getFamilyRanches(params) {
  return request({
    url: '/bigScreen/home/familyRanches',
    method: 'get',
    params
  })
}

/** 养殖大户数据明细 GET /bigScreen/home/largeLivestockFarmers */
export function getLargeLivestockFarmers(params) {
  return request({
    url: '/bigScreen/home/largeLivestockFarmers',
    method: 'get',
    params
  })
}

/** 牦牛出栏/自食情况明细 GET /bigScreen/home/yakOutboundReports */
export function getYakOutboundReports(params) {
  return request({
    url: '/bigScreen/home/yakOutboundReports',
    method: 'get',
    params
  })
}

/** 牦牛存栏结构明细 GET /bigScreen/home/yakHerdInventories */
export function getYakHerdInventories(params) {
  return request({
    url: '/bigScreen/home/yakHerdInventories',
    method: 'get',
    params
  })
}

/** 牦牛存出栏情况明细 GET /bigScreen/home/yakInventoryOutbounds */
export function getYakInventoryOutbounds(params) {
  return request({
    url: '/bigScreen/home/yakInventoryOutbounds',
    method: 'get',
    params
  })
}

/** 有无畜户数据明细 GET /bigScreen/home/livestockOwnershipHouseholds */
export function getLivestockOwnershipHouseholds(params) {
  return request({
    url: '/bigScreen/home/livestockOwnershipHouseholds',
    method: 'get',
    params
  })
}

/** 养殖主体数量明细 GET /bigScreen/home/breedingEntityQuantities */
export function getBreedingEntityQuantities(params) {
  return request({
    url: '/bigScreen/home/breedingEntityQuantities',
    method: 'get',
    params
  })
}

/** 乡镇列表 GET /bigScreen/home/townOptions */
export function getTownOptions() {
  return request({
    url: '/bigScreen/home/townOptions',
    method: 'get'
  })
}

/** 村树结构 GET /bigScreen/home/villageTree */
export function getVillageTree() {
  return request({
    url: '/bigScreen/home/villageTree',
    method: 'get'
  })
}
