import request from '@/utils/request'
export const xsxq_list = (data = {}) =>
  request({
    url: '/jdbg/xsjs_xsgl/index',
    data: {
      page: data.page,
      limit: data.limit,
      keyword: data.keyword,
      bb_id: data.bb_id
    }
  })
export const xsxq_detail = (data = {}) =>
  request({
    url: '/jdbg/xsjs_ttbb/detail',
    data: {
      bb_id: data.bb_id
    }
  })

export const rygl_list = (data = {}) =>
  request({
    url: '/jdbg/xsjs_rygl/index',
    data: {
      page: data.page,
      limit: data.limit,
      keyword: data.keyword,
      create_user_name: data.create_user_name,

    }
  })
export const sjhz_edit = (data = {}) =>
  request({
    url: '/jdbg/xsjs_ttbb/edit',
    data: {
      issubmit: '1',
      bb_id: data.bb_id,
      jdbg_xsjs_ttbb: {
        bb_name: data.bb_name,
        bb_year: data.bb_year,
        bb_school_id: data.bb_school_id,
        bb_school_name: data.bb_school_name,
        ry_id: data.ry_id,
        ry_name: data.ry_name,
        create_user_name: data.create_user_name,


      }

    },
  })
