import request from '../../utils/request'
/**
 * 获取日语培训列表
 *
 */
export function getClassPruductList(data) {
  return request({
    url: '/order/GetClassPruductList',
    method: 'post',
    data
  })
}
/**
 * 获取订单来源 枚举
 *
 */
export function getOrderSourceEnumList(data) {
  return request({
    url: '/order/GetOrderSourceEnumList',
    method: 'post',
    data
  })
}

/**
 * 新增 修改订单
 *
 */
export function setClassOrder(data) {
  return request({
    url: '/order/SetClassOrder',
    method: 'post',
    data
  })
}

/**
 * 销售 我的订单
 *
 */
export function getMyOrderPageList(data) {
  return request({
    url: '/order/GetMyOrderPageList',
    method: 'post',
    data
  })
}

/**
 * 销售 我的订单状态
 *
 */
export function getOrderStateEnumList(data) {
  return request({
    url: '/order/GetOrderStateEnumList',
    method: 'post',
    data
  })
}

/**
 *  订单客人列表
 *
 */
export function getOrderGuestPageList(data) {
  return request({
    url: '/order/GetOrderGuestPageList',
    method: 'post',
    data
  })
}

/**
 *  日语基础枚举
 *
 */
export function getGuestBasicsEnumList(data) {
  return request({
    url: '/order/GetGuestBasicsEnumList',
    method: 'post',
    data
  })
}
/**
 *  日语基础枚举
 *
 */
export function getGuestEducationEnumList(data) {
  return request({
    url: '/order/GetGuestEducationEnumList',
    method: 'post',
    data
  })
}
/**
 *  获取学习目的 枚举
 *
 */
export function getGuestLearningGoalsEnumList(data) {
  return request({
    url: '/order/GetGuestLearningGoalsEnumList',
    method: 'post',
    data
  })
}
/**
 *  获取订单来自于 枚举
 *
 */
export function getOrderFormEnumList(data) {
  return request({
    url: '/order/GetOrderFormEnumList',
    method: 'post',
    data
  })
}
/**
 *  新增客人信息
 *
 */
export function setOrderGuestInfo(data) {
  return request({
    url: '/order/SetOrderGuestInfo',
    method: 'post',
    data
  })
}
/**
 *  删除客人名单
 *
 */
export function delOrderGuestInfo(data) {
  return request({
    url: '/order/DelOrderGuestInfo',
    method: 'post',
    data
  })
}
/**
 *  删除客人名单
 *
 */
export function updateOrderRemark(data) {
  return request({
    url: '/order/UpdateOrderRemark',
    method: 'post',
    data
  })
}
/**
 *  订单转交
 *
 */
export function setClassOrderCareOf(data) {
  return request({
    url: '/order/SetClassOrderCareOf',
    method: 'post',
    data
  })
}
/**
 *  修改订单销售
 *
 */
export function updateOrderSale(data) {
  return request({
    url: '/order/UpdateOrderSale',
    method: 'post',
    data
  })
}
/**
 *  订单取消
 *
 */
export function cancelClassOrder(data) {
  return request({
    url: '/order/CancelClassOrder',
    method: 'post',
    data
  })
}
/**
 *  获取订单详情
 *
 */
export function getClassOrderInfo(data) {
  return request({
    url: '/order/GetClassOrderInfo',
    method: 'post',
    data
  })
}
/**
 *  获取备注列表
 *
 */
export function getClassOrderRemarkList(data) {
  return request({
    url: '/order/GetClassOrderRemarkList',
    method: 'post',
    data
  })
}
/**
 *  获取订单操作日志列表
 *
 */
export function getClassOrderLogList(data) {
  return request({
    url: '/order/GetClassOrderLogList',
    method: 'post',
    data
  })
}


/**
 *  获取班级订单列表
 *
 */
export function quertClassOrderList(data) {
  return request({
    url: '/order/GetClassOrderList',
    method: 'post',
    data
  })
}

/**
 *  学员退课申请
 *
 */
export function SetBackClassApply(data) {
  return request({
    url: '/order/BackClassApply',
    method: 'post',
    data
  })
}

/**
 *  点击获取订单详情
 *
 */
export function getClassOrderForDetail(data) {
  return request({
    url: '/order/GetClassOrderForDetail',
    method: 'post',
    data
  })
}

/**
 *  修改提成和额外金额
 *
 */
export function UpdateOrderCommission(data) {
  return request({
    url: '/order/UpdateOrderCommission',
    method: 'post',
    data
  })
}

/**
 * 获取续课分页列表
 */
export function queryRenewClass(data) {
  return request({
    url: '/Stu/GetRenewClass',
    method: 'post',
    data
  })
}

/**
 * 保存续费订单
 */
export function saveRenewOrder(data) {
  return request({
    url: '/Stu/RenewOrder',
    method: 'post',
    data
  })
}
