/*患者复查预约记录API接口 id// 自增ID visittime//复诊时间 visitdoctor//复诊医生 visitdept//复诊科室 visitdesc//复诊结果 hospitalname// 医院名称 hospitalcode// 医院编号 hospitaldistrictcode// 院区编号 hospitaldistrictname// 院区名称 icd10code// 入院诊断ICD值 diagname// 入院诊断名称 starttime// 入院时间 endtime// 出院时间 deptcode// 入院科室代码 deptname// 入院科室名称 roomno// 房间号 bedno// 床位号 orgid// 机构ID del_flag// 删除标记 update_by// 更新人 update_time// 更新时间 create_by// 创建人 create_time// 创建时间 isupload// 上传标记 upload_time// 上传时间 patid// 档案ID leavediagname// 出院诊断 leaveicd10code// 出院诊断ICD值 drcode// 医生工号 drname// 医生名称 schemestatus// 是否生成方案状态 generalschemestatus// 是否生成通用方案状态 leaveldeptcode// 出院科室代码 leaveldeptname// 出院科室代码 hospitaldistrictid// 病区ID leavehospitaldistrictcode// 出院病区编号 leavehospitaldistrictname// 出院病区名称 leavehospitaldistrictid// 出院病区ID deptid// 入院科室ID leaveldeptid// 出院科室ID schemetime// 方案状态操作时间 pid//父ID guid//GUID */ import request from '@/utils/request' export function slavelistpat_med_apointment(query) { return request({ url: 'proc/smartor/entity/patient/pat_med_apointment/slavelist', method: 'get', params: query }) } /* 功能: 读取列表信息 参数:query 指定查询参数 */ export function listpat_med_apointment(query) { return request({ url: 'proc/smartor/entity/patient/pat_med_apointment/list', method: 'get', params: query }) } /* 功能: 根据id读取指定对象信息 参数:query 指定查询参数 */ export function getpat_med_apointment(id) { return request({ url: 'proc/smartor/entity/patient/pat_med_apointment/' + id, method: 'get' }) } /* 功能: 增加对象 参数:data 对象数据 */ export function addpat_med_apointment(data) { return request({ url: 'proc/smartor/entity/patient/pat_med_apointment/add', method: 'post', data: data }) } /* 功能: 更新对象 参数:data 对象数据 */ export function updatepat_med_apointment(data) { return request({ url: 'proc/smartor/entity/patient/pat_med_apointment/update', method: 'put', data: data }) } /* 功能: 删除对象 参数:objid 对象ID */ export function delpat_med_apointment(id) { return request({ url: 'proc/smartor/entity/patient/pat_med_apointment/del/' +id, method: 'delete' }) }