jbsc-api.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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')
  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. getScreenList: function (data) {
  21. return httpRequest.post('doctor/screen/getScreenList', { data: data })
  22. },
  23. //获取医生团队下的居民
  24. patientsByTeam: function (data) {
  25. return httpRequest.post('doctor/patient_label_info/patients_by_team', { data: data })
  26. },
  27. //获取医生团队信息
  28. getDoctorTeam: function (uid) {
  29. return httpRequest.get('doctor/admin-teams/team/' + uid + '/teams')
  30. },
  31. //获取建议模板消息
  32. getTemplateAdvice: function (data) {
  33. return httpRequest.get('doctor/screen/getTemplateAdvice', { data: data })
  34. },
  35. //跟踪建议保存
  36. updateAfterFollwoing: function (data) {
  37. return httpRequest.post('doctor/screen/updateAfterFollwoing', { data: data })
  38. },
  39. // 获取筛查结果
  40. getScreenResultDetail: function (data) {
  41. return httpRequest.get('doctor/screen/getScreenResultDetail', { data: data })
  42. },
  43. // 获取居民健康
  44. getHealth: function (data) {
  45. return httpRequest.get('doctor/health_index/last', { data: data })
  46. },
  47. // 获取医生基础信息
  48. doctorBaseinfo: function (data) {
  49. return httpRequest.get('doctor/baseinfo', { data: data })
  50. },
  51. // 获取模板下所有问卷问题
  52. getAllQuestions: function (data) {
  53. return httpRequest.get('doctor/questionnaire/getAllQuestions', { data: data })
  54. },
  55. //保存筛查消息
  56. saveAnswer: function (data) {
  57. return httpRequest.post('doctor/questionnaire/saveAnswer', { data: data })
  58. },
  59. searchDenizen: function (data) {
  60. return httpRequest.post('doctor/patient_label_info/patient_search_all_exitdoc', { data: data })
  61. },
  62. // 获取文章列表
  63. getCategoryList: function (data) {
  64. return httpRequest.articleGet('third/jkEdu/Article/getCategoryList', { data: data })
  65. },
  66. // 获取文章
  67. getArticle: function (data) {
  68. return httpRequest.articleGet('third/jkEdu/Article/getArticalById', { data: data })
  69. },
  70. queryArticlePcList: function (data) {
  71. return httpRequest.articleGet('doctor/jkEdu/article/PC/queryArticlePcList', { data: data })
  72. },
  73. pushArticleList: function (data) {
  74. return httpRequest.articleGet('doctor/jkEdu/article/PC/pushArticleList', { data: data })
  75. },
  76. doctorSendArticleToPatients: function (data) {
  77. return httpRequest.articlePost('doctor/jkEdu/article/doctorSendArticleToPatients', { data: data })
  78. },
  79. updateAfterEducate: function (data) {
  80. return httpRequest.post('doctor/screen/updateAfterEducate', { data: data })
  81. },
  82. getDoctorInfoByJwDoctor: function (data) {
  83. return httpRequest.get('/doctor/getDoctorInfoByJwDoctor', { data: data })
  84. },
  85. getHospitalInfoByMappingId: function (data) {
  86. return httpRequest.get('/hospitals/getHospitalInfoByMappingId', { data: data })
  87. },
  88. getOrgList: function (data) {
  89. return httpRequest.post('/doctor/guahao/GetOrgListToMysql', { data: data })
  90. },
  91. GetOrgDepListToMysql: function (data) {
  92. return httpRequest.post('/doctor/guahao/GetOrgDepListToMysql', { data: data })
  93. },
  94. regDeptSpeDoctorList: function (data) {
  95. return httpRequest.post('/doctor/guahao/GetDoctorList', { data: data })
  96. },
  97. findByPatient: function (data) {
  98. return httpRequest.post('/doctor/patient_label_info/patient', { data: data })
  99. },
  100. getDoctorArrange: function (data) {
  101. return httpRequest.post('/doctor/guahao/smjk/RegDeptSpeDoctorSectionList', { data: data })
  102. },
  103. getOrgDeptList: function (data) {
  104. return httpRequest.post('/doctor/guahao/GetOrgDepListToMysql', { data: data })
  105. }
  106. }
  107. exports.jbscAPI = jbscAPI
  108. })(window)