| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/exampaper/submit', |
| | | url: '/api/exampaper/save', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const applyConfirm = (row) => { |
| | | return request({ |
| | | url: '/api/exampaper/applyConfirm', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const getExamStatistics = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/exampaper/getExamStatistics', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | export const getExamInfoByExamId = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/exampaper/getExamInfoByExamId', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |