follow.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import request from '@/utils/request'
  2. // 查询随访管理列表
  3. export function listFollow(query) {
  4. return request({
  5. url: '/his/follow/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询随访管理详细
  11. export function getFollow(followId) {
  12. return request({
  13. url: '/his/follow/' + followId,
  14. method: 'get'
  15. })
  16. }
  17. // 新增随访管理
  18. export function addFollow(data) {
  19. return request({
  20. url: '/his/follow',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改随访管理
  26. export function updateFollow(data) {
  27. return request({
  28. url: '/his/follow',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 删除随访管理
  34. export function delFollow(followId) {
  35. return request({
  36. url: '/his/follow/' + followId,
  37. method: 'delete'
  38. })
  39. }
  40. // 导出随访管理
  41. export function exportFollow(query) {
  42. return request({
  43. url: '/his/follow/export',
  44. method: 'get',
  45. params: query
  46. })
  47. }
  48. export function statistics(query) {
  49. return request({
  50. url: '/his/follow/statistics',
  51. method: 'get',
  52. params: query
  53. })
  54. }