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.
46 lines
1.5 KiB
46 lines
1.5 KiB
import request from '@/apis/request.js' |
|
const { get, post } = request |
|
|
|
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 = id => { |
|
return get('nakadai/nakadai/curriculum/chapter/queryChaptersAndSubsections/' + id) |
|
} |
|
|
|
export const curriculumDetail = (cid, mallId) => { |
|
return post(`nakadai/nakadai/curriculum/curriculumDetail?cid=${cid}&mallId=${mallId}`) |
|
} |
|
|
|
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) |
|
} |