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
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',
  })
}