|
|
// 报告相关接口
|
|
|
|
const api = {
|
|
// 近期报告
|
|
getRecentReport: {
|
|
url: '/paper/recentReport',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 试卷查询
|
|
getPaperList: {
|
|
url: '/paper/paper',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 试卷详情
|
|
getPaperDetail: {
|
|
url: '/paper/paperDetail',
|
|
method: 'GET',
|
|
auth: true,
|
|
limit : 500,
|
|
showLoading : true,
|
|
},
|
|
// 开始答题
|
|
startPaper: {
|
|
url: '/paper/start',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 选择-输入完成答案
|
|
answerPaper: {
|
|
url: '/paper/answer',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 提交试卷
|
|
submitPaper: {
|
|
url: '/paper/submit',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 试卷下的报告列表
|
|
getReportByPaperId: {
|
|
url: '/paper/reportById',
|
|
method: 'GET',
|
|
auth: true,
|
|
limit : 500,
|
|
showLoading : true,
|
|
},
|
|
// 报告详情
|
|
getReportDetail: {
|
|
url: '/paper/reportDetail',
|
|
method: 'GET',
|
|
auth: true,
|
|
showLoading : true,
|
|
},
|
|
}
|
|
|
|
export default api
|