resume.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. import request from "@/utils/request"
  2. // 投递简历分页
  3. export const getPersonCvPage = async (params) => {
  4. return request({
  5. url: '/app-api/menduner/system/recruit/person-cv/page',
  6. params,
  7. method: 'GET',
  8. custom: {
  9. showLoading: false,
  10. auth: true
  11. }
  12. })
  13. }
  14. // 不合适简历分页
  15. export const personCvUnfitPage = async (params) => {
  16. return request({
  17. url: '/app-api/menduner/system/recruit/person-cv/unfitPage',
  18. params,
  19. method: 'GET',
  20. custom: {
  21. showLoading: false,
  22. auth: true
  23. }
  24. })
  25. }
  26. // 不合适
  27. export const joinEliminate = async (data) => {
  28. return request({
  29. url: '/app-api/menduner/system/recruit/person-cv/unfit/eliminate',
  30. method: 'POST',
  31. data,
  32. custom: {
  33. showLoading: false,
  34. auth: true
  35. }
  36. })
  37. }
  38. // 取消不合适
  39. export const personCvUnfitCancel = async (id) => {
  40. return request({
  41. url: '/app-api/menduner/system/recruit/person-cv/unfit/cancellation?id=' + id,
  42. method: 'POST',
  43. custom: {
  44. showLoading: false,
  45. auth: true
  46. }
  47. })
  48. }
  49. // 加入储备
  50. export const joinToTalentPool = async (id) => {
  51. return request({
  52. url: `/app-api/menduner/system/enterprise-talent-pool/add?userId=${id}`,
  53. method: 'POST',
  54. custom: {
  55. openEncryption: true,
  56. showLoading: false,
  57. auth: true
  58. }
  59. })
  60. }
  61. // 入职
  62. export const personEntryByEnterprise = async (id) => {
  63. return request({
  64. url: `/app-api/menduner/system/recruit/person-cv/entry?id=${id}`,
  65. method: 'POST',
  66. custom: {
  67. showLoading: false,
  68. auth: true
  69. }
  70. })
  71. }
  72. // 结算
  73. export const hireJobCvRelSettlement = async (id) => {
  74. return request({
  75. url: `/app-api/menduner/system/recruit/person-cv/settlement?id=${id}`,
  76. method: 'POST',
  77. custom: {
  78. showLoading: false,
  79. auth: true
  80. }
  81. })
  82. }
  83. // 记录查看简历
  84. export const personJobCvLook = async (id) => {
  85. return request({
  86. url: `/app-api/menduner/system/recruit/person-cv/look?id=${id}`,
  87. method: 'POST',
  88. custom: {
  89. showLoading: false,
  90. auth: true,
  91. openEncryption: true
  92. }
  93. })
  94. }
  95. // 根据专业名称模糊搜索
  96. export const schoolMajorByName = async (params) => {
  97. return request({
  98. url: '/app-api/menduner/system/major/search/by/name',
  99. params,
  100. method: 'GET',
  101. custom: {
  102. showLoading: false,
  103. auth: true
  104. }
  105. })
  106. }
  107. // 根据专业id搜索
  108. export const schoolMajorById = async (params) => {
  109. return request({
  110. url: '/app-api/menduner/system/major/get',
  111. params,
  112. method: 'GET',
  113. custom: {
  114. showLoading: false,
  115. auth: true
  116. }
  117. })
  118. }