| | |
| | | // 查询捐献案例器官列列表 |
| | | export function listDonateorganstatics(query) { |
| | | return request({ |
| | | url: '/system/donateorganstatics/list', |
| | | url: '/project/donateorganstatics/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | |
| | | // 查询捐献案例器官列详细 |
| | | export function getDonateorganstatics(id) { |
| | | return request({ |
| | | url: '/system/donateorganstatics/' + id, |
| | | url: '/project/donateorganstatics/getInfo/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | // 新增捐献案例器官列 |
| | | export function addDonateorganstatics(data) { |
| | | return request({ |
| | | url: '/system/donateorganstatics', |
| | | url: '/project/donateorganstatics/add', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | |
| | | // 修改捐献案例器官列 |
| | | export function updateDonateorganstatics(data) { |
| | | return request({ |
| | | url: '/system/donateorganstatics', |
| | | method: 'put', |
| | | url: '/project/donateorganstatics/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献案例器官列 |
| | | export function delDonateorganstatics(id) { |
| | | return request({ |
| | | url: '/system/donateorganstatics/' + id, |
| | | method: 'delete' |
| | | url: '/project/donateorganstatics/remove/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | // 导出捐献案例器官列 |
| | | export function exportDonateorganstatics(query) { |
| | | return request({ |
| | | url: '/system/donateorganstatics/export', |
| | | url: '/project/donateorganstatics/export', |
| | | method: 'get', |
| | | params: query |
| | | }) |