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
|
| /*患者档案API接口
| patid// 自增ID
| name// 姓名
| sex// 性别 1:男 2:女
| idcardno// 证件号码
| birthdate// 生日
| age// 年龄
| source// 来源
| archivetime// 建档时间
| archiveby// 建档人
| telcode// 手机号码
| relativetelcode// 亲属号码
| idcardtype// 证件类型
| orgid// 机构ID
| openid// 微信openid
| del_flag// 删除标记
| update_by// 更新人
| update_time// 更新时间
| create_by// 创建人
| create_time// 创建时间
| isupload// 上传标记
| upload_time// 上传时间
| pid//父ID
| guid//GUID
| */
| import request from '@/utils/request'
|
| export function slavelistpat_archive(query) {
| return request({
| url: 'proc/smartor/entity/patient/pat_archive/slavelist',
| method: 'get',
| params: query
| })
| }
|
| /*
| 功能: 读取列表信息
| 参数:query 指定查询参数
| */
| export function listpat_archive(query) {
| return request({
| url: 'proc/smartor/entity/patient/pat_archive/list',
| method: 'get',
| params: query
| })
| }
|
| /*
| 功能: 根据id读取指定对象信息
| 参数:query 指定查询参数
| */
| export function getpat_archive(patid) {
| return request({
| url: 'proc/smartor/entity/patient/pat_archive/' + patid,
| method: 'get'
| })
| }
|
| /*
| 功能: 增加对象
| 参数:data 对象数据
| */
| export function addpat_archive(data) {
| return request({
| url: 'proc/smartor/entity/patient/pat_archive/add',
| method: 'post',
| data: data
| })
| }
|
| /*
| 功能: 更新对象
| 参数:data 对象数据
| */
| export function updatepat_archive(data) {
| return request({
| url: 'proc/smartor/entity/patient/pat_archive/update',
| method: 'put',
| data: data
| })
| }
|
| /*
| 功能: 删除对象
| 参数:objid 对象ID
| */
| export function delpat_archive(patid) {
| return request({
| url: 'proc/smartor/entity/patient/pat_archive/del/' +patid,
| method: 'delete'
| })
| }
|
|