import request from '@/utils/request' /** * 保存患者关注 * @param {*} data * @returns */ export function savePatientFollow(data) { return request({ url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/healthy/doctor/follow/patient/followOrNot`, method: 'post', data }) } /** * 查询关注的人 * @param {*} data * @returns */ export function queryMyPatientFollow(data) { return request({ url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/healthy/doctor/follow/patient/query`, method: 'post', data }) } /** * 关注详情 * @param {*} data * @returns */ export function detailMyPatientFollow(data) { return request({ url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/healthy/doctor/follow/patient/detail`, method: 'post', data }) } /** * 新增配置关系 * @param {*} data * @returns */ export function saveFollowConfig(data) { return request({ url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/doctor/relation/saveByDoctor`, method: 'post', data }) } /** * 查询配置关系 * @param {*} data * @returns */ export function queryFollowConfig(data) { return request({ url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/doctor/relation/queryByDoctor`, method: 'post', data }) } /** * 获取配置关系 * @param {*} data * @returns */ export function detailFollowConfig(data) { return request({ url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/doctor/relation/detailByDoctor`, method: 'post', data }) } /** * 更新配置关系 * @param {*} data * @returns */ export function updateFollowConfig(data) { return request({ url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/doctor/relation/update`, method: 'post', data }) } /** * 更新配置关系 * @param {*} data * @returns */ export function delFollowConfig(data) { return request({ url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/doctor/relation/del`, method: 'post', data }) }