import request from '@/utils/request'
export const cjbs_detail = (data = {}) =>
  request({
    url: '/jdbg/xsjs_bsgl/detail',
    data: {
      issubmit: '1',
      bs_id: data.bs_id
    }
  })
export const xsxq_list = (data = {}) =>
  request({
    url: '/jdbg/xsjs_xsgl/index',
    data: {
      page: data.page,
      limit: data.limit,
      keyword: data.keyword,
      bs_id: data.bs_id,
    }
  })
export const xsxq_edit = (data = {}) =>
  request({
    url: '/jdbg/xsjs_xsgl/edit',
    data: {
      issubmit: '1',
      xs_id: data.xs_id,
      jdbg_xsjs_xsgl: {
        ry_id: data.ry_id,
        ry_name: data.ry_name,
        bs_id: data.bs_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,

    }
  })
