jbsc-api.js 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. ;(function (exports) {
  2. var jbscAPI = {
  3. //获取所有疾病筛选列表
  4. surveyTemplates: function (data) {
  5. return httpRequest.get('third/surveyStatis/survey_templates')
  6. },
  7. //统计模型
  8. screenStatics: function (data) {
  9. return httpRequest.post('doctor/screen/screenStatics',{ data: data })
  10. },
  11. //专科疾病列表
  12. getSpecialDisease: function (data) {
  13. return httpRequest.get('doctor/screen/getSpecialDisease')
  14. },
  15. //疾病筛查列表
  16. getResultList: function (data) {
  17. return httpRequest.get('doctor/screen/getResultList', { data: data })
  18. },
  19. //专科获取筛查列表
  20. getList: function (data) {
  21. return httpRequest.get('doctor/specialist/screen/getList', { data: data })
  22. },
  23. // 获取ASCVD居民
  24. getPatientSignByTwoDoctor: function (data) {
  25. return httpRequest.get('doctor/patient/getPatientSignByDoctor', { data: data })
  26. },
  27. // ASCVD 社区随访
  28. changeSurveyState: function (data) {
  29. return httpRequest.post('doctor/screen/changeSurveyState', { data: data })
  30. },
  31. // 获取筛查问卷列表
  32. getScreenList: function (data) {
  33. return httpRequest.post('doctor/screen/getScreenList', { data: data })
  34. },
  35. //获取医生团队下的居民
  36. patientsByTeam: function (data) {
  37. return httpRequest.post('doctor/patient_label_info/patients_by_team', { data: data })
  38. },
  39. //获取医生团队信息
  40. getDoctorTeam: function (uid) {
  41. return httpRequest.get('doctor/admin-teams/team/' + uid + '/teams')
  42. },
  43. //获取建议模板消息
  44. getTemplateAdvice: function (data) {
  45. return httpRequest.get('doctor/screen/getTemplateAdvice', { data: data })
  46. },
  47. //跟踪建议保存
  48. updateAfterFollwoing: function (data) {
  49. return httpRequest.post('doctor/screen/updateAfterFollwoing', { data: data })
  50. },
  51. // 获取筛查结果
  52. getScreenResultDetail: function (data) {
  53. return httpRequest.get('doctor/screen/getScreenResultDetail', { data: data })
  54. },
  55. // 获取居民健康
  56. getHealth: function (data) {
  57. return httpRequest.get('doctor/health_index/last', { data: data })
  58. },
  59. // 获取医生基础信息
  60. doctorBaseinfo: function (data) {
  61. return httpRequest.get('doctor/baseinfo', { data: data })
  62. },
  63. // 获取模板下所有问卷问题
  64. getAllQuestions: function (data) {
  65. return httpRequest.get('doctor/questionnaire/getAllQuestions', { data: data })
  66. },
  67. //保存筛查消息
  68. saveAnswer: function (data) {
  69. return httpRequest.post('doctor/questionnaire/saveAnswer', { data: data })
  70. },
  71. searchDenizen: function (data) {
  72. return httpRequest.post('doctor/patient_label_info/patient_search_all_exitdoc', { data: data })
  73. },
  74. // 获取文章列表
  75. getCategoryList: function (data) {
  76. return httpRequest.articleGet('third/jkEdu/Article/getCategoryList', { data: data })
  77. },
  78. // 获取文章
  79. getArticle: function (data) {
  80. return httpRequest.articleGet('third/jkEdu/Article/getArticalById', { data: data })
  81. },
  82. queryArticlePcList: function (data) {
  83. return httpRequest.articleGet('doctor/jkEdu/article/PC/queryArticlePcList', { data: data })
  84. },
  85. pushArticleList: function (data) {
  86. return httpRequest.articleGet('doctor/jkEdu/article/PC/pushArticleList', { data: data })
  87. },
  88. doctorSendArticleToPatients: function (data) {
  89. return httpRequest.articlePost('doctor/jkEdu/article/doctorSendArticleToPatients', { data: data })
  90. },
  91. updateAfterEducate: function (data) {
  92. return httpRequest.post('doctor/screen/updateAfterEducate', { data: data })
  93. },
  94. getDoctorInfoByJwDoctor: function (data) {
  95. return httpRequest.get('/doctor/getDoctorInfoByJwDoctor', { data: data })
  96. },
  97. getHospitalInfoByMappingId: function (data) {
  98. return httpRequest.get('/hospitals/getHospitalInfoByMappingId', { data: data })
  99. },
  100. getHospitalSpecialistList: function (data) {
  101. return httpRequest.get('/doctor/specialist/screen/getHospitalSpecialistList', { data: data })
  102. },
  103. getOrgList: function (data) {
  104. return httpRequest.post('/doctor/guahao/GetOrgListToMysql', { data: data })
  105. },
  106. GetOrgListToMysqlByDisease: function (data) {
  107. return httpRequest.post('/doctor/guahao/GetOrgListToMysqlByDisease', { data: data })
  108. },
  109. GetOrgDepListToMysql: function (data) {
  110. return httpRequest.post('/doctor/guahao/GetOrgDepListToMysql', { data: data })
  111. },
  112. regDeptSpeDoctorList: function (data) {
  113. return httpRequest.post('/doctor/guahao/GetDoctorList', { data: data })
  114. },
  115. findByPatient: function (data) {
  116. return httpRequest.post('/doctor/patient_label_info/patient', { data: data })
  117. },
  118. getDoctorArrange: function (data) {
  119. return httpRequest.post('/doctor/guahao/smjk/RegDeptSpeDoctorSectionList', { data: data })
  120. },
  121. getOrgDeptList: function (data) {
  122. return httpRequest.post('/doctor/guahao/GetOrgDepListToMysql', { data: data })
  123. },
  124. listMedical: function (data) {
  125. return httpRequest.post('/doctor/health_record/list_medical', { data: data })
  126. },
  127. findMedicalDetail: function(data) {
  128. return httpRequest.post("doctor/health_record/medical_detail", { data: data })
  129. },
  130. getScreenList: function (data) {
  131. return httpRequest.post('/doctor/screen/getScreenList', { data: data })
  132. },
  133. //导出
  134. exportScreenResultList: function (data, filename) {
  135. return httpRequest.downLoadFileForAjax('doctor/screen/exportScreenResultList', filename, data)
  136. },
  137. }
  138. exports.jbscAPI = jbscAPI
  139. })(window)