import request from '@/utils/request'
|
|
// 查询捐献见证列表
|
export function listnewDonationwitness(query) {
|
return request({
|
url: '/project/donationwitness/listnew',
|
method: 'get',
|
params: query
|
})
|
}
|
// 查询捐献见证列表
|
export function getByInfoId(infoId) {
|
return request({
|
url: '/project/donationwitness/getByInfoId/' + infoId,
|
method: 'get',
|
})
|
}
|
|
// 查询捐献见证列表
|
// export function getByInfoId(query) {
|
// return request({
|
// url: '/project/donationwitness/getByInfoId',
|
// method: 'get',
|
// params: query
|
// })
|
// }
|
// 查询捐献见证列表
|
export function listDonationwitness(query) {
|
return request({
|
url: '/project/donationwitness/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询捐献见证详细
|
export function getDonationwitness(id) {
|
return request({
|
url: '/project/donationwitness/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增捐献见证
|
export function addDonationwitness(data) {
|
return request({
|
url: '/project/donationwitness',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改捐献见证
|
export function updateDonationwitness(data) {
|
return request({
|
url: '/project/donationwitness',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除捐献见证
|
export function delDonationwitness(id) {
|
return request({
|
url: '/project/donationwitness/' + id,
|
method: 'delete'
|
})
|
}
|
|
// 导出捐献见证
|
export function exportDonationwitness(query) {
|
return request({
|
url: '/project/donationwitness/export',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 下载人体器官捐献获取见证登记表:
|
// 入参:捐献编号donorno
|
export function downloadwitnessinfo(id) {
|
return request({
|
url: '/project/donationwitness/download/' +id,
|
method: 'get',
|
})
|
}
|