import request from '@/utils/request'
export const jjxx_list = (data = {}) =>
    request({
        url: '/jdbg/jxdddj_jyxxtz/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword
        }
    })
export const jjxx_add = (data = {}) =>
    request({
        url: '/jdbg/jxdddj_jyxxtz/add',
        data: {
            issubmit: '1',
            jdbg_jxdddj_jyxxtz: {
                jjxx_xxmc: data.jjxx_xxmc,
                jjxx_content: data.jjxx_content,
                jjxx_qtfj: data.jjxx_qtfj,
                jjxx_cjr: data.jjxx_cjr,
                jjxx_cjrq: data.jjxx_cjrq,
            }

        },
    })

export const jjxx_edit = (data = {}) =>
    request({
        url: '/jdbg/jxdddj_jyxxtz/edit',
        data: {
            issubmit: '1',
            jjxx_id: data.jjxx_id,
            jdbg_jxdddj_jyxxtz: {
                jjxx_xxmc: data.jjxx_xxmc,
                jjxx_content: data.jjxx_content,
                jjxx_qtfj: data.jjxx_qtfj,
                jjxx_cjr: data.jjxx_cjr,
                jjxx_cjrq: data.jjxx_cjrq,

            }

        },
    })

export const jjxx_del = (data = {}) =>
    request({
        url: '/jdbg/jxdddj_jyxxtz/delete',
        data: {
            jjxx_id: data.jjxx_id
        },
    })



