rehabilitation-api.js 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. (function(exports) {
  2. var rehaAPI = {
  3. //获取日历列表
  4. calendarPlanDetail: function(data) {
  5. return httpRequest.get("doctor/specialist/rehabilitation/calendarPlanDetail",{data:data})
  6. },
  7. //获取列表
  8. calendarPlanDetailList: function(data) {
  9. return httpRequest.get("doctor/specialist/rehabilitation/calendarPlanDetailList",{data:data})
  10. },
  11. serviceItemList:function(data){
  12. return httpRequest.get("doctor/specialist/rehabilitation/serviceItemList",{data:data})
  13. },
  14. serviceItem:function(data){
  15. return httpRequest.get("doctor/specialist/rehabilitation/serviceItem",{data:data})
  16. },
  17. //获取医生二维码
  18. createServiceQrCode: function(data){
  19. return httpRequest.post('doctor/specialist/rehabilitation/createServiceQrCode',{data:data})
  20. },
  21. // 居民扫码后验证是否是关联的居民扫码(居民端)
  22. checkAfterQrCode: function(data){
  23. return httpRequest.post('patient/specialist/rehabilitation/checkAfterQrCode',{data:data})
  24. },
  25. upload:function(file){
  26. return httpRequest.post('upload/fastDFSImag',{data: file,contentType: false,
  27. cache: false,
  28. processData: false})
  29. },
  30. updateNoteAndImageRehabilitationOperate:function(data){
  31. return httpRequest.post('doctor/specialist/rehabilitation/updateNoteAndImageRehabilitationOperate',{data:data})
  32. },
  33. // 新增operateRecodr
  34. saveRehabilitationOperateRecord:function(data){
  35. return httpRequest.post('doctor/specialist/rehabilitation/saveRehabilitationOperateRecord',{data:data})
  36. },
  37. // 康复服务套餐管理-获取康复服务套餐模板列表
  38. findTemplateList:function(data){
  39. return httpRequest.get("doctor/specialist/rehabilitationPlan/findTemplateList",{data:data})
  40. },
  41. // 康复服务套餐管理-获取机构服务项目列表
  42. findServiceItemsByHospital:function(data){
  43. return httpRequest.get("doctor/specialist/hospitalServiceItem/findServiceItemsByHospital",{data:data})
  44. },
  45. createTemplate:function(data){
  46. return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplate',{data:data})
  47. },
  48. createTemplateDetail:function(data){
  49. return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplateDetail',{data:data})
  50. },
  51. findTemplateDetail:function(data){
  52. return httpRequest.get("doctor/specialist/rehabilitationPlan/findTemplateDetail",{data:data})
  53. },
  54. deleteTemplate:function(data){
  55. return httpRequest.post('doctor/specialist/rehabilitationPlan/deleteTemplate',{data:data})
  56. },
  57. selectByIds:function(data){
  58. return httpRequest.get("doctor/specialist/hospitalServiceItem/selectByIds",{data:data})
  59. },
  60. // 终止专科计划详情
  61. getServiceItemsAfterStop: function(data) {
  62. return httpRequest.get("doctor/specialist/rehabilitation/getServiceItemsAfterStop", {data: data})
  63. }
  64. }
  65. exports.rehaAPI = rehaAPI;
  66. })(window)