index.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. }
  68. // 协议到期提醒
  69. export function remindExpirationData(query){
  70. return request({
  71. url:'/warehouseBusiness/agreement/remindList',
  72. method:'get',
  73. params: query
  74. })
  75. }