student.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. import request from "@/utils/request"
  2. // 获取企业推荐信列表
  3. export const getRecommendationPage = async (data) => {
  4. return request({
  5. url: '/app-api/flames/student/recommendation/list',
  6. method: 'POST',
  7. data,
  8. custom: {
  9. openEncryption: true,
  10. showLoading: false,
  11. auth: true
  12. }
  13. })
  14. }
  15. // 获取实习证书列表
  16. export const getEnterpriseCertificateList = async (data) => {
  17. return request({
  18. url: '/app-api/flames/student/internship/certificate/list',
  19. method: 'POST',
  20. data,
  21. custom: {
  22. openEncryption: true,
  23. showLoading: false,
  24. auth: true
  25. }
  26. })
  27. }
  28. // 获取学校详情
  29. export const getSchoolDetails = async (data) => {
  30. return request({
  31. url: '/app-api/flames/school/detail',
  32. method: 'POST',
  33. data,
  34. custom: {
  35. openEncryption: true,
  36. showLoading: false,
  37. auth: true
  38. }
  39. })
  40. }
  41. // 获得学生实习记录分页
  42. export const getStudentPage = async (params) => {
  43. return request({
  44. url: '/app-api/menduner/system/student/page',
  45. method: 'GET',
  46. params,
  47. custom: {
  48. auth: true
  49. }
  50. })
  51. }
  52. // 获得学生实习报告列表
  53. export const getStudentReportList = async (params) => {
  54. return request({
  55. url: '/app-api/menduner/system/student/get/report/list',
  56. method: 'GET',
  57. params,
  58. custom: {
  59. auth: true
  60. }
  61. })
  62. }
  63. // 保存学生实习报告
  64. export const saveStudentReport = async (data) => {
  65. return request({
  66. url: '/app-api/menduner/system/student/report/save',
  67. method: 'POST',
  68. data,
  69. custom: {
  70. openEncryption: true,
  71. showLoading: false,
  72. auth: true
  73. }
  74. })
  75. }
  76. // 获取学生实习的企业列表
  77. export const getStudentPracticeCompanyList = async () => {
  78. return request({
  79. url: '/app-api/menduner/system/student/record-enterprise/list',
  80. method: 'GET',
  81. custom: {
  82. auth: true
  83. }
  84. })
  85. }