parkReportManagement.js 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. import request from '@/utils/request'
  2. // 司机上报列表
  3. export function getList(data) {
  4. return request({
  5. url: '/driverInfo/selectDriverInfoSubmission',
  6. method: 'get',
  7. params: data,
  8. })
  9. }
  10. //上报
  11. export function report(data) {
  12. return request({
  13. url: '/driverInfo/api/batchSubmission',
  14. method: 'post',
  15. data: data,
  16. })
  17. }
  18. //查看单条数据
  19. export function getInfo(data) {
  20. return request({
  21. url: '/driverInfo/getDriver',
  22. method: 'get',
  23. params: data,
  24. })
  25. }
  26. // 车辆上报列表
  27. export function carGetList(data) {
  28. return request({
  29. url: '/driverCarInfo/selectCarInfoSubmission',
  30. method: 'get',
  31. params: data,
  32. })
  33. }
  34. //车辆上报
  35. export function carReport(data) {
  36. return request({
  37. url: '/driverCarInfo/api/batchSubmission',
  38. method: 'post',
  39. data: data,
  40. })
  41. }
  42. //查看单条数据
  43. export function carGetInfo(data) {
  44. return request({
  45. url: '/driverCarInfo/getDriverCarInfo',
  46. method: 'get',
  47. params: data,
  48. })
  49. }
  50. // 运单上报列表
  51. export function waybillGetList(data) {
  52. return request({
  53. url: '/orderInfo/selectWaybillReporting',
  54. method: 'get',
  55. params: data,
  56. })
  57. }
  58. //查看运单数据
  59. export function waybillGetInfo(data) {
  60. return request({
  61. url: '/orderInfo/getOrderInfo',
  62. method: 'get',
  63. params: data,
  64. })
  65. }
  66. //运单暂缓上报
  67. export function deferEscalation(data) {
  68. return request({
  69. url: '/orderInfo/api/postponeReporting',
  70. method: 'post',
  71. data: data,
  72. })
  73. }
  74. //运单批量上报
  75. export function batchEscalation(data) {
  76. return request({
  77. url: '/orderInfo/api/batchSubmission',
  78. method: 'post',
  79. data: data,
  80. })
  81. }
  82. // 流水单上报列表
  83. export function dailyReportGetList(data) {
  84. return request({
  85. url: '/hyFreightSettlementInfo/selectFlowSheet',
  86. method: 'get',
  87. params: data,
  88. })
  89. }
  90. //查看流水单数据
  91. export function dailyReporGetInfo(data) {
  92. return request({
  93. url: '/hyFreightSettlementInfo/getHyFreightSettlementInfo',
  94. method: 'get',
  95. params: data,
  96. })
  97. }
  98. //流水单暂缓上报
  99. export function dailyReportDeferEscalation(data) {
  100. return request({
  101. url: '/hyFreightSettlementInfo/api/postponeReporting',
  102. method: 'post',
  103. data: data,
  104. })
  105. }
  106. //流水单批量上报
  107. export function dailyReportBatchEscalation(data) {
  108. return request({
  109. url: '/hyFreightSettlementInfo/api/batchSubmission',
  110. method: 'post',
  111. data: data,
  112. })
  113. }