2022年5月29日从svn移到git

This commit is contained in:
daihh
2022-05-29 18:56:34 +08:00
commit b050613020
488 changed files with 68444 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
// 试题
import ajax from '@/utils/xajax.js'
// 分页查询
// pageIndex 第几页
// pageSize 一页展示多少行
// type类型 title 题干 // ownership22级资源归属
// ownership11级资源归属
// ownership33级资源归属
const querylist = function(query) {
return ajax.post('/xboe/m/exam/question/page', query);
}
// 添加,参数给截图
const save = function(data) {
return ajax.postJson('/xboe/m/exam/question/save', data);
}
// 详情
// 参数 id
const detail = function(id) {
return ajax.get('/xboe/m/exam/question/detail?id=' + id);
}
// 修改 参数给截图
const update = function(data) {
return ajax.postJson('/xboe/m/exam/question/update', data);
}
// 删除 id
const del = function(id) {
return ajax.get('/xboe/m/exam/question/delete?id=' + id);
}
// 查所有试题
const query=function(){
return ajax.get('/xboe/m/exam/question/query');
}
export default {
detail,
update,
del,
save,
querylist,
query
}