mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 05:46:43 +08:00
提交修改
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user