allocateReport.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import { axios } from '@/utils/request'
  2. // 调拨开单统计 列表 有分页
  3. export const allocateReportList = (params) => {
  4. const url = `/report/allocateReport/queryPage/${params.pageNo}/${params.pageSize}`
  5. delete params.pageNo
  6. delete params.pageSize
  7. return axios({
  8. url: url,
  9. data: params,
  10. method: 'post'
  11. })
  12. }
  13. // 调拨开单统计 列表 合计
  14. export const allocateReportCount = (params) => {
  15. return axios({
  16. url: '/report/allocateReport/queryCount',
  17. data: params,
  18. method: 'post'
  19. })
  20. }
  21. // 调拨明细 列表 有分页
  22. export const allocateReportDetailList = (params) => {
  23. const url = `/report/allocateReport/detail/queryPage/${params.pageNo}/${params.pageSize}`
  24. delete params.pageNo
  25. delete params.pageSize
  26. return axios({
  27. url: url,
  28. data: params,
  29. method: 'post'
  30. })
  31. }
  32. // 调拨明细 列表 合计
  33. export const allocateReportDetailCount = (params) => {
  34. return axios({
  35. url: '/report/allocateReport/detail/queryCount',
  36. data: params,
  37. method: 'post'
  38. })
  39. }
  40. // 调拨明细报表 导出
  41. export const allocateReportDetailExport = (params) => {
  42. return axios({
  43. url: '/report/allocateReport/detail/exportExcel',
  44. data: params,
  45. method: 'post',
  46. responseType: 'blob'
  47. })
  48. }