import request from '@/utils/request';
export const wdpfx_list = (data = {}) =>
    request({
        url: '/xddy/dygl_wypj_wdpfx/index',
        data,
    })
export const wdpfx_add = (data = {}) =>
    request({
        url: '/xddy/dygl_wypj_wdpfx/add',
        data: {
            issubmit: '1',
            xddy_dygl_wypj_wdpfx: {
                xdwwp_name: data.xdwwp_name,
                xdww_id: data.xdww_id,
            }
        }
    })
export const wdpfx_edit = (data = {}) =>
  request({
    url: "/xddy/dygl_wypj_wdpfx/edit",
    data: {
      issubmit: "1",
      xdwwp_id: data.xdwwp_id,
      xddy_dygl_wypj_wdpfx: {
        xdwwp_name: data.xdwwp_name,
        xdww_id: data.xdww_id,
      },
    },
  });
export const wdpfx_del = (data = {}) =>
    request({
        url: '/xddy/dygl_wypj_wdpfx/delete',
        data: {
            issubmit: '1',
            xdwwp_id: data.xdwwp_id,
        }
    })
