jbsc-api.js 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. }
  89. exports.jbscAPI = jbscAPI;
  90. })(window)