record-api.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. (function(exports) {
  2. var recordAPI = {
  3. //根据患者获取团队信息
  4. teamInfo: function(data) {
  5. return httpRequest.get("doctor/family_contract/patient_doctor_teams", {data: data})
  6. },
  7. //获取医生信息
  8. docInfo:function(data){
  9. return httpRequest.get("doctor/baseinfo", {data: data})
  10. },
  11. //获取患者信息
  12. patientInfo:function(data) {
  13. return httpRequest.get("doctor/patient_label_info/patient", {data: data})
  14. },
  15. //咨询列表
  16. consultList: function(data) {
  17. return httpRequest.post("doctor/consult/list_by_team", {data: data})
  18. },
  19. //获取咨询数据
  20. getList: function(data){
  21. return httpRequest.get('doctor/consult/loglist',{data:data});
  22. },
  23. getMembers: function(sessionId){
  24. return httpRequest.imGet('/sessions/'+sessionId+'/participants');
  25. },
  26. //取当前医生的sessionId
  27. getSessionId:function(data){
  28. return httpRequest.get('im_new/getTopic',{data:data});
  29. },
  30. //指导列表
  31. guidanceList: function(data) {
  32. return httpRequest.post("doctor/health/guidance/list_by_team", {data: data})
  33. },
  34. //教育列表
  35. educationList:function(data){
  36. return httpRequest.post("doctor/jkEdu/article/PC/fetchPatientArticlePushedList", {data: data})
  37. },
  38. //随访列表
  39. followUpList:function(data){
  40. return httpRequest.post("doctor/followup/list_by_team", {data: data})
  41. },
  42. //代预约
  43. toBeReservedList:function(data){
  44. return httpRequest.post("third/guahao/GetPatientReservationList", {data: data})
  45. },
  46. //获取统计
  47. getStatistics:function(data){
  48. return httpRequest.post("doctor/patient/service/statistics", {data: data})
  49. },
  50. }
  51. exports.recordAPI = recordAPI;
  52. })(window)