| | |
| | | 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), |
| | | } |