123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- 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
- })
- }
|