|
|
|
@ -12,7 +12,7 @@ export function listBaseDevice(query) {
|
|
|
|
|
// 查询轮胎基础信息详细
|
|
|
|
|
export function getBaseDevice(id) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/basetyre/basetyre/' + id,
|
|
|
|
|
url: '/basedevice/basedevice/' + id,
|
|
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -20,7 +20,7 @@ export function getBaseDevice(id) {
|
|
|
|
|
// 新增轮胎基础信息
|
|
|
|
|
export function addBaseDevice(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/basetyre/basetyre',
|
|
|
|
|
url: '/basedevice/basedevice',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
@ -29,7 +29,7 @@ export function addBaseDevice(data) {
|
|
|
|
|
// 修改轮胎基础信息
|
|
|
|
|
export function updateBaseDevice(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/basetyre/basetyre',
|
|
|
|
|
url: '/basedevice/basedevice',
|
|
|
|
|
method: 'put',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
@ -38,7 +38,7 @@ export function updateBaseDevice(data) {
|
|
|
|
|
// 删除轮胎基础信息
|
|
|
|
|
export function delBaseDevice(id) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/basetyre/basetyre/' + id,
|
|
|
|
|
url: '/basedevice/basedevice/' + id,
|
|
|
|
|
method: 'delete'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|