1
yxh
2023-07-20 935c201bdcf4adde998d46893dd0fa3eddf400bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
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
  })
}