工单报备,工单详情
This commit is contained in:
45
src/api/mine.js
Normal file
45
src/api/mine.js
Normal file
@ -0,0 +1,45 @@
|
||||
import request from '@/utils/http'
|
||||
|
||||
//车辆列表
|
||||
export function supplierVehicleList(data){
|
||||
return request({
|
||||
url:'/supplierAppV2/dispatchApp/user/supplierVehicleList',
|
||||
method:'POST',
|
||||
contentTye:'application/json',
|
||||
data
|
||||
})
|
||||
}
|
||||
//添加或修改车辆信息
|
||||
export function saveVehicle(data){
|
||||
return request({
|
||||
url:'/supplierAppV2/dispatchApp/user/saveVehicle',
|
||||
method:'POST',
|
||||
contentType:'application/json',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 获取车辆信息(用于修改时回显的值,只需传vehicleId)
|
||||
export function getInfoById(data){
|
||||
return request({
|
||||
url:'/supplierAppV2/dispatchApp/user/getInfoById',
|
||||
method:'POST',
|
||||
contentType:'application/json',
|
||||
data
|
||||
})
|
||||
}
|
||||
//删除车辆信息(只需传vehicleId)
|
||||
export function deleteVehicle(data){
|
||||
return request({
|
||||
url:'/supplierAppV2/dispatchApp/user/deleteVehicle',
|
||||
method:'POST',
|
||||
contentType:'application/json',
|
||||
data
|
||||
})
|
||||
}
|
||||
//车辆类型列表
|
||||
export function vehicleTypeList(){
|
||||
return request({
|
||||
url:'/supplierAppV2/dispatchApp/user/vehicleTypeList',
|
||||
method:'POST'
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user