|
/*患者档案API接口
|
patid// 自增ID name// 姓名 sex// 性别 1:男 2:女 iccardno// 证件号码 birthdate// 生日 age// 年龄 source// 来源 archivetime// 建档时间 archiveby// 建档人 telcode// 手机号码 relativetelcode// 亲属号码 iccardtype// 证件类型 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'
|
})
|
}
|