api.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import {
  2. request
  3. } from "./index.js";
  4. // 数据字典查询
  5. // export const reqDictionary = (postData) =>
  6. // request({
  7. // url: "/common/common/getDictionary",
  8. // data: postData,
  9. // method: 'POST'
  10. // });
  11. // 用户登录接口
  12. export const reqLogin = (postData) =>
  13. request({
  14. url: "/auth/login",
  15. data: postData,
  16. method: 'POST'
  17. });
  18. // 首页查看急标和普标数量
  19. export const reqSpecimenWorkOrderMsg = (postData) =>
  20. request({
  21. url: "/nurse/getSpecimenWorkOrderMsg",
  22. data: postData,
  23. method: 'POST'
  24. });
  25. // 首页最新工单列表
  26. export const reqWorkOrders = (postData) =>
  27. request({
  28. url: "/nurse/fetchDataList/workOrder",
  29. data: postData,
  30. method: 'POST'
  31. });
  32. // 首页快捷工单(其他临床服务任务类型)
  33. export const reqDeptTaskType = (postData) =>
  34. request({
  35. url: "/nurse/getDeptTaskType",
  36. data: postData,
  37. method: 'POST'
  38. });
  39. // 获取动态二维码
  40. export const reqDeptCodes = (postData) =>
  41. request({
  42. url: "/dept/deptCodes/0",
  43. data: postData,
  44. method: 'POST'
  45. });