rehabilitation-api.js 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. planSchedule: function(data) {
  66. return httpRequest.get("doctor/specialist/rehabilitation/planSchedule", {data: data})
  67. },
  68. //获取服务医生列表
  69. serviceDoctorList: function(data) {
  70. return httpRequest.get("doctor/specialist/rehabilitation/serviceDoctorList", {data: data})
  71. },
  72. //发送模板信息给居民确认
  73. sendWxMsg: function(data) {
  74. return httpRequest.post("doctor/specialist/rehabilitationPlan/sendWxMsg", {data: data})
  75. },
  76. }
  77. exports.rehaAPI = rehaAPI;
  78. })(window)