import request from '@/utils/request';

export const khhz_list = (data = {}) =>
    request({
        url: '/jdbg/jsldgl_myjsjxkh_khhz/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,
            jjmk_uo_name:data.jjmk_uo_name,
            jjmkl_jdshqk:'2',
            jjmkl_xdshqk:'1,3,4,5,6,7'
        }
    })
// 组织机构列表
export const org_list = (data = {}) => {
    return request({
        url: "/user/org/index",
        data: {
            site: "jnmf",
            limit: 999,
            page:1,
            ushool:'1',
            only_school:'1'
        },
    });
};
export const khhz_edit = (data = {}) => {
    return request({
        url: "/jdbg/jsldgl_myjsjxkh_khhz/edit",
        data: {
            issubmit:'1',
            jjmk_id: data.jjmk_id,
            jdbg_jsldgl_myjsjxkh_khhz:{
                jjmkl_xdshqk:data.jjmkl_xdshqk,
                jjmkl_xdshqk_clyj:data.jjmkl_xdshqk_clyj,
                jjmkl_jdshqk:data.jjmkl_jdshqk,
                jjmkl_jdshqk_clyj: data.jjmkl_jdshqk_clyj
            }
        },
    });
};

