index.js 920 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import request from '@/router/axios'
  2. // warehouse列表
  3. export function warehouseList(data = {}) {
  4. return request({
  5. url: '/api/victoriatourist/warehouse/page',
  6. method: 'post',
  7. data: data,
  8. })
  9. }
  10. // 添加warehouse
  11. export function warehouseAdd(data = {}) {
  12. return request({
  13. url: '/api/victoriatourist/warehouse/add',
  14. method: 'post',
  15. data: data,
  16. })
  17. }
  18. // warehouse详情
  19. export function warehouseDetails(data = {}) {
  20. return request({
  21. url: '/api/victoriatourist/warehouse/details',
  22. method: 'post',
  23. data: data,
  24. })
  25. }
  26. // 编辑warehouse
  27. export function warehouseEdit(data = {}) {
  28. return request({
  29. url: '/api/victoriatourist/warehouse/edit',
  30. method: 'post',
  31. data: data,
  32. })
  33. }
  34. // 删除warehouse
  35. export function warehouseDel(data = {}) {
  36. return request({
  37. url: '/api/victoriatourist/warehouse/delete',
  38. method: 'post',
  39. data: data,
  40. })
  41. }