jobFair.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. import request from "@/utils/request"
  2. // 获得招聘会列表
  3. export const getJobFairList = (params) => {
  4. return request({
  5. url: '/app-api/menduner/system/job-fair/list',
  6. method: 'GET',
  7. params,
  8. custom: {
  9. showLoading: false,
  10. auth: false
  11. }
  12. })
  13. }
  14. // 获得招聘会-招聘会详情
  15. export const getJobFair = (id) => {
  16. return request({
  17. url: '/app-api/menduner/system/job-fair/get',
  18. method: 'GET',
  19. params: { id },
  20. custom: {
  21. showLoading: false,
  22. auth: false
  23. }
  24. })
  25. }
  26. // 招聘会企业分页查询
  27. export const getJobFairEnterprisePage = (params) => {
  28. return request({
  29. url: '/app-api/menduner/system/job-fair/enterprise/page',
  30. method: 'GET',
  31. params,
  32. custom: {
  33. showLoading: false,
  34. auth: false
  35. }
  36. })
  37. }
  38. // 根据企业id查询招聘会职位列表
  39. export const getJobFairEntJobPage = (params) => {
  40. return request({
  41. url: '/app-api/menduner/system/job-fair/detail/page',
  42. method: 'GET',
  43. params,
  44. custom: {
  45. showLoading: false,
  46. auth: false
  47. }
  48. })
  49. }
  50. // 保存分享参数
  51. export const saveShareQuery = (data) => {
  52. return request({
  53. url: '/app-api/menduner/system/share/share',
  54. method: 'POST',
  55. data,
  56. custom: {
  57. showLoading: false,
  58. auth: false
  59. }
  60. })
  61. }
  62. // 根据id获取分享参数
  63. export const getShareQueryById = (params) => {
  64. return request({
  65. url: '/app-api/menduner/system/share/get',
  66. method: 'GET',
  67. params,
  68. custom: {
  69. showLoading: false,
  70. auth: false
  71. }
  72. })
  73. }