index.ts 1.0 KB

1234567891011121314151617181920
  1. import $http from '../index'
  2. // 获取列表
  3. export const User_Power_List = (params: any) => $http.post('/api/user/Power/List', params)
  4. // 权限系统列表
  5. export const User_Sys_List = (params: any) => $http.post('/api/user/Power/Sys_List', params)
  6. // 弹框菜单
  7. export const Menu_List = (params: any): any => $http.post('/api/user/Menu/List', params)
  8. // 左侧菜单栏
  9. export const Menu_User_List = (params: any) => $http.post('/api/user/Menu/User_List', params)
  10. // 添加角色名
  11. export const User_Power_Add = (params: any): any => $http.post('/api/user/Power/Add', params)
  12. // 编辑角色名
  13. export const User_Power_Edit = (params: any): any => $http.post('/api/user/Power/Edit', params)
  14. // 删除角色名
  15. export const User_Power_Del = (params: any): any => $http.post('/api/user/Power/Del', params)
  16. // 编辑菜单
  17. export const User_Power_Edit_Menu = (params: any): any => $http.post('/api/user/Power/Edit_Menu', params)
  18. // 获取用户权限
  19. export const User_Power_Get = (params: any): any => $http.post('/api/user/Power/Get', params)