import request from '@/utils/request';
export const hdlb_list = (data = {}) =>
    request({
        url: '/xddy/dygl_bjhd_hdlbgl/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword
        }
    })
export const hdlb_add = (data = {}) =>
    request({
        url: '/xddy/dygl_bjhd_hdlbgl/add',
        data: {
            issubmit:'1',
            xddy_dygl_bjhd_hdlbgl:{
                xdbh_name:data.xdbh_name,
                xdbh_shr_user_id:data.xdbh_shr_user_id,
                xdbh_shr_user_realname:data.xdbh_shr_user_realname,
                xdbh_sfqy:data.xdbh_sfqy,
                xdbh_code:data.xdbh_code
            }
        }
    })
export const hdlb_edit = (data = {}) =>
    request({
        url: '/xddy/dygl_bjhd_hdlbgl/edit',
        data: {
            issubmit:'1',
            xdbh_id:data.xdbh_id,
            xddy_dygl_bjhd_hdlbgl:{
                xdbh_name:data.xdbh_name,
                xdbh_shr_user_id:data.xdbh_shr_user_id,
                xdbh_shr_user_realname:data.xdbh_shr_user_realname,
                xdbh_sfqy:data.xdbh_sfqy,
                xdbh_code:data.xdbh_code
            }
        }
    })
export const hdlb_del = (data = {}) =>
    request({
        url: '/xddy/dygl_bjhd_hdlbgl/delete',
        data: {
            issubmit:'1',
            xdbh_id:data.xdbh_id
        }
    })
export const hd_list = (data = {}) =>
    request({
        url: '/xddy/dygl_bjhd/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword
        }
    })