rehabilitation-api.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. saveRehabilitationOperateRecodr:function(data){
  35. return httpRequest.post('doctor/specialist/rehabilitation/saveRehabilitationOperateRecodr',{data:data})
  36. },
  37. }
  38. exports.rehaAPI = rehaAPI;
  39. })(window)