import request from '@/utils/request'
|
|
// 查询捐献基础列表
|
export function listDonatebaseinfo(query) {
|
return request({
|
url: '/project/donatebaseinfo/list',
|
method: 'get',
|
params: query
|
})
|
}
|
export function listDonationProcess(query) {
|
return request({
|
url: '/VDonationworkflow/donationworkflow/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询捐献基础详细
|
export function getDonatebaseinfo(id) {
|
return request({
|
url: '/project/donatebaseinfo/' + id,
|
method: 'get'
|
})
|
}
|
// 获取捐献编号
|
export function getDonationNumber(data) {
|
return request({
|
url: '/project/donatebaseinfo/donatenumber',
|
method: 'post',
|
data: data
|
})
|
}
|
// 查询捐献工作流
|
export function getDonatebaseinfoflow(id) {
|
return request({
|
url: '/project/donatebaseinfo/getWorkFlow/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增捐献基础
|
export function addDonatebaseinfo(data) {
|
return request({
|
url: '/project/donatebaseinfo/add',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改捐献基础
|
export function updateDonatebaseinfo(data) {
|
return request({
|
url: '/project/donatebaseinfo/edit',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 删除捐献基础
|
export function delDonatebaseinfo(id) {
|
return request({
|
url: '/project/donatebaseinfo/remove/' + id,
|
method: 'get',
|
})
|
}
|
|
// 导出捐献基础
|
export function exportDonatebaseinfo(query) {
|
return request({
|
url: '/project/donatebaseinfo/export',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取捐献编号
|
export function getdonatorno(data) {
|
// console.log("获取捐献编号:入参:" + JSON.stringify(data));
|
return request({
|
url: '/project/donatebaseinfo/donatenumber',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// 下载人体器官潜在捐献者登记表
|
export function downloadbaseinfo(id) {
|
return request({
|
url: '/project/donatebaseinfo/download/' + id,
|
method: 'get'
|
})
|
}
|
// 下载人体器官潜在捐献者登记表
|
export function fileCase(data) {
|
return request({
|
url: '/project/pdfmerge/merge',
|
method: 'get',
|
params: data
|
})
|
}
|