interview.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. import request from "@/utils/request"
  2. // 面试信息分页
  3. export const getInterviewInvitePage = async (params) => {
  4. return request({
  5. url: '/app-api/menduner/system/recruit/interview-invite/page',
  6. params,
  7. method: 'GET',
  8. custom: {
  9. showLoading: false,
  10. auth: true
  11. }
  12. })
  13. }
  14. // 完成面试
  15. export const completedInterviewInvite = async (id) => {
  16. return request({
  17. url: `/app-api/menduner/system/recruit/interview-invite/completed?id=${id}`,
  18. method: 'POST',
  19. custom: {
  20. showLoading: false,
  21. openEncryption: true,
  22. auth: true
  23. }
  24. })
  25. }
  26. // 取消面试
  27. export const cancelInterviewInvite = async (data) => {
  28. return request({
  29. url: '/app-api/menduner/system/recruit/interview-invite/cancellation',
  30. method: 'POST',
  31. data,
  32. custom: {
  33. showLoading: false,
  34. auth: true
  35. }
  36. })
  37. }
  38. // 未能爽约面试
  39. export const noAttendInterviewInvite = async (data) => {
  40. return request({
  41. url: '/app-api/menduner/system/recruit/interview-invite/not/attended',
  42. method: 'POST',
  43. data,
  44. custom: {
  45. showLoading: false,
  46. auth: true
  47. }
  48. })
  49. }
  50. // 面试反馈
  51. export const feedbackInterviewInvite = async (data) => {
  52. return request({
  53. url: '/app-api/menduner/system/recruit/interview-invite/feedback',
  54. method: 'POST',
  55. data,
  56. custom: {
  57. showLoading: false,
  58. auth: true
  59. }
  60. })
  61. }