Newer
Older
DH_Apicture / src / api / carApi.js
@zhangqy zhangqy 28 days ago 1 KB first commit
import request from '@/utils/request';

// 车辆调度
export function trajectoryBack(params) {
  return request({
    url: `/internetVehicles/trajectory/back`,
    method: "get",
    params
  });
}

// 车辆列表
export function trajectoryList(params) {
  return request({
    url: `/internetVehicles/trajectory/list`,
    method: "get",
    params
  });
}
// 排涝调度 车辆
export function supervisionRealinformation(params){
  return request({
    url: '/internetVehicles/supervisionRealinformation/listInfo',
    method: 'get',
    params
  })
}

// 车辆信息
export function listInfoDetail(id){
  return request({
    url: `/internetVehicles/vehicle/selectByRealId/${id}`,
    method: 'get',
  })
}
// 车辆最新轨迹
export function listInfoTrajectoryNew(id){
  return request({
    url: `/internetVehicles/trajectory/selectOneByRealId/${id}`,
    method: 'get',
  })
}
// 车辆历史轨迹
export function listInfoTrajectory(id){
  return request({
    url: `/internetVehicles/trajectory/selectByRealId/${id}`,
    method: 'get',
  })
}

//单个历史轨迹
export function trajectoryOne(id){
  return request({
    url: `/internetVehicles/trajectory/${id}`,
    method: 'get',
  })
}