search.js 857 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import request from "@/utils/request"
  2. // 获取发布的职位列表
  3. export const getJobAdvertised = async (params) => {
  4. return request({
  5. url: '/app-api/menduner/system/recruit/job-advertised/list',
  6. method: 'GET',
  7. params,
  8. custom: {
  9. showLoading: false,
  10. auth: true
  11. }
  12. })
  13. }
  14. // 根据职位id获取推荐人才列表
  15. export const getPersonRecommendPage = (params) => {
  16. return request({
  17. url: '/app-api/menduner/system/recruit/person-recommend/page',
  18. method: 'GET',
  19. params,
  20. custom: {
  21. openEncryption: true,
  22. showLoading: false,
  23. auth: false
  24. }
  25. })
  26. }
  27. // 根据条件搜索人才
  28. export const getPersonConditionSearchPage = (params) => {
  29. return request({
  30. url: '/app-api/menduner/system/recruit/person-search/page',
  31. method: 'GET',
  32. params,
  33. custom: {
  34. openEncryption: true,
  35. showLoading: false,
  36. auth: false
  37. }
  38. })
  39. }