jbsc-api.js 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. (function(exports) {
  2. var jbscAPI = {
  3. //统计模型
  4. screenStatics: function(data) {
  5. return httpRequest.post("doctor/screen/screenStatics")
  6. },
  7. //专科疾病列表
  8. getSpecialDisease: function(data) {
  9. return httpRequest.get("doctor/screen/getSpecialDisease")
  10. },
  11. //疾病筛查列表
  12. getResultList: function(data) {
  13. return httpRequest.get("doctor/screen/getResultList", {data: data})
  14. },
  15. // 获取筛查问卷列表
  16. getScreenList: function(data){
  17. return httpRequest.post('doctor/screen/getScreenList',{data:data})
  18. },
  19. //获取医生团队下的居民
  20. patientsByTeam: function(data){
  21. return httpRequest.post('doctor/patient_label_info/patients_by_team',{data:data})
  22. },
  23. //获取医生团队信息
  24. getDoctorTeam: function(uid){
  25. return httpRequest.get('doctor/admin-teams/team/'+uid+'/teams')
  26. },
  27. //获取建议模板消息
  28. getTemplateAdvice: function(data){
  29. return httpRequest.get('doctor/screen/getTemplateAdvice',{data:data})
  30. },
  31. //跟踪建议保存
  32. updateAfterFollwoing: function(data){
  33. return httpRequest.post('doctor/screen/updateAfterFollwoing',{data:data})
  34. },
  35. // 获取筛查结果
  36. getScreenResultDetail: function(data){
  37. return httpRequest.get('doctor/screen/getScreenResultDetail',{data:data})
  38. },
  39. // 获取居民健康
  40. getHealth: function(data){
  41. return httpRequest.get('doctor/health_index/last',{data:data})
  42. },
  43. // 获取医生基础信息
  44. doctorBaseinfo: function(data){
  45. return httpRequest.get('doctor/baseinfo',{data:data})
  46. },
  47. // 获取模板下所有问卷问题
  48. getAllQuestions: function(data){
  49. return httpRequest.get('doctor/questionnaire/getAllQuestions',{data:data})
  50. },
  51. //保存筛查消息
  52. saveAnswer: function(data){
  53. return httpRequest.post('doctor/questionnaire/saveAnswer',{data:data})
  54. },
  55. searchDenizen: function(data){
  56. return httpRequest.post('doctor/patient_label_info/patient_search_all_exitdoc',{data:data})
  57. },
  58. // 获取文章列表
  59. getCategoryList:function(data){
  60. return httpRequest.articleGet('third/jkEdu/Article/getCategoryList', {data:data})
  61. },
  62. // 获取文章
  63. getArticle:function(data){
  64. return httpRequest.articleGet('third/jkEdu/Article/getArticalById', {data:data})
  65. },
  66. queryArticlePcList:function(data){
  67. return httpRequest.articleGet('doctor/jkEdu/article/PC/queryArticlePcList', {data:data})
  68. },
  69. pushArticleList:function(data){
  70. return httpRequest.articleGet('doctor/jkEdu/article/PC/pushArticleList', {data:data})
  71. },
  72. doctorSendArticleToPatients:function(data) {
  73. return httpRequest.articlePost('doctor/jkEdu/article/doctorSendArticleToPatients', {data:data})
  74. },
  75. updateAfterEducate:function(data){
  76. return httpRequest.post('doctor/screen/updateAfterEducate', {data:data})
  77. }
  78. }
  79. exports.jbscAPI = jbscAPI;
  80. })(window)