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.
77 lines
3.7 KiB
77 lines
3.7 KiB
import http from './index.js';
|
|
|
|
export const examListInCourseReq = data => http.post('/exam/exam-detail/list-in-course', data)
|
|
|
|
export const examListInKnowledgeReq = data => http.post('/exam/exam-detail/list-in-knowledge', data)
|
|
|
|
export const userWrongListReq = data => http.post('/exam/user-wrong-list/list-for-user', data)
|
|
|
|
export const examDetailRandListReq = data => http.post('/exam/exam-detail/rand-list', data)
|
|
|
|
export const examDetailRandOneReq = data => http.post('/exam/exam-detail/rand-one', data)
|
|
|
|
export const examKnowledgeStructureListReq = data => http.post('/exam/knowledge-structure/list-by-course', data)
|
|
export const knowledgeStructureListInTrainReq = data => http.post('/exam/knowledge-structure/list-in-train', data)
|
|
|
|
export const examCourseInfoReq = data => http.post('/exam/course/info', data)
|
|
|
|
export const examCourseNextLevelReq = data => http.post('/exam/course/next-level', data)
|
|
|
|
export const examCourseGroupLevelReq = data => http.post('/exam/course/group-level', data)
|
|
|
|
export const trainSimExamListReq = data => http.post('/train/train-sim-exam-list/list-for-front', data)
|
|
|
|
export const paperDetailListReq = data => http.post('/exam/paper-detail/list-for-front', data)
|
|
|
|
export const examResultActionReq = data => http.post('/exam/result/action', data)
|
|
|
|
export const examResultUserListReq = data => http.post('/exam/result/user-list', data)
|
|
|
|
export const paperInfoReq = data => http.post('/exam/paper/info', data)
|
|
|
|
export const trainExamReviewReq = data => http.post('/train/train-exam-review/get-by-exam', data)
|
|
|
|
export const examCheckHasResultReq = data => http.post('/exam/result/check-has-result', data)
|
|
|
|
export const trainExamAddTimeReq = data => http.post('/train/train-exam-people-list/add-time', data)
|
|
|
|
export const addExamCorrectionReq = data => http.post('/exam/correction', data)
|
|
|
|
export const addExamUpgradeReq = data => http.post('/exam/upgrade', data)
|
|
|
|
export const getExamReq = id => http.get(`/exam/paper-detail/${id}`)
|
|
export const trainExamStaffListReq = () => http.get(`/train/train-exam-staff/user-list`)
|
|
export const operatePaperDetailReq = params => http.get(`/exam/operate-paper-detail`, {params})
|
|
export const operateScoreActionReq = (data) => http.post(`/exam/operate-score`, data)
|
|
export const operateScoreListReq = (params) => http.get(`/exam/operate-score`, {params})
|
|
export const operateScoreCheckReq = (data) => http.post(`/exam/operate-score/check-score`, data)
|
|
export const operateScoreRefuseReq = (data) => http.post(`/exam/operate-score/check-score-refuse`, data)
|
|
|
|
|
|
export const TASK_TYPE_LIST = [
|
|
{value: 'judge', label: '判断题'},
|
|
{value: 'single', label: '单选题'},
|
|
{value: 'single_discrete', label: '单选离散题'},
|
|
{value: 'multi', label: '多选题'},
|
|
{value: 'multi_discrete', label: '多选离散题'},
|
|
{value: 'sort', label: '排序题'},
|
|
{value: 'match', label: '匹配题'},
|
|
{value: 'simple_fill', label: '简单填空'},
|
|
{value: 'answer', label: '简答题'},
|
|
{value: 'fill', label: '填空题'},
|
|
{value: 'cal', label: '计算题'},
|
|
{value: 'essay', label: '论述题'},
|
|
{value: 'explain', label: '名词解释'},
|
|
{value: 'drafting', label: '制图题'},
|
|
{value: 'correct', label: '改错题'},
|
|
{value: 'design', label: '方案设计'},
|
|
{value: 'action', label: '操作题'},
|
|
{value: 'sim', label: '模拟题'},
|
|
{value: 'example', label: '案例题'},
|
|
{value: 'context', label: '情境题'},
|
|
{value: 'cal-analysis', label: '计算分析'},
|
|
{value: 'drag', label: '拖拽题'},
|
|
{value: 'analysis', label: '分析题'},
|
|
]
|
|
|
|
export const ANSWER_CHAR = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
|