import request from '@/router/axios';
import { getToken } from '@/util/auth'
// 任务汇总概况
export const gatherInfo = (params) => {
  return request({
    url: '/api/jobslink-api/missions/station/gatherInfo',
    method: 'get',
    params: params
  })
}
// 任务明细概况
export const detailInfo = (params) => {
  return request({
    url: '/api/jobslink-api/missions/station/detailInfo',
    method: 'get',
    params: params
  })
}
// 任务汇总列表分页
export const gatherList = (params) => {
  return request({
    url: '/api/jobslink-api/missions/station/gatherList',
    method: 'get',
    params: params
  })
}
// 任务明细列表分页
export const detailList = (params) => {
  return request({
    url: '/api/jobslink-api/missions/station/detailList',
    method: 'get',
    params: params
  })
}
// 任务明细列表导出

export const stationExport=(status, companyName, missionNo, missionTitle, reviewState, stime, etime, current, size)=>{
  return  `jobslink-api/missions/station/export?status=${status}&companyName=${companyName}&missionNo=${missionNo}&missionTitle=${missionTitle}&reviewState=${reviewState}&stime=${stime}&etime=${etime}&current=${current}&size=${size}&Jobslink-Auth=${getToken()}`
}

