lr.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. import request from '@/common/request.js'
  2. // 添加客户
  3. export function Save(data) {
  4. return request({
  5. url: '/organization/khjbxx',
  6. method: 'post',
  7. data: data
  8. })
  9. }
  10. // 客户列表
  11. export function List(data) {
  12. return request({
  13. url: '/organization/khjbxx/list',
  14. method: 'get',
  15. data: data
  16. })
  17. }
  18. // 查询养老机构_客户_基本信息列表
  19. export function listKhjbxx(data) {
  20. return request({
  21. url: '/organization/khjbxx/list',
  22. method: 'get',
  23. data: data
  24. })
  25. }
  26. // 新增养老机构_客户_基本信息
  27. export function addKhjbxx(data) {
  28. return request({
  29. url: '/organization/khjbxx',
  30. method: 'post',
  31. data: data
  32. })
  33. }
  34. // 修改养老机构_客户_基本信息
  35. export function updateKhjbxx(data) {
  36. return request({
  37. url: '/organization/khjbxx',
  38. method: 'put',
  39. data: data
  40. })
  41. }
  42. // 删除养老机构_客户_基本信息
  43. export function delKhjbxx(id) {
  44. return request({
  45. url: '/organization/khjbxx/' + id,
  46. method: 'delete'
  47. })
  48. }
  49. // 查询养老机构_客户_基本信息详细
  50. export function getKhjbxx(id) {
  51. return request({
  52. url: '/organization/khjbxx/' + id,
  53. method: 'get'
  54. })
  55. }
  56. /**
  57. * ---------------------------------------------------------------------------------------------------------------
  58. */
  59. // 查询养老机构_客户_家庭信息列表
  60. export function listJtxx(query) {
  61. return request({
  62. url: '/organization/jtxx/list',
  63. method: 'get',
  64. params: query
  65. })
  66. }
  67. // 新增养老机构_客户_家庭信息
  68. export function addJtxx(data) {
  69. return request({
  70. url: '/organization/jtxx',
  71. method: 'post',
  72. data: data
  73. })
  74. }
  75. // 修改养老机构_客户_家庭信息
  76. export function updateJtxx(data) {
  77. return request({
  78. url: '/organization/jtxx',
  79. method: 'put',
  80. data: data
  81. })
  82. }
  83. // 删除养老机构_客户_家庭信息
  84. export function delJtxx(id) {
  85. return request({
  86. url: '/organization/jtxx/' + id,
  87. method: 'delete'
  88. })
  89. }
  90. // 查询养老机构_客户_家庭信息详细
  91. export function getJtxx(id) {
  92. return request({
  93. url: '/organization/jtxx/' + id,
  94. method: 'get'
  95. })
  96. }
  97. /**
  98. * ---------------------------------------------------------------------------------------------------------------
  99. */