mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
考试的上下架
This commit is contained in:
@@ -54,6 +54,16 @@ const exports=function (query){
|
||||
return ajax.post('/xboe/m/exam/alone/answer/export',query,{responseType: 'blob'});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param{
|
||||
* id 考试id
|
||||
* enabled true 上架 false 下架
|
||||
* }
|
||||
* */
|
||||
const enabled=function(query){
|
||||
return ajax.post('/xboe/m/exam/test/enabled',query);
|
||||
}
|
||||
|
||||
export default {
|
||||
detail,
|
||||
update,
|
||||
@@ -61,5 +71,6 @@ export default {
|
||||
save,
|
||||
querylist,
|
||||
pulish,
|
||||
exports
|
||||
exports,
|
||||
enabled
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user