47 lines
796 B
JavaScript
47 lines
796 B
JavaScript
import request from '@/utils/request'
|
|
export function listCarType() {
|
|
return request({
|
|
url: '/history/car/listCarType',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function getCarList(form) {
|
|
return request({
|
|
url: '/history/car/listCar',
|
|
method: 'post',
|
|
data:form
|
|
})
|
|
}
|
|
|
|
export function delCar(carVin) {
|
|
return request({
|
|
url: '/history/car/deleteCar?carVin='+carVin,
|
|
method: 'post'
|
|
})
|
|
}
|
|
|
|
export function updateCar(carForm) {
|
|
return request({
|
|
url: '/history/car/updateCar',
|
|
method: 'post',
|
|
data:carForm
|
|
})
|
|
}
|
|
|
|
export function listFence() {
|
|
return request({
|
|
url: '/history/car/listFence',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function insertCar(carInsert) {
|
|
return request({
|
|
url: '/history/car/insertCar',
|
|
method: 'post',
|
|
data:carInsert
|
|
})
|
|
}
|
|
|