| | |
| | | }) |
| | | } |
| | | |
| | | export const getDeptLazyTree = (parentId, jurisdiction) => { |
| | | export const getDeptLazyTree = (parentId, userId) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/lazy-tree', |
| | | method: 'get', |
| | | params: { |
| | | parentId, |
| | | jurisdiction |
| | | userId |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const getSecurityDeptTree = (jurisdiction, parentId, deptId) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/security_lazy-tree', |
| | | method: 'get', |
| | | params: { |
| | | jurisdiction, |
| | | parentId, |
| | | deptId |
| | | } |
| | | }) |
| | | } |
| | |
| | | url: '/api/blade-system/role/selectRole', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | } |