import request from '@/utils/request'
|
|
// 查询捐献器官管理列表
|
export function listDonateorgan(query) {
|
return request({
|
url: '/project/donateorgan/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 按月度查询统计的捐献器官案例数
|
export function countDonateorgan(query) {
|
return request({
|
//url: '/project/donateorgan/donatePeopleByMonth',
|
url: '/project/donateorgan/getDonatePeopleByMonthFromCompletioninfo',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 按月度查询统计的捐献医院案例数
|
export function countDonateHostipal(query) {
|
return request({
|
url: '/project/donateorgan/donateHospitalByMonth',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 按月度查询统计的捐献器官数量
|
export function countorganHostipal(query) {
|
return request({
|
url: '/project/donateorgan/donateNumberByMonth',
|
method: 'get',
|
params: query
|
})
|
}
|
|
|
|
// 查询捐献器官管理列表
|
export function listnewDonateorgan(query) {
|
return request({
|
url: '/project/donateorgan/listnew',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询捐献器官管理详细
|
export function getDonateorgan(id) {
|
return request({
|
url: '/project/donateorgan/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增捐献器官管理
|
export function addDonateorgan(data) {
|
return request({
|
url: '/project/donateorgan',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改捐献器官管理
|
export function updateDonateorgan(data) {
|
return request({
|
url: '/project/donateorgan',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除捐献器官管理
|
export function delDonateorgan(id) {
|
return request({
|
url: '/project/donateorgan/' + id,
|
method: 'delete'
|
})
|
}
|
|
// 导出捐献器官管理
|
export function exportDonateorgan(query) {
|
return request({
|
url: '/project/donateorgan/export',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 首页地图查询-一级 得到浙江各市下的捐献信息
|
export function getNumberOfOrgan() {
|
return request({
|
url: '/project/donateorgan/numberOfOrgans',
|
method: 'get'
|
})
|
}
|
|
//首页市各医院的捐献信息
|
export function getOrgansOfHospital(query) {
|
return request({
|
url: '/project/donateorgan/OrgansOfHospital',
|
method: 'post',
|
params: query
|
})
|
}
|
|
//全省捐献器官信息汇总
|
export function getAllOrganInfo(query) {
|
return request({
|
url: '/project/donateorgan/allOrgansInfo',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//器官质量情况分析接口
|
export function getOrgansQuality(query) {
|
return request({
|
url: '/project/donateorgan/organQuality',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//捐献累计信息
|
export function getDonateNumber(query) {
|
return request({
|
url: '/project/donateorgan/donateNumber',
|
method: 'get',
|
params: query
|
})
|
}
|
// /project/donatebaseinfo/countByRecordState
|
//新接口 4.24
|
export function getcountByRecordState(query) {
|
return request({
|
url: '/project/donatebaseinfo/countByRecordState',
|
method: 'get',
|
params: query
|
})
|
}
|
|
|
|
|
// 2.19
|
// 按月度统计的潜在捐献数量
|
export function getdonateBaseInfoByMonth(query) {
|
return request({
|
url: '/project/donateorgan/donateBaseInfoByMonth',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//按月度统计的捐献案例数
|
export function getdonatePeopleByMonth(query) {
|
return request({
|
//url: '/project/donateorgan/donatePeopleByMonth',
|
url: '/project/donateorgan/getDonatePeopleByMonthFromCompletioninfo',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//按月度统计的捐献器官数量
|
export function getdonateNumberByMonth(query) {
|
return request({
|
url: '/project/donateorgan/donateNumberByMonth',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//按月度统计的捐献医院数
|
export function getdonateHospitalByMonth(query) {
|
return request({
|
url: '/project/donateorgan/donateHospitalByMonth',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 按月度统计的获取医院数
|
export function getacceptHospitalByMonths(query) {
|
return request({
|
url: '/project/donateorgan/acceptHospitalByMonth',
|
method: 'get',
|
params: query
|
})
|
}
|
|
|
// /project/donateorgan/OrgansOfHospitalByMonth
|
|
export function getOrgansOfHospitalByMonth(query) {
|
return request({
|
//url: '/project/donateorgan/OrgansOfHospitalByMonth',
|
url: '/project/donateorgan/OrgansOfHospitalByTime',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//每百万人口器官捐献率(PMP)
|
export function getDonateorganPMP(query) {
|
return request({
|
url: '/project/donateorgan/getPMPRate',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//潜献转化率/器官产出率/器官利用率
|
export function getDonateorganQuality(query) {
|
return request({
|
url: '/project/donateorgan/organQuality',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//占比统计
|
export function getDonationwitnessStats(query) {
|
return request({
|
url: '/project/donationwitness/getStats',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//每家移植医院获取的器官总数
|
export function getTransplantHospitalNum(query) {
|
return request({
|
url: '/project/donateorgan/getOrganNumberByOrg',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//各种器官的获取总数
|
export function getDonateorganSum(query) {
|
return request({
|
url: '/project/donateorgan/getOrganCount',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//
|
export function getDonateorganDistrictDonateCalculate(query) {
|
return request({
|
//url: '/project/donateorgan/getDistrictDonateCalculate',
|
url: '/project/donateorgan/getDistrictDonateCalculateByTime',
|
method: 'get',
|
params: query
|
})
|
}
|