index.ts 551 B

123456789101112131415161718192021222324252627
  1. /*
  2. * @FilePath: index.ts
  3. * @Author: king
  4. * @Date: 2023-01-16 11:23:27
  5. * @LastEditors: king
  6. * @LastEditTime: 2023-01-16 11:31:04
  7. * Copyright: 2023@king.
  8. * @Description: Do not edit
  9. */
  10. //部门列表
  11. import request from '@/utils/request'
  12. export function getDepartmentList(params: any) {
  13. return request({
  14. url: '/base/department/select-options',
  15. method: 'get',
  16. params,
  17. })
  18. }
  19. //用户列表
  20. export function getPersonList(params: any) {
  21. return request({
  22. url: '/base/admin/select-options',
  23. method: 'get',
  24. params,
  25. })
  26. }