appointment-api.js 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * 预约挂号功能相关接口api
  3. */
  4. (function(exports) {
  5. var appointmentAPI = {
  6. //查询医院列表
  7. querySimpleHospitalList: function(data){
  8. return httpRequest.get("basic/api/v1.0/appointment/combination/findHospitalList", {data: data});
  9. },
  10. //获取医院详情
  11. querySimpleHospitalById: function(data){
  12. return httpRequest.fzPost("baseinfo/HospitalApi/querySimpleHospitalById", data);
  13. },
  14. //查询科室列表
  15. querySimpleHosDeptList: function(data){
  16. return httpRequest.fzPost("baseinfo/HosDeptApi/querySimpleHosDeptList", data);
  17. },
  18. //获取科室详情
  19. querySimpleHosDeptById: function(data){
  20. return httpRequest.fzPost("baseinfo/HosDeptApi/querySimpleHosDeptById", data);
  21. },
  22. //查询医生列表接口
  23. querySimpleDoctorList: function(data){
  24. return httpRequest.fzPost("baseinfo/DoctorInfoApi/querySimpleDoctorList", data);
  25. },
  26. //获取医生详情
  27. querySimpleDoctorBySn: function(data){
  28. return httpRequest.fzPost("baseinfo/DoctorInfoApi/querySimpleDoctorBySn", data);
  29. },
  30. //查询排班数据
  31. queryGhtArrangeWater: function(data){
  32. return httpRequest.fzPost("gh/GhOpen/QueryGhtArrangeWater", data);
  33. },
  34. //查询号源信息
  35. queryNumbers: function(data){
  36. return httpRequest.fzPost("gh/GhOpen/QueryNumbers", data);
  37. },
  38. //查询医院挂号表单项
  39. getInputFormControls: function(data){
  40. return httpRequest.fzPost("gh/GhOpen/GetInputFormControls", data);
  41. },
  42. //创建挂号单
  43. createRegOrderForOpen: function(data){
  44. return httpRequest.fzPost("TradeMgmt/Open/createRegOrderForOpen", data);
  45. },
  46. //挂号单支付完成
  47. completePayNotice: function(data){
  48. return httpRequest.fzPost("TradeMgmt/Open/completePayNotice", data);
  49. },
  50. //取消挂号单
  51. cancelOrder: function(data){
  52. return httpRequest.fzPost("TradeMgmt/Open/cancelOrder", data);
  53. },
  54. //查询挂号单
  55. getRegOrderInfo: function(data){
  56. return httpRequest.fzPost("TradeMgmt/Open/getRegOrderInfo", data);
  57. },
  58. //查询挂号单列表
  59. queryRegOrderInfos: function(data){
  60. return httpRequest.fzPost("TradeMgmt/Open/queryRegOrderInfos", data);
  61. },
  62. //新增挂号单
  63. createRegistration: function(data){
  64. return httpRequest.post("basic/api/v1.0/appointment/registration/save", {data: data})
  65. },
  66. //修改挂号单信息
  67. updateRegistrationOrder: function(data){
  68. return httpRequest.post("basic/api/v1.0/appointment/registration/update", {data: data});
  69. },
  70. //修改挂号单状态
  71. updateOrderState: function(data){
  72. return httpRequest.post("basic/api/v1.0/appointment/registration/updateState", {data: data});
  73. }
  74. }
  75. exports.appointmentAPI = appointmentAPI;
  76. })(window)