From f0f200abf841d5d7fe5e2921e6ded8f0147e9c92 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 10 七月 2024 18:02:07 +0800 Subject: [PATCH] feat 用户列表增加部门条件 随机试卷列表增加部门,时间,科目条件 补考直接展示学生 试卷标题默认展示一个 --- src/api/examPaper.js | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/api/examPaper.js b/src/api/examPaper.js index 58a62ef..8bd4e30 100644 --- a/src/api/examPaper.js +++ b/src/api/examPaper.js @@ -1,9 +1,22 @@ -import { post } from '@/utils/request' +import { get, post,down } from '@/utils/request' export default { pageList: query => post('/api/admin/exam/paper/page', query), taskExamPage: query => post('/api/admin/exam/paper/taskExamPage', query), edit: query => post('/api/admin/exam/paper/edit', query), + missExam: query => post('/api/admin/exam/paper/missExam', query), + missExamByTemplateId: query => post('/api/admin/exam/paper/missExamByTemplateId', query), select: id => post('/api/admin/exam/paper/select/' + id), - deletePaper: id => post('/api/admin/exam/paper/delete/' + id) + deletePaper: id => post('/api/admin/exam/paper/delete/' + id), + pageselfList: query => post('/api/admin/exam/templates/list', query), + selfedit: query => post('/api/admin/exam/templates/edit', query), + selfselect: query => post('/api/admin/exam/templates/select/'+ query), + selfdeletePaper: id => post('/api/admin/exam/templates/remove/' + id), + selflist: query => post('/api/admin/education/subject/list', query), + selfPaList: query => post('/api/admin/exam/count/list', query), + mathList: query => post('/api/admin/exam/count/sourceList', query), + uploadEnrolmentsa: query => down('/api/admin/exam/count/exportTemplatesSheet/'+query), + selectStudent: query => post('/api/admin/exam/paper/selectStudent', query), + getConfig: query => get('/api/admin/exam/templates/getConfig'), + setConfig: query => post('/api/admin/exam/templates/setConfig', query), } -- Gitblit v1.8.0