import request from '@/router/axios';
/*获取主页待办提醒*/
export const getList =
    () => {
      return request({
        url: '/api/jobslink-api/missions/mission/apply/applyCount',
        method: 'get',
        params: {}
      })
    }

/*获取企业用户的各阶段的任务数*/
export const missionCount =
    () => {
      return request({
        url: '/api/jobslink-api/missions/report/company/mission/count',
        method: 'get',
        params: {}
      })
    }

/*获取企业的月度用工统计*/
export const employedCount =
    (year) => {
      return request({
        url: '/api/jobslink-api/missions/report/company/mission/employedCount',
        method: 'get',
        params: {year}
      })
    }

/*获取每月的工资统计*/
export const monthPay = (year) => {
  return request({
    url: '/api/jobslink-api/payment/payment/report/company/monthPay',
    method: 'get',
    params: {year}
  })
}
