You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.8 KiB
58 lines
1.8 KiB
import request from '@/apis/request.js' |
|
const { get, post } = request |
|
|
|
export const getPlayAuth = id => { |
|
return get('nakadai/nakadai/oss/getPlayAuth/' + id) |
|
} |
|
|
|
export const getSchoolCourseAuthority = () => { |
|
return get('nakadai/nakadai/curriculum/getSchoolCourseAuthority') |
|
} |
|
|
|
export const recentUse = data => { |
|
return post('nakadai/nakadai/curriculum/recentUse', data) |
|
} |
|
|
|
export const schoolCourse = data => { |
|
return get('nakadai/nakadai/curriculum/schoolCourse', data) |
|
} |
|
|
|
export const queryChaptersAndSubsections = data => { |
|
return get('nakadai/nakadai/curriculum/chapter/queryChaptersAndSubsections', data) |
|
} |
|
|
|
export const detailsOfGoods = data => { |
|
return get(`nakadai/mall/detailsOfGoods`, data) |
|
} |
|
|
|
export const queryPracticeByStudent = data => { |
|
return post('occupationlab/occupationlab/achievement/queryPracticeByStudent', data) |
|
} |
|
|
|
export const queryAssessmentByStudent = data => { |
|
return post('occupationlab/occupationlab/achievement/queryAssessmentByStudent', data) |
|
} |
|
|
|
export const practiceByStudentDetail = data => { |
|
return post(`occupationlab/occupationlab/achievement/practiceByStudentDetail?curriculumId=${data.cid}&projectId=${data.projectId}&paperId=${data.paperId}&pageNum=${data.page}&pageSize=${data.pageSize}`) |
|
} |
|
|
|
export const experimentOverview = () => { |
|
return get('occupationlab/occupationlab/achievement/experimentOverview') |
|
} |
|
|
|
export const getSchoolEffectiveCourse = () => { |
|
return get('nakadai/nakadai/curriculum/getSchoolEffectiveCourse') |
|
} |
|
|
|
export const exportExamPaperReport = data => { |
|
return get('exam/exam/paper/exportExamPaperReport', data) |
|
} |
|
|
|
export const playRecordSave = data => { |
|
return post('occupationlab/occupationlab/playRecord/save', data) |
|
} |
|
|
|
export const recordRecentUsage = mallId => { |
|
return post(`nakadai/nakadai/curriculum/recordRecentUsage?mallId=${mallId}`) |
|
} |