import { getAction,getJons} from '@/api/manage'

//组件事例专用，请无视
const getUserList = (params)=>getAction("/sys/user/list",params);
const queryDepartTreeList = (params)=>getAction("/sysdepart/sysDepart/queryTreeList",params);
export const ajaxGetDictItems = (code, params)=>getAction(`/sys/dict/getDictItems/${code}`,params);
const queryUserByDepId = (params)=>getAction("/sys/user/queryUserByDepId",params);
const queryUserRoleMap = (params)=>getAction("/sys/user/queryUserRoleMap",params);
const getJonslist =()=>getJons('/json/school-center-ui.json')


export {
  getUserList,
  queryDepartTreeList,
  queryUserByDepId,
  queryUserRoleMap,
  getJonslist
}



