sign_api.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. (function(exports) {
  2. var signAPI = {
  3. //签约管理列表
  4. signList: function(data) {
  5. return httpRequest.get("doctor/sign/sign_info", {data: data})
  6. },
  7. //获取签约数据
  8. signCount:function(data){
  9. return httpRequest.get("doctor/sign/sign_info_count", {data: data})
  10. },
  11. // 是否全部提醒关注
  12. isRemainFocus: function(data) {
  13. return httpRequest.post("doctor/sign/is_remind_focus_all", {data: data})
  14. },
  15. // 是否全部提醒缴费
  16. isRemainMoney: function(data) {
  17. return httpRequest.post("doctor/sign/is_remind_expenses_all", {data: data})
  18. },
  19. // 提醒关注
  20. remainFocus: function(data) {
  21. return httpRequest.post("doctor/family_contract/wechat_focus_remind", {data: data})
  22. },
  23. // 提醒缴费
  24. remainMoney: function(data) {
  25. return httpRequest.post("doctor/family_contract/expenses_remind", {data: data})
  26. },
  27. // 获取申请签约信息
  28. signing: function(data) {
  29. return httpRequest.post("doctor/family_contract/patient_signing", {data: data})
  30. },
  31. // 获取续签信息
  32. signOuttime: function(data) {
  33. return httpRequest.post("doctor/family_contract/patient_signing_outtime", {data: data})
  34. },
  35. // 医生下的团队
  36. teamLimit: function(data) {
  37. return httpRequest.get("doctor/admin-teams/team/" + data.doctorId + "/teamsLimit", {data: data})
  38. },
  39. // 公共字典
  40. getDictByDictName: function(data) {
  41. return httpRequest.get("common/getDictByDictName", {data:data})
  42. },
  43. // 居民标签
  44. patientLabel: function(data) {
  45. return httpRequest.post("doctor/patient_label_info/patient_label", {data: data})
  46. },
  47. // 服务标签
  48. getSigndict: function(data) {
  49. return httpRequest.get("doctor/sign/getSigndict")
  50. },
  51. // 团队成员
  52. teamMember: function(data) {
  53. return httpRequest.get("doctor/admin-teams/" + data.teamId + "/members", {data: data})
  54. },
  55. signRenew: function(data) {
  56. return httpRequest.post("doctor/sign/agreeRenew", {data: data})
  57. },
  58. // 签约消息处理
  59. sign: function(data) {
  60. return httpRequest.post("doctor/family_contract/sign", {data: data})
  61. },
  62. // 个人签约记录
  63. patientSign: function(data) {
  64. return httpRequest.post("doctor/patient_group/patient", {data: data})
  65. },
  66. // 居民所在的团队
  67. patientTeam: function(data) {
  68. return httpRequest.get("doctor/admin-teams/team/members/" + data.code, {data: data})
  69. },
  70. // 修改居民签约信息
  71. saveChange: function(data) {
  72. return httpRequest.post("doctor/family_contract/sign_info_update", {data: data})
  73. },
  74. // 按类型获取居民签约上传的凭证doctor/sign/findPatientCertificateByType
  75. findPatientCertificateByType: function(data) {
  76. return httpRequest.get("doctor/sign/findPatientCertificateByType", {data: data})
  77. },
  78. // 获取签约居民的所以凭证doctor/sign/findPatientCertificate
  79. findPatientCertificate: function(data) {
  80. return httpRequest.get("doctor/sign/findPatientCertificate", {data: data})
  81. },
  82. // 获取当前签约的服务类型doctor/sign/findPatientSignServerBySignCode
  83. findPatientSignServerBySignCode: function(data) {
  84. return httpRequest.get("doctor/sign/findPatientSignServerBySignCode", {data: data})
  85. },
  86. getPatient: function(data) {
  87. return httpRequest.post("doctor/patient_label_info/patient",{data:data})
  88. },
  89. //获取家庭医生签约信息
  90. patientLabel: function(data) {
  91. return httpRequest.get("doctor/patient_label_info/patient_label",{data:data})
  92. },
  93. //获取患者服务类型
  94. getSigndict: function(data) {
  95. return httpRequest.get("doctor/sign/getSigndict",{data:data})
  96. },
  97. //获取健康状况/疾病类型/团队标签等
  98. allLabels: function(data) {
  99. return httpRequest.get("doctor/patient_label/all_labels",{data:data})
  100. },
  101. //保存标签修改信息
  102. updateSignServerByCode: function(data) {
  103. return httpRequest.post("doctor/sign/updateSignServerByCode",{data:data})
  104. },
  105. // 添加团队标签
  106. addTeamLabel: function(data) {
  107. return httpRequest.post("doctor/patient_label/add/teams",{data:data})
  108. },
  109. findMsgId: function(data) {
  110. return httpRequest.post("/doctor/message/find", {data: data})
  111. },
  112. getTeamNameByTeamCode: function(data) {
  113. return httpRequest.get("/doctor/sign/getTeamNameByTeamCode", {data: data})
  114. }
  115. }
  116. exports.signAPI = signAPI;
  117. })(window)