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,58 @@
import ajax from '@/utils/xajax.js'
/**
* 查询已有记录
* @param objId 对象的id
*/
const getHas = function(objId) {
return ajax.get('/xboe/push/user/record/has?objId=' + objId);
}
/**
* testId
* testName
* groupId
* groupName
* @param {*} data
*/
const pushExecute = function(data) {
return ajax.post('/xboe/m/exam/task/execute',data);
}
/**
* 提取推送记录
* @param {考试id} objId
*/
const pushList = function(objId) {
return ajax.post('/xboe/m/exam/task/list',{testId:objId});
}
/**
* 分页查询
* @param {
aid:用户的id , 可以不传
objId: 对象的id
objType: int 对象的类型 1考试
} data
*/
const findRecords = function(data) {
return ajax.post('/xboe/push/user/record/pagelist',data);
}
/**
* 查询我的记录,分页查询,和上面一致
* @param {} data
*/
const myRecords = function(data) {
return ajax.post('/xboe/push/user/record/mylist',data);
}
export default {
getHas,
findRecords,
pushExecute,
pushList,
myRecords
}