import request from '@/common/request' // 用户信息 export function getUserInfo() { return request.get({ url: '/system/admin/self' }) } export function listByCurrentDept(query) { return request.get({ url: '/system/admin/listByCurrentDept', query}) } export function getLeaderList(type) { return request.get({ url: '/system/admin/leader/list?type=' + type}) }