| | |
| | | import request from '@/router/axios'; |
| | | |
| | | export const getPaperList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/examSubjectChoices/getEexPaperChoices', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | return request({ |
| | | url: '/api/examSubjectChoices/getEexPaperChoices', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | export const updatePaper = (row) => { |
| | | return request({ |
| | | url: '/api/examSubjectChoices/updateChoicesValue', |
| | | method: 'post', |
| | | params: { |
| | | ...row |
| | | } |
| | | }) |
| | | return request({ |
| | | url: '/api/examSubjectChoices/updateChoicesValue', |
| | | method: 'post', |
| | | params: { |
| | | ...row |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | export const saveSubjectChoicesAndOption = (row) => { |
| | | return request({ |
| | | url: '/api/examSubjectChoices/saveSubjectChoicesAndOption', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | export const remove = (params) => { |
| | | return request({ |
| | | url: '/api/exampaper/UnbindSubject', |
| | | method: 'get', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | return request({ |
| | | url: '/api/exampaper/UnbindSubject', |
| | | method: 'get', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |