import request from '@/utils/request';

export const wdsz_list = (data = {}) =>
    request({
        url: '/xddy/dygl_wypj_wdsz/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,


        }
    })
export const wdsz_add = (data = {}) =>
    request({
        url: '/xddy/dygl_wypj_wdsz/add',
        data: {
            issubmit: '1',
            xddy_dygl_wypj_wdsz: {
                xdww_name: data.xdww_name,

            }
        }
    })
export const wdsz_edit = (data = {}) =>
    request({
        url: '/xddy/dygl_wypj_wdsz/edit',
        data: {
            issubmit: '1',
            xdww_id: data.xdww_id,
            xddy_dygl_wypj_wdsz: {
                xdww_name: data.xdww_name,

            }
        }
    })
export const wdsz_del = (data = {}) =>
    request({
        url: '/xddy/dygl_wypj_wdsz/delete',
        data: {
            xdww_id: data.xdww_id,
        }
    })

