import request from '@/utils/request'
export const xjk_list = (data = {}) =>
    request({
        url: '/xddy/dygl_xsxjk/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,
            xdx_xsxh: xdx_xsxh,
        }
    })

export const xjk_detail = (data = {}) =>
    request({
        url: '/xddy/dygl_xsxjk/detail',
        data: {
            xdx_id: data.xdx_id,
            xdx_xsxh: data.xdx_xsxh

        },
    })

export const xslb_list = (data = {}) =>
    request({
        url: '/xddy/xstzjk_xslb/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,
            xtj_xsxm: data.xtj_xsxm,
            xtj_xsxh: data.xtj_xsxh,
            grade_id: data.grade_id,
            grade_name: data.grade_name,
            class_id: data.class_id,
            class_name: data.class_name,
            xtj_jlrq: data.xtj_jlrq,
            xdx_id: data.xdx_id,
        }
    })


export const xslb_detail = (data = {}) =>
    request({
        url: '/xddy/xstzjk_xslb/detail',
        data: {
            xtj_id: data.xtj_id,
            xtj_xsxh: data.xtj_xsxh,
        },
    })


export const xs_list = (data = {}) =>
    request({
        url: '/xddy/dygl_xsczda_xs/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,
            grade_id: data.grade_id,
            grade_name: data.grade_name,
            class_id: data.class_id,
            class_name: data.class_name,
            xdxx_xsxh: data.xdxx_xsxh,
            xdxx_xsxb: data.xdxx_xsxb,

        }
    })

export const xs_detail = (data = {}) =>
    request({
        url: '/xddy/dygl_xsczda_xs/detail',
        data: {
            xdxx_id: data.xdxx_id,
            xdxx_xsxh: data.xdxx_xsxh,
        },
    })