organization.js 480 B

12345678910111213141516171819202122232425
  1. import {
  2. request
  3. } from '@/request/request.js';
  4. /*
  5. * 获取组织项目部门列表
  6. *
  7. *
  8. */
  9. export function getPartList(organizationId, projectId) {
  10. return request({
  11. url: `/manager/role/${organizationId}/${projectId}`,
  12. method: 'get'
  13. })
  14. }
  15. /*
  16. * 获取组织项目部门用户列表
  17. *
  18. *
  19. */
  20. export function getUserListByPart(data) {
  21. return request({
  22. url: `/manager/user/list/${data.organizationId}/${data.partId}`,
  23. method: 'post'
  24. })
  25. }