提交修改

This commit is contained in:
daihh
2022-08-12 16:34:20 +08:00
parent 65f7bd6df9
commit e49969d587
3 changed files with 33 additions and 4 deletions

View File

@@ -31,9 +31,20 @@ const getLast = function(examId){
return ajax.get('/xboe/m/exam/alone/user/last?testId='+examId);
}
/**
* 检查试卷是否已经使用并推送了,
* 返回true 代表已推送,就不能再编辑试卷的试题了,如果返回 false 代表未推送,可以编辑试卷试题
* @param paperId
*/
const checkPaper = function(paperId){
return ajax.post('/xboe/m/exam/task/check-paper',{paperId});
}
export default {
pushExecute,
myList,
getLast
getLast,
checkPaper
}