index.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. import request from '@/utils/request'
  2. // 查询客户详情列表
  3. export function listCorps(query) {
  4. return request({
  5. // url: 'system/notice/list?pageNum=1&pageSize=10&status=0',
  6. url: 'system/notice/list?pageNum=1&status=0',
  7. method: 'get'
  8. })
  9. }
  10. // 条件查询仓库详情图表
  11. export function information(fId) {
  12. return request({
  13. url: '/warehouseBusiness/whgenleg/goodsList/' + fId,
  14. method: 'get'
  15. })
  16. }
  17. //查询仓库所有
  18. export function warehouse(){
  19. return request({
  20. url:'/warehouseBusiness/whgenleg/wareHouseList',
  21. method:'get'
  22. })
  23. }
  24. //查询待办事宜
  25. export function inquiry(data){
  26. return request({
  27. url:'/warehouse/paths/selectAllAuditItems',
  28. method:'post',
  29. data:data
  30. })
  31. }
  32. //箱分布查询
  33. export function boxDistribution(){
  34. return request({
  35. url:'/shipping/homePage/homeBox',
  36. method:'get'
  37. })
  38. }
  39. //船动态查询
  40. export function shipDynamics(){
  41. return request({
  42. url:'shipping/homePage/shipDynamic',
  43. method:'get'
  44. })
  45. }
  46. //订舱排名查询
  47. export function bookingSpace(){
  48. return request({
  49. url:'shipping/homePage/bookingSpace',
  50. method:'get'
  51. })
  52. }
  53. //应收款排名查询
  54. export function locationRanking(){
  55. return request({
  56. url:'shipping/homePage/accountsDue',
  57. method:'get'
  58. })
  59. }
  60. // 利润统计查询
  61. export function getProfitData(query){
  62. return request({
  63. url:'/shipping/profit/list',
  64. method:'get',
  65. params: query
  66. })
  67. }