record-api.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. guidanceDetail: function(data) {
  35. return httpRequest.post("doctor/health/guidance/id", {data: data})
  36. },
  37. //教育列表
  38. educationList:function(data){
  39. return httpRequest.post("doctor/jkEdu/article/PC/fetchPatientArticlePushedList", {data: data})
  40. },
  41. //随访列表
  42. followUpList:function(data){
  43. return httpRequest.post("doctor/followup/list_by_team", {data: data})
  44. },
  45. //代预约
  46. toBeReservedList:function(data){
  47. return httpRequest.post("third/guahao/GetPatientReservationList", {data: data})
  48. },
  49. reservedDetail:function(data){
  50. return httpRequest.post("third/guahao/GetPatientReservation", {data: data})
  51. },
  52. //获取统计
  53. getStatistics:function(data){
  54. return httpRequest.post("doctor/patient/service/statistics", {data: data})
  55. },
  56. }
  57. exports.recordAPI = recordAPI;
  58. })(window)