From 65a176dbc0e9c81781bb4db176f51aa4fd3dc3d3 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期五, 17 五月 2024 17:37:28 +0800
Subject: [PATCH] fix:修改随机试卷回显
---
src/api/examPaper.js | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/api/examPaper.js b/src/api/examPaper.js
index 58a62ef..476f9b4 100644
--- a/src/api/examPaper.js
+++ b/src/api/examPaper.js
@@ -1,9 +1,19 @@
-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),
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 => get('/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),
}
--
Gitblit v1.8.0