import request from '@/utils/request';

export const jl_list = (data = {}) =>
    request({
        url: '/xddy/dygl_xshjgl/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword:data.keyword,
            xdx_xsxh:data.xdx_xsxh,
            xdx_sjhm:data.xdx_sjhm
        }
    })
export const jl_del = (data = {}) =>
    request({
        url: '/xddy/dygl_xshjgl/delete',
        data: {
            xdx_id:data.xdx_id
        }
    })
export const jl_edit = (data = {}) =>
    request({
        url: '/xddy/dygl_xshjgl/edit',
        data: {
            issubmit:'1',
            xdx_id:data.xdx_id,
            xddy_dygl_xshjgl:{
                xdx_shzt:data.xdx_shzt
            }
        }
    })