Newer
Older
Nanping_sponge_SJJC / src / api / business / vehicleTrajectory.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 数据检测
import request from '@/utils/request'

// 查询应急车辆轨迹分页
export function pagevehicleTrajectory(query) {
  return request({
    url: '/business/vehicleTrajectory/page',
    method: 'get',
    params: query
  })
}

// 查询应急车辆轨迹列表
export function listvehicleTrajectory(query) {
  return request({
    url: '/business/vehicleTrajectory/list',
    method: 'get',
    params: query
  })
}

// 查询应急车辆轨迹详细
export function getvehicleTrajectory(id) {
  return request({
    url: '/business/vehicleTrajectory/' + id,
    method: 'get'
  })
}

// 新增应急车辆轨迹
export function addvehicleTrajectory(data) {
  return request({
    url: '/business/vehicleTrajectory/add',
    method: 'post',
    data: data
  })
}

// 修改应急车辆轨迹
export function updatevehicleTrajectory(data) {
  return request({
    url: '/business/vehicleTrajectory/edit',
    method: 'put',
    data: data
  })
}

// 删除应急车辆轨迹
export function delvehicleTrajectory(id) {
  return request({
    url: '/business/vehicleTrajectory/' + id,
    method: 'delete'
  })
}