mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +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'});
|
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 {
|
export default {
|
||||||
detail,
|
detail,
|
||||||
update,
|
update,
|
||||||
@@ -61,5 +71,6 @@ export default {
|
|||||||
save,
|
save,
|
||||||
querylist,
|
querylist,
|
||||||
pulish,
|
pulish,
|
||||||
exports
|
exports,
|
||||||
|
enabled
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user