jbsc-api.js 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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('statistics/collaborate/getYdScreenResultDetail', { data: data })
  54. },
  55. // 获取居民健康
  56. getHealth: function (data) {
  57. return httpRequest.get('doctor/health_index/last', { data: data })
  58. },
  59. getLastYd(data){
  60. return httpRequest.get('statistics/collaborate/lastYd', { data: data })
  61. },
  62. // 获取医生基础信息
  63. doctorBaseinfo: function (data) {
  64. return httpRequest.get('doctor/baseinfo', { data: data })
  65. },
  66. // 获取模板下所有问卷问题
  67. getAllQuestions: function (data) {
  68. return httpRequest.get('doctor/questionnaire/getAllQuestions', { data: data })
  69. },
  70. //保存筛查消息
  71. saveAnswer: function (data) {
  72. return httpRequest.post('doctor/questionnaire/saveAnswer', { data: data })
  73. },
  74. searchDenizen: function (data) {
  75. return httpRequest.post('doctor/patient_label_info/patient_search_all_exitdoc', { data: data })
  76. },
  77. // 获取文章列表
  78. getCategoryList: function (data) {
  79. return httpRequest.articleGet('third/jkEdu/Article/getCategoryList', { data: data })
  80. },
  81. // 获取文章
  82. getArticle: function (data) {
  83. return httpRequest.articleGet('third/jkEdu/Article/getArticalById', { data: data })
  84. },
  85. queryArticlePcList: function (data) {
  86. return httpRequest.articleGet('doctor/jkEdu/article/PC/queryArticlePcList', { data: data })
  87. },
  88. pushArticleList: function (data) {
  89. return httpRequest.articleGet('doctor/jkEdu/article/PC/pushArticleList', { data: data })
  90. },
  91. doctorSendArticleToPatients: function (data) {
  92. return httpRequest.articlePost('doctor/jkEdu/article/doctorSendArticleToPatients', { data: data })
  93. },
  94. updateAfterEducate: function (data) {
  95. return httpRequest.post('doctor/screen/updateAfterEducate', { data: data })
  96. },
  97. getDoctorInfoByJwDoctor: function (data) {
  98. return httpRequest.get('/doctor/getDoctorInfoByJwDoctor', { data: data })
  99. },
  100. getHospitalInfoByMappingId: function (data) {
  101. return httpRequest.get('/hospitals/getHospitalInfoByMappingId', { data: data })
  102. },
  103. getHospitalSpecialistList: function (data) {
  104. return httpRequest.get('/doctor/specialist/screen/getHospitalSpecialistList', { data: data })
  105. },
  106. getOrgList: function (data) {
  107. return httpRequest.post('/doctor/guahao/GetOrgListToMysql', { data: data })
  108. },
  109. GetOrgListToMysqlByDisease: function (data) {
  110. return httpRequest.post('/doctor/guahao/GetOrgListToMysqlByDisease', { data: data })
  111. },
  112. GetOrgDepListToMysql: function (data) {
  113. return httpRequest.post('/doctor/guahao/GetOrgDepListToMysql', { data: data })
  114. },
  115. regDeptSpeDoctorList: function (data) {
  116. return httpRequest.post('/doctor/guahao/GetDoctorList', { data: data })
  117. },
  118. findByPatient: function (data) {
  119. return httpRequest.post('/doctor/patient_label_info/patient', { data: data })
  120. },
  121. getDoctorArrange: function (data) {
  122. return httpRequest.post('/doctor/guahao/smjk/RegDeptSpeDoctorSectionList', { data: data })
  123. },
  124. getOrgDeptList: function (data) {
  125. return httpRequest.post('/doctor/guahao/GetOrgDepListToMysql', { data: data })
  126. },
  127. listMedical: function (data) {
  128. return httpRequest.post('/doctor/health_record/list_medical', { data: data })
  129. },
  130. findMedicalDetail: function (data) {
  131. return httpRequest.post('doctor/health_record/medical_detail', { data: data })
  132. },
  133. getScreenList: function (data) {
  134. return httpRequest.post('/doctor/screen/getScreenList', { data: data })
  135. },
  136. //导出
  137. exportScreenResultList: function (data, filename) {
  138. return httpRequest.downLoadFileForAjax('doctor/screen/exportScreenResultList', filename, data)
  139. },
  140. getSignInfo(data) {
  141. return httpRequest.get('doctor/specialist/rehabilitation/getSignInfo', { data: data })
  142. },
  143. getSurveyMessage(data) {
  144. return httpRequest.post('doctor/screen/getSurveyMessage', { data: data })
  145. },
  146. getDictDataByName(name) {
  147. return httpRequest.get('common/getDictByDictName', { data: { name: name } })
  148. }
  149. }
  150. exports.jbscAPI = jbscAPI
  151. })(window)