|
/*患者联系方式API接口
|
id// 自增ID patid// 联系方式ID contactway// 联系方式 relation// 关系 datasource// 数据来源 isdefault// 是否默认 orgid// 机构ID del_flag// 删除标记 update_by// 更新人 update_time// 更新时间 create_by// 创建人 create_time// 创建时间 isupload// 上传标记 upload_time// 上传时间 contactname// 联系姓名 pid//父ID guid//GUID
|
*/
|
import request from '@/utils/request'
|
|
export function slavelistpat_archivecontact(query) {
|
return request({
|
url: 'proc/smartor/entity/patient/pat_archivecontact/slavelist',
|
method: 'get',
|
params: query
|
})
|
}
|
|
/*
|
功能: 读取列表信息
|
参数:query 指定查询参数
|
*/
|
export function listpat_archivecontact(query) {
|
return request({
|
url: 'proc/smartor/entity/patient/pat_archivecontact/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
/*
|
功能: 根据id读取指定对象信息
|
参数:query 指定查询参数
|
*/
|
export function getpat_archivecontact(id) {
|
return request({
|
url: 'proc/smartor/entity/patient/pat_archivecontact/' + id,
|
method: 'get'
|
})
|
}
|
|
/*
|
功能: 增加对象
|
参数:data 对象数据
|
*/
|
export function addpat_archivecontact(data) {
|
return request({
|
url: 'proc/smartor/entity/patient/pat_archivecontact/add',
|
method: 'post',
|
data: data
|
})
|
}
|
|
/*
|
功能: 更新对象
|
参数:data 对象数据
|
*/
|
export function updatepat_archivecontact(data) {
|
return request({
|
url: 'proc/smartor/entity/patient/pat_archivecontact/update',
|
method: 'put',
|
data: data
|
})
|
}
|
|
/*
|
功能: 删除对象
|
参数:objid 对象ID
|
*/
|
export function delpat_archivecontact(id) {
|
return request({
|
url: 'proc/smartor/entity/patient/pat_archivecontact/del/' +id,
|
method: 'delete'
|
})
|
}
|