jbsc-api.js 6.3 KB

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