You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
931 B
53 lines
931 B
1 year ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询水闸备用电源主列表
|
||
|
export function listBydyzb(query) {
|
||
|
return request({
|
||
|
url: '/bydyzb/list',
|
||
|
method: 'post',
|
||
|
data: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询水闸备用电源主详细
|
||
|
export function getBydyzb(id) {
|
||
|
return request({
|
||
|
url: '/bydyzb/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增水闸备用电源主
|
||
|
export function addBydyzb(data) {
|
||
|
return request({
|
||
|
url: '/bydyzb',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改水闸备用电源主
|
||
|
export function updateBydyzb(data) {
|
||
|
return request({
|
||
|
url: '/bydyzb',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除水闸备用电源主
|
||
|
export function delBydyzb(id) {
|
||
|
return request({
|
||
|
url: '/bydyzb/' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 导出水闸备用电源主
|
||
|
export function exportBydyzb(query) {
|
||
|
return request({
|
||
|
url: '/bydyzb/export',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|