lr.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. import request from '@/common/request.js'
  2. /**
  3. * 客户基本信息相关接口
  4. * ---------------------------------------------------------------------------------------------------------------
  5. */
  6. // 查询养老机构_客户_基本信息列表
  7. export function listKhjbxx(data) {
  8. return request({
  9. url: '/organization/khjbxx/list',
  10. method: 'get',
  11. data: data
  12. })
  13. }
  14. // 新增养老机构_客户_基本信息
  15. export function addKhjbxx(data) {
  16. return request({
  17. url: '/organization/khjbxx',
  18. method: 'post',
  19. data: data
  20. })
  21. }
  22. // 修改养老机构_客户_基本信息
  23. export function updateKhjbxx(data) {
  24. return request({
  25. url: '/organization/khjbxx',
  26. method: 'put',
  27. data: data
  28. })
  29. }
  30. // 删除养老机构_客户_基本信息
  31. export function delKhjbxx(id) {
  32. return request({
  33. url: '/organization/khjbxx/' + id,
  34. method: 'delete'
  35. })
  36. }
  37. // 查询养老机构_客户_基本信息详细
  38. export function getKhjbxx(id) {
  39. return request({
  40. url: '/organization/khjbxx/' + id,
  41. method: 'get'
  42. })
  43. }
  44. /**
  45. * 客户家庭成员信息相关接口
  46. * ---------------------------------------------------------------------------------------------------------------
  47. */
  48. // 查询养老机构_客户_家庭信息列表
  49. export function listJtxx(data) {
  50. return request({
  51. url: '/organization/jtxx/list',
  52. method: 'get',
  53. data,
  54. })
  55. }
  56. // 新增养老机构_客户_家庭信息
  57. export function addJtxx(data) {
  58. return request({
  59. url: '/organization/jtxx',
  60. method: 'post',
  61. data: data
  62. })
  63. }
  64. // 修改养老机构_客户_家庭信息
  65. export function updateJtxx(data) {
  66. return request({
  67. url: '/organization/jtxx',
  68. method: 'put',
  69. data: data
  70. })
  71. }
  72. // 删除养老机构_客户_家庭信息
  73. export function delJtxx(id) {
  74. return request({
  75. url: '/organization/jtxx/' + id,
  76. method: 'delete'
  77. })
  78. }
  79. // 查询养老机构_客户_家庭信息详细
  80. export function getJtxx(id) {
  81. return request({
  82. url: '/organization/jtxx/' + id,
  83. method: 'get'
  84. })
  85. }
  86. /**
  87. * 客户病患记录相关接口
  88. * ---------------------------------------------------------------------------------------------------------------
  89. */
  90. // 查询养老机构_客户_病患历史列表
  91. export function listKhbhls(data) {
  92. return request({
  93. url: '/organization/khbhls/list',
  94. method: 'get',
  95. data
  96. })
  97. }
  98. // 新增养老机构_客户_病患历史
  99. export function addKhbhls(data) {
  100. return request({
  101. url: '/organization/khbhls',
  102. method: 'post',
  103. data: data
  104. })
  105. }
  106. // 修改养老机构_客户_病患历史
  107. export function updateKhbhls(data) {
  108. return request({
  109. url: '/organization/khbhls',
  110. method: 'put',
  111. data: data
  112. })
  113. }
  114. // 删除养老机构_客户_病患历史
  115. export function delKhbhls(id) {
  116. return request({
  117. url: '/organization/khbhls/' + id,
  118. method: 'delete'
  119. })
  120. }
  121. // 查询养老机构_客户_病患历史详细
  122. export function getKhbhls(id) {
  123. return request({
  124. url: '/organization/khbhls/' + id,
  125. method: 'get'
  126. })
  127. }
  128. /**
  129. * ---------------------------------------------------------------------------------------------------------------
  130. */