import request from '@/utils/request';
export const bzr_list = (data = {}) =>
  request({
    url: '/khfw/kcbkb/weeksheet',
    data: {
      ex: "byweek",
      cm_id: data.cm_id,
      kxq_code:data.kxq_code
    }
  })

export const kc_detail = (data = {}) =>
  request({
    url: '/khfw/kcbkb/detail_mix',
    data: {
      kkbk_id: data.kkbk_id,
    }
  })
// 预点名
export const stxkjs_check = (data = {}) =>
  request({
    url: '/khfw/kccq/checkin',
    data,
    // data: {
    //   kkbk_id: data.kkbk_id,
    //   member: {
    //     kccq_cqycxsbh: data.kccq_cqycxsbh,
    //     kccq_cqycxsxm: data.kccq_cqycxsxm,
    //     kccq_cqycztbh: data.kccq_cqycztbh
    //   },
    //   kccq_sfydm: 1
    // }
  })
export const ydm_list = (data = {}) =>
  request({
    url: '/khfw/kcbmxx/class_index',
    data: {
      api: "json",
      issubmit: "1",
      cm_id: data.cm_id,
      cm_name: data.cm_name
    }
  })
