class.js 689 B

12345678910111213141516171819202122232425262728293031323334
  1. import axios from '@/utils/request'
  2. // 获取年级
  3. export function ClassList (data) {
  4. return axios({
  5. url: 'bjdxWeb/course/getTypeGrade',
  6. method: 'get',
  7. data
  8. })
  9. }
  10. // 根据年级id获取教学大纲 通识课
  11. export function ClassOutline (id) {
  12. return axios({
  13. url: 'bjdxWeb/course/getTypeTsByGradeId?id=' + id ,
  14. method: 'get'
  15. })
  16. }
  17. // 实操课
  18. export function ClassOutlineSc (id) {
  19. return axios({
  20. url: 'bjdxWeb/course/getTypeScByGradeId?id=' + id ,
  21. method: 'get'
  22. })
  23. }
  24. // 根据类型id获取课程列表
  25. export function ClassType (typeId) {
  26. return axios({
  27. url: 'bjdxWeb/course/getCourseByTypeId?typeId=' + typeId,
  28. method: 'get'
  29. })
  30. }