interview.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 saveInterviewInvite = async (data) => {
  28. return request({
  29. url: '/app-api/menduner/system/recruit/interview-invite/save',
  30. method: 'POST',
  31. data,
  32. custom: {
  33. showLoading: false,
  34. openEncryption: true,
  35. auth: true
  36. }
  37. })
  38. }
  39. // 取消面试
  40. export const cancelInterviewInvite = async (data) => {
  41. return request({
  42. url: '/app-api/menduner/system/recruit/interview-invite/cancellation',
  43. method: 'POST',
  44. data,
  45. custom: {
  46. showLoading: false,
  47. auth: true
  48. }
  49. })
  50. }
  51. // 未能爽约面试
  52. export const noAttendInterviewInvite = async (data) => {
  53. return request({
  54. url: '/app-api/menduner/system/recruit/interview-invite/not/attended',
  55. method: 'POST',
  56. data,
  57. custom: {
  58. showLoading: false,
  59. auth: true
  60. }
  61. })
  62. }
  63. // 面试反馈
  64. export const feedbackInterviewInvite = async (data) => {
  65. return request({
  66. url: '/app-api/menduner/system/recruit/interview-invite/feedback',
  67. method: 'POST',
  68. data,
  69. custom: {
  70. showLoading: false,
  71. auth: true
  72. }
  73. })
  74. }