You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
JavaScript
55 lines
1.2 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询设备配套信息列表
|
|
export function listDmsBaseDeviceSupplies(query) {
|
|
return request({
|
|
url: '/dms/dmsBaseDeviceSupplies/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
|
|
// 查询设备配套信息详细
|
|
export function getDmsBaseDeviceSupplies(deviceSuppliesId) {
|
|
return request({
|
|
url: '/dms/dmsBaseDeviceSupplies/' + deviceSuppliesId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增设备配套信息
|
|
export function addDmsBaseDeviceSupplies(data) {
|
|
return request({
|
|
url: '/dms/dmsBaseDeviceSupplies',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改设备配套信息
|
|
export function updateDmsBaseDeviceSupplies(data) {
|
|
return request({
|
|
url: '/dms/dmsBaseDeviceSupplies',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除设备配套信息
|
|
export function delDmsBaseDeviceSupplies(deviceSuppliesId) {
|
|
return request({
|
|
url: '/dms/dmsBaseDeviceSupplies/' + deviceSuppliesId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 根据deviceId查询设备配套信息列表
|
|
export function listDmsBaseDeviceSuppliesByDeviceId(deviceId) {
|
|
return request({
|
|
url: '/dms/dmsBaseDeviceSupplies/listByDeviceId/' + deviceId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|