carManage.js 646 B

123456789101112131415161718192021222324252627282930313233
  1. import request from '@/utils/request'
  2. // 查询订单主列表
  3. export function listFtmsorderbills(query) {
  4. return request({
  5. url: '/fleet/carManage/query',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询详情
  11. export function lookOver(fId) {
  12. return request({
  13. url: '/fleet/carManage/' + fId,
  14. method: 'get'
  15. })
  16. }
  17. // 模糊查询车队名称
  18. export function company(companyName) {
  19. return request({
  20. url: '/fleet/companyMsg/list',
  21. method: 'get',
  22. params: companyName
  23. })
  24. }
  25. // 新增
  26. export function preservation(data) {
  27. return request({
  28. url: '/fleet/carManage/add',
  29. method: 'post',
  30. data: data
  31. })
  32. }