From 9e0295ecdc7398f7997c1f0fab9274b42630bc87 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 15 五月 2024 15:35:20 +0800
Subject: [PATCH] refactor:统计调整
---
src/api/examPaper.js | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/api/examPaper.js b/src/api/examPaper.js
index 58a62ef..a0a2a2e 100644
--- a/src/api/examPaper.js
+++ b/src/api/examPaper.js
@@ -1,9 +1,18 @@
-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),
}
--
Gitblit v1.8.0