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