resume.js 2.8 KB

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