index.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. import request from '@/router/axios';
  2. // 列表查询
  3. export function selectInvoiceList(data) {
  4. return request({
  5. url: '/api/blade-land/order/list',
  6. method: 'get',
  7. params: data
  8. })
  9. }
  10. // 列表单条删除
  11. export function removeDelegationList(data) {
  12. return request({
  13. url: '/api/blade-land/order/remove',
  14. method: 'post',
  15. params: data
  16. })
  17. }
  18. // 单据新增修改
  19. export function saveDelegationList(data) {
  20. return request({
  21. url: '/api/blade-land/order/submit',
  22. method: 'post',
  23. data: data
  24. })
  25. }
  26. // 单据新增修改
  27. export function saveSaveList(data) {
  28. return request({
  29. url: '/api/blade-land/order/save',
  30. method: 'post',
  31. data: data
  32. })
  33. }
  34. // 单据新增
  35. export function detailDelegationList(data) {
  36. return request({
  37. url: '/api/blade-land/order/detail',
  38. method: 'get',
  39. params:data
  40. })
  41. }
  42. // 单据新增
  43. export function removeCollection(data) {
  44. return request({
  45. url: '/api/blade-land/orderfee/remove?ids='+data,
  46. method: 'post'
  47. })
  48. }
  49. //司机查询
  50. export function driverQueryCollection(data) {
  51. return request({
  52. url: '/api/blade-land/order-item/list',
  53. method: 'get',
  54. params:data
  55. })
  56. }
  57. //调度箱信息
  58. export function dispatchCollection(data) {
  59. return request({
  60. url: '/api/blade-land/order-item/dispatch',
  61. method: 'post',
  62. data:data
  63. })
  64. }
  65. //取消调度箱信息
  66. export function cancelDispatchCollection(data) {
  67. return request({
  68. url: '/api/blade-land/order-item/cancel-dispatch',
  69. method: 'get',
  70. params:data
  71. })
  72. }
  73. //派车箱信息
  74. export function sendACarCollection(data) {
  75. return request({
  76. url: '/api/blade-land/order-item/send',
  77. method: 'post',
  78. data:data
  79. })
  80. }
  81. //取消派车箱信息
  82. export function sendACarDispatchCollection(data) {
  83. return request({
  84. url: '/api/blade-land/order-item/cancel-send',
  85. method: 'get',
  86. params:data
  87. })
  88. }
  89. //受理箱信息
  90. export function acceptanceCollection(data) {
  91. return request({
  92. url: '/api/blade-land/order-item/accept',
  93. method: 'post',
  94. data:data
  95. })
  96. }
  97. //取消受理箱信息
  98. export function acceptanceDispatchCollection(data) {
  99. return request({
  100. url: '/api/blade-land/order-item/cancel-accept',
  101. method: 'get',
  102. params:data
  103. })
  104. }
  105. //确认完工箱信息
  106. export function confirmCompletion(data) {
  107. return request({
  108. url: '/api/blade-land/order-item/finished',
  109. method: 'get',
  110. params:data
  111. })
  112. }
  113. //获取车队司机信息
  114. export function fleetList() {
  115. return request({
  116. url: '/api/blade-client/land-vehicle/vehicle-list',
  117. method: 'get'
  118. })
  119. }