import request from '/@/utils/request'; enum Api { DictTypeDataList = '/api/sysDictData/DataList', AllDictList = '/api/sysDictType/AllDictList', } // 根据字典类型编码获取字典值集合 export const getDictDataList = (params?: any) => request({ url: `${Api.DictTypeDataList}/${params}`, method: 'get', }); // 获取所有字典 export const getAllDictList = () => request({ url: `${Api.AllDictList}`, method: 'get', }); export const getUser = (params?: any) => request({ url: `/api/u8/getUser`, method: 'post', data: params }); export const getDept = (params?: any) => request({ url: `/api/u8/getDept`, method: 'post', data: params }) export const getJob = (params?: any) => request({ url: `/api/u8/getJob`, method: 'post', data: params })