From 99b389c31e0e1cd7277a99683f637b239da44c70 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期三, 26 七月 2023 15:23:25 +0800 Subject: [PATCH] 修改青羊后台题目个人模拟列表 --- src/api/examPaper.js | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/api/examPaper.js b/src/api/examPaper.js index 58a62ef..f0c949a 100644 --- a/src/api/examPaper.js +++ b/src/api/examPaper.js @@ -1,9 +1,16 @@ -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), + mathList: query => post('/api/admin/exam/count/sourceList', query), } -- Gitblit v1.8.0