| | |
| | | import request from '@/router/axios'; |
| | | |
| | | export const getList = (current, size, params, deptId) => { |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/accreditationRecords/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size, |
| | | deptId, |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | export const add = (row) => { |
| | | export const submit = (row) => { |
| | | return request({ |
| | | url: '/api/accreditationRecords/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/accreditationRecords/save', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const batchAccreditation = (row) => { |
| | | return request({ |
| | | url: '/api/accreditationRecords/batchAccreditation', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |