api.js 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. export default {
  2. common: {
  3. // 登录
  4. login: {
  5. url: "/web/lgin/userLgin",
  6. auth: false,
  7. method: "POST",
  8. },
  9. },
  10. home: {
  11. //获取仓库数据
  12. getRoomData: {
  13. url: "/web/stroom/queryStroomPD",
  14. auth: true,
  15. method: "POST",
  16. },
  17. getUserData: {
  18. url: "/web/lgin/getUserRoleInfo",
  19. auth: true,
  20. method: "GET",
  21. },
  22. //获取待验收,待上架,待拣货,待配送数据
  23. getAwaitData: {
  24. url: "/web/pda/select/sn",
  25. auth: true,
  26. method: "POST",
  27. },
  28. //获取消息提醒数据
  29. getMessageData: {
  30. url: "/web/msg/queryMsgPage",
  31. auth: true,
  32. method: "POST",
  33. },
  34. // 已读消息
  35. readData: {
  36. url: "/web/msg/updateMsgStas",
  37. auth: true,
  38. method: "POST",
  39. }
  40. },
  41. //验收
  42. acceptance: {
  43. //获取待验收数据
  44. getAwaitListData: {
  45. url: "/web/stoout/select/sum",
  46. auth: true,
  47. method: "POST",
  48. },
  49. //获取待验收详情数据
  50. getAwaitDetailListData: {
  51. url: "/web/stoout/select/detl",
  52. auth: true,
  53. method: "POST",
  54. },
  55. //获取已验收数据
  56. getAlreadyData: {
  57. url: "/web/stoin/select/sum",
  58. auth: true,
  59. method: "POST",
  60. },
  61. //获取已验收详情数据
  62. getAreadyDetailListData: {
  63. url: "/web/stoin/select/detl",
  64. auth: true,
  65. method: "POST",
  66. },
  67. //验收数据
  68. subMitAceptData: {
  69. url: "/web/stoout/acp",
  70. auth: true,
  71. method: "POST",
  72. },
  73. // 查看UNI码
  74. queryUdiData: {
  75. url: "/web/hospSto/detail/udi",
  76. auth: true,
  77. method: "POST",
  78. },
  79. //查看报关单
  80. queryFileID:{
  81. url: "/web/file/uploadFile/loadFileById",
  82. auth: true,
  83. method: "POST",
  84. }
  85. },
  86. //上架页面接口
  87. groundIng: {
  88. //获取待上架和已上架数据
  89. getList: {
  90. url: "/web/inv/getManagerByPage",
  91. auth: true,
  92. method: "POST",
  93. },
  94. //根据仓库获取货位
  95. getStorageData: {
  96. url: "/web/cogloc/select",
  97. auth: true,
  98. method: "POST",
  99. },
  100. //上架
  101. listingData: {
  102. url: "/web/inv/groundBatch",
  103. auth: true,
  104. method: "POST",
  105. },
  106. },
  107. //耗材检索
  108. query: {
  109. getListData: {
  110. url: "/web/inv/getSumByPage",
  111. auth: true,
  112. method: "POST",
  113. },
  114. },
  115. //配送
  116. delivery: {
  117. getListData: {
  118. url: "/web/hospSto/select/stooutSum",
  119. auth: true,
  120. method: "POST",
  121. },
  122. //配送详情
  123. getListDetalData: {
  124. url: "/web/hospSto/select/stooutDetl",
  125. auth: true,
  126. method: "POST",
  127. },
  128. //拣货明细数据
  129. getPickData: {
  130. url: "/web/hospSto/select/pick",
  131. auth: true,
  132. method: "POST",
  133. },
  134. //配送接口
  135. subMitData: {
  136. url: "/web/hospSto/confirm/dev",
  137. auth: true,
  138. method: "POST",
  139. },
  140. uploadFile: {
  141. url: "/web/file/uploadFile/saveFile",
  142. auth: false,
  143. method: "POST",
  144. },
  145. },
  146. //出库拣货
  147. outbound: {
  148. //获取列表数据
  149. getListData: {
  150. url: "/web/hospSto/select/stooutSum",
  151. auth: true,
  152. method: "POST",
  153. },
  154. //获取列表详情数据
  155. getDetailsData: {
  156. url: "/web/hospSto/select/stooutDetl",
  157. auth: true,
  158. method: "POST",
  159. },
  160. // 获取明细数据
  161. outbQueryData: {
  162. url: "/web/hospSto/pick",
  163. auth: true,
  164. method: "POST",
  165. },
  166. //确认拣货
  167. confrimPickIng: {
  168. url: "/web/hospSto/confirm/pick",
  169. auth: true,
  170. method: "POST",
  171. },
  172. //拣货完成
  173. complatePickIng: {
  174. url: "/web/hospSto/suc/pick",
  175. auth: true,
  176. method: "POST",
  177. },
  178. //删除已拣耗材
  179. deAreayData:{
  180. url: "/web/hospSto/delete/pick",
  181. auth: true,
  182. method: "POST",
  183. }
  184. },
  185. //耗材消耗
  186. outboundIng: {
  187. targetRoom: {
  188. url: "/web/stroom/queryStroomAsocPD",
  189. auth: true,
  190. method: "POST",
  191. },
  192. addData: {
  193. url: "/web/hospSto/select/sn",
  194. auth: true,
  195. method: "POST",
  196. },
  197. subMitData: {
  198. url: "/web/hospSto/chtStoout",
  199. auth: true,
  200. method: "POST",
  201. }
  202. },
  203. //跟台清台
  204. followplat: {
  205. getListData: {
  206. url: "/web/mcsOrd/queryOprnMcsOrdSum",
  207. auth: true,
  208. method: "POST",
  209. },
  210. //详情
  211. detailsData: {
  212. url: "/web/oprnMcs/queryOprnMcsDetl",
  213. auth: true,
  214. method: "POST",
  215. },
  216. //提交清台接口
  217. subMitData: {
  218. url: "/web/oprnMcs/clrOprnOrd",
  219. auth: true,
  220. method: "POST",
  221. },
  222. //扫码消耗耗材
  223. oprnMcsUse:{
  224. url: "/web/oprnMcs/oprnMcsUse",
  225. auth: true,
  226. method: "POST",
  227. }
  228. },
  229. surgical: {
  230. getListData: {
  231. url: "/web/appyMcs/queryOprnPacAppy",
  232. auth: true,
  233. method: "POST",
  234. },
  235. //提交清台接口
  236. subMitData: {
  237. url: "/web/oprnMcs/clrOprnAppy",
  238. auth: true,
  239. method: "POST",
  240. }
  241. },
  242. inventory: {
  243. getListData: {
  244. url: "/web/intrInv/queryIntrTask",
  245. auth: true,
  246. method: "POST",
  247. },
  248. //获取盘点耗材列表数据
  249. getInvenListData: {
  250. url: "/web/intrInv/intrQueryInvSum",
  251. auth: true,
  252. method: "POST",
  253. },
  254. // 暗盘提交
  255. subMitDarkData: {
  256. url: "/web/intrInv/saveIntrInvSum",
  257. auth: true,
  258. method: "POST",
  259. },
  260. //查询耗材明细列表明盘
  261. getBrightData: {
  262. url: "/web/intrInv/intrQueryInvSN",
  263. auth: true,
  264. method: "POST",
  265. },
  266. brightData: {
  267. url: "/web/intrInv/saveIntrInvSn",
  268. auth: true,
  269. method: "POST",
  270. },
  271. //明盘结束盘点
  272. brightFinish: {
  273. url: "/web/intrInv/sbmtIntrInv",
  274. auth: true,
  275. method: "POST",
  276. },
  277. //查看盘点结果
  278. getResultData: {
  279. url: "/web/intrInv/queryIntrSum",
  280. auth: true,
  281. method: "POST",
  282. }
  283. }
  284. }