school.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. import request from '@/config/axios'
  2. // 获取学校基本信息
  3. export const getSchoolInformation = async () => {
  4. return await request.get({
  5. url: '/app-api/menduner/system/teacher/info/get'
  6. })
  7. }
  8. // 注册学校账号
  9. export const schoolRegister = async (data) => {
  10. return await request.post({
  11. url: '/app-api/menduner/system/teacher/info/register',
  12. data
  13. })
  14. }
  15. // 学生列表
  16. export const studentList = async (data) => {
  17. return await request.post({
  18. url: '/app-api/flames/student/list',
  19. data
  20. })
  21. }
  22. // 学生详情
  23. export const stuDetail = async (data) => {
  24. return await request.post({
  25. url: '/app-api/flames/student/detail',
  26. data
  27. })
  28. }
  29. // 实习证书
  30. export const certificateList = async (data) => {
  31. return await request.post({
  32. url: '/app-api/flames/student/internship/certificate/list',
  33. data
  34. })
  35. }
  36. // 推荐信
  37. export const recommendationList = async (data) => {
  38. return await request.post({
  39. url: '/app-api/flames/student/recommendation/list',
  40. data
  41. })
  42. }
  43. // 学生实习情况
  44. export const studentPracticeStatistics = async (data) => {
  45. return await request.post({
  46. url: '/app-api/flames/school/student/internship/statistics',
  47. data
  48. })
  49. }
  50. // 实习企业列表
  51. export const internshipCompanyList = async (data) => {
  52. return await request.post({
  53. url: '/app-api/flames/enterprise/school/practice/list',
  54. data
  55. })
  56. }
  57. // 学校列表
  58. export const flameSchoolList = async (params) => {
  59. return await request.get({
  60. url: '/app-api/menduner/system/school/list',
  61. params
  62. })
  63. }
  64. // 更新老师信息
  65. export const updateTeacherInfo = async (data) => {
  66. return await request.post({
  67. url: '/app-api/menduner/system/teacher/info/update',
  68. data
  69. })
  70. }
  71. // 更新学校信息
  72. export const updateSchoolInfo = async (data) => {
  73. return await request.post({
  74. url: '/app-api/menduner/system/teacher/school/update',
  75. data
  76. })
  77. }
  78. // 获取学校机构列表
  79. export const getSchoolOrganizationList = async (params) => {
  80. return await request.get({
  81. url: '/app-api/menduner/system/teacher/school/organization/list',
  82. params
  83. })
  84. }