index.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. import {
  2. apiResquest,
  3. apiResquestForm,
  4. apiResquestJsonList,
  5. apiResquestFormVideo,
  6. apiResquestTimer
  7. } from '@/api/request/request.js'
  8. //气瓶选择分页
  9. export const airbottleNewQpAppletBottlePage = (data) => {
  10. return apiResquest({
  11. url: '/airbottle-new/qp/applet/bottle/page',
  12. method: 'POST',
  13. data: data,
  14. })
  15. };
  16. //实验室选择分页
  17. export const airbottleNewQpAppletBottleSubjectsPage = (data) => {
  18. return apiResquest({
  19. url: '/airbottle-new/qp/applet/bottle/subjects/page',
  20. method: 'POST',
  21. data: data,
  22. })
  23. };
  24. //气瓶详情
  25. export const airbottleNewQpAppletBottleDetail = (data) => {
  26. return apiResquest({
  27. url: '/airbottle-new/qp/applet/bottle/detail',
  28. method: 'GET',
  29. data: data,
  30. })
  31. };
  32. //气瓶字典查询
  33. export const airBottleNewQpDictList = (data) => {
  34. return apiResquest({
  35. url: '/airbottle-new/qp/dict/list',
  36. method: 'GET',
  37. data: data,
  38. })
  39. };
  40. //扫码查询气瓶
  41. export const airBottleNewQpAppletBottleScan = (data) => {
  42. return apiResquest({
  43. url: '/airbottle-new/qp/applet/bottle/scan',
  44. method: 'GET',
  45. data: data,
  46. })
  47. };
  48. //扫码查询实验室
  49. export const airBottleNewQpAppletBottleSubjectsInfo = (data) => {
  50. return apiResquest({
  51. url: '/airbottle-new/qp/applet/bottle/subjects/info',
  52. method: 'GET',
  53. data: data,
  54. })
  55. };
  56. /*查询用户列表-下拉列表 - 无权限
  57. * userName : '', 名称
  58. * userType: '', 0.系统 1.老师 2.学生
  59. */
  60. export const systemUserSelectUser = (data) => {
  61. return apiResquest({
  62. url: '/system/user/dropList',
  63. method: 'POST',
  64. data: data,
  65. })
  66. };
  67. //查询学院列表
  68. export const getDeptDropList = (data) => {
  69. return apiResquest({
  70. url: '/system/dept/dropList',
  71. method: 'POST',
  72. data: data,
  73. })
  74. };
  75. //楼栋楼层
  76. export const systemBuildingGetTreeList = (data) => {
  77. return apiResquest({
  78. url: '/system/building/getTreeList',
  79. method: 'POST',
  80. data: data,
  81. })
  82. };
  83. //入库
  84. export const airBottleNewQpAppletBottleStorageIn = (data) => {
  85. return apiResquest({
  86. url: '/airbottle-new/qp/applet/bottle/storage/in',
  87. method: 'POST',
  88. data: data,
  89. })
  90. };
  91. //出库
  92. export const airBottleNewQpAppletBottleStorageOut = (data) => {
  93. return apiResquest({
  94. url: '/airbottle-new/qp/applet/bottle/storage/out',
  95. method: 'POST',
  96. data: data,
  97. })
  98. };
  99. //历史记录列表
  100. export const airBottleNewQpAppletBottleHistoryPage = (data) => {
  101. return apiResquest({
  102. url: '/airbottle-new/qp/applet/bottle/history/page',
  103. method: 'POST',
  104. data: data,
  105. })
  106. };
  107. //撤回入库
  108. export const airBottleNewQpAppletBottleStorageWithdraw = (data) => {
  109. return apiResquest({
  110. url: '/airbottle-new/qp/applet/bottle/storage/withdraw',
  111. method: 'POST',
  112. data: data,
  113. })
  114. };