/*
 * @Author: yuananting
 * @Date: 2021-08-06 17:35:35
 * @LastEditors: yuananting
 * @LastEditTime: 2021-08-12 16:03:58
 * @Description: 任务中心接口
 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
 */
import Service from '@/common/js/service';

export function getTrainingTaskPage(params: object) {
  return Service.Hades('public/hades/getTrainingTaskPage', params);
}

export function getStoreTaskNum(params: object) {
  return Service.Hades('public/hades/getStoreTaskNum', params);
}

export function createTrainingExam(params: object) {
  return Service.Hades('public/hades/createTrainingExam', params);
}

export function createTrainingTask(params: object) {
  return Service.Hades('public/hades/createTrainingTask', params);
}

export function updateIssueStateTraining(params: object) {
  return Service.Hades('public/hades/updateIssueStateTraining', params);
}

export function deleteTrainingTask(params: object) {
  return Service.Hades('public/hades/deleteTrainingTask', params);
}

export function getTrainingTaskDetail(params: object) {
  return Service.Hades('public/hades/getTrainingTaskDetail', params);
}

export function updateTrainingTask(params: object) {
  return Service.Hades('public/hades/updateTrainingTask', params);
}

export function getTaskCustomerDetail(params: object) {
  return Service.Hades('public/hades/getTaskCustomerDetail', params);
}
