api.js 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // const API_BASE2 = 'http://172.18.0.23'
  2. // const API_BASE = 'http://172.18.1.79:9091'
  3. // const API_BASE = 'http://172.18.0.78:9090'
  4. const API_BASE = 'http://101.200.225.123'
  5. module.exports = {
  6. /*
  7. 通用模块
  8. */
  9. //上传
  10. uploadFile: API_BASE + '/hospital/common/uploadFile',
  11. //根据附件ID获取文件
  12. getFilePath: API_BASE + '/hospital/common/getFilePath',
  13. //字典值
  14. getLabelByCode: API_BASE + '/device/dictDetail/getLabelByCode',
  15. //获取个人信息
  16. getUserInfoById: API_BASE + '/hospital/rubbish/userSetting/getUserInfoById',
  17. //获取科室下拉
  18. getOfficeBoxInfo: API_BASE + '/hospital/rubbish/category/getOfficeBoxInfo',
  19. /*
  20. 隐患模块
  21. */
  22. // 隐患记录数目统计
  23. htroubleCount: API_BASE + '/hospital/app/htrouble/count',
  24. // 隐患记录列表查询
  25. htroubleList: API_BASE + '/hospital/app/htrouble/list',
  26. // 隐患详情查询
  27. htroubleDetail: API_BASE + '/hospital/app/htrouble/detail',
  28. // 上报隐患
  29. htroubleReport: API_BASE + '/hospital/app/htrouble/report',
  30. /*
  31. 医废打包 收集
  32. */
  33. // 获取医废包列表
  34. queryPackageList: API_BASE + '/hospital/rubbish/package/queryPackageList',
  35. // 新增打包
  36. SaveOrUpdatePackage: API_BASE + '/hospital/rubbish/package/SaveOrUpdatePackage',
  37. // (扫码)根据科室ID获取科室名称
  38. queryPositionDetail: API_BASE + '/hospital/rubbishSetting/queryPositionDetail',
  39. // (医废收集)获取待收集数量
  40. needCollectNo: API_BASE + '/hospital/rubbish/package/needCollectNo',
  41. // (医废收集)获取已完成
  42. completeNo: API_BASE + '/hospital/rubbish/batch/completeNo',
  43. // (医废收集)获取已完成列表
  44. queryBatchList: API_BASE + '/hospital/rubbish/batch/queryBatchList',
  45. // (医废收集 获取转运中批次信息
  46. getMovingBatchData: API_BASE + '/hospital/rubbish/batch/getMovingBatchData',
  47. // (医废收集 获取医废包详情
  48. getPackageInfo: API_BASE + '/hospital/rubbish/package/getPackageInfo',
  49. // (医废收集 医废包收集确认
  50. collectRubbishPackage: API_BASE + '/hospital/rubbish/package/collectRubbishPackage',
  51. // (医废收集 获取转运线路
  52. checkoutBatchPath: API_BASE + '/hospital/rubbish/batch/checkoutBatchPath',
  53. // (医废收集 批次运送中扫码签到
  54. batchSignIn: API_BASE + '/hospital/rubbish/batch/batchSignIn',
  55. // (医废收集 判断线路是否正常,是否可以正常完成转运
  56. checkoutPathResult: API_BASE + '/hospital/rubbish/batch/checkoutPathResult',
  57. // (医废收集 完成转运
  58. completeMove: API_BASE + '/hospital/rubbish/batch/completeMove',
  59. // (医废收集 根据批次id获取批次列表
  60. getPackageListByBatchId: API_BASE + '/hospital/rubbish/package/getPackageListByBatchId',
  61. /*
  62. 医废验收
  63. */
  64. // (医废验收 查询验收列表
  65. queryBatchByPage: API_BASE + '/hospital/rubbish/check/queryBatchByPage',
  66. // (医废验收 查询验收状态数量
  67. queryBatchStatus: API_BASE + '/hospital/rubbish/check/queryBatchStatus',
  68. // (医废验收 查询批次详情
  69. queryBatchDetail: API_BASE + '/hospital/rubbish/check/queryBatchDetail',
  70. // (医废验收 医废包验收
  71. receivePackage4Batch: API_BASE + '/hospital/rubbish/check/receivePackage4Batch',
  72. // (医废验收 批次验收
  73. receiveBatch: API_BASE + '/hospital/rubbish/check/receiveBatch',
  74. // (医废验收 异常处理
  75. handleError4Pack: API_BASE + '/hospital/rubbish/check/handleError4Pack',
  76. }