From 34df92cf96c02e150076d35b73163a260e7312c0 Mon Sep 17 00:00:00 2001
From: qirong <2032486488@qq.com>
Date: 星期三, 26 七月 2023 14:11:28 +0800
Subject: [PATCH] 删除部分搜索
---
src/api/examPaper.js | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/api/examPaper.js b/src/api/examPaper.js
index 58a62ef..4e1939e 100644
--- a/src/api/examPaper.js
+++ b/src/api/examPaper.js
@@ -1,9 +1,15 @@
-import { post } from '@/utils/request'
+import { get, post } 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),
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),
}
--
Gitblit v1.8.0