index.js 630 B

123456789101112131415161718192021222324252627282930313233
  1. import http from '@/utils/http'
  2. /**
  3. * page func
  4. * parameter: { }
  5. * @param parameter
  6. * @returns {*}
  7. */
  8. export function getGatherTask () {
  9. return http({
  10. url: '/index/gather/task/user',
  11. method: 'get',
  12. headers: {
  13. 'Content-Type': 'application/json;charset=UTF-8'
  14. }
  15. })
  16. }
  17. /**
  18. * page func
  19. * parameter: { }
  20. * @param parameter
  21. * @returns {*}
  22. */
  23. export function getGatherTaskRole (sbId) {
  24. return http({
  25. url: '/index/gather/task/role/' + sbId,
  26. method: 'get',
  27. headers: {
  28. 'Content-Type': 'application/json;charset=UTF-8'
  29. }
  30. })
  31. }