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.
45 lines
941 B
JavaScript
45 lines
941 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询电检数据记录列表
|
|
export function listElectricalInspection(query) {
|
|
return request({
|
|
url: '/report/electricalInspection/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询电检数据记录详细
|
|
export function getElectricalInspection(uuid) {
|
|
return request({
|
|
url: '/report/electricalInspection/' + uuid,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增电检数据记录
|
|
export function addElectricalInspection(data) {
|
|
return request({
|
|
url: '/report/electricalInspection',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改电检数据记录
|
|
export function updateElectricalInspection(data) {
|
|
return request({
|
|
url: '/report/electricalInspection',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除电检数据记录
|
|
export function delElectricalInspection(uuid) {
|
|
return request({
|
|
url: '/report/electricalInspection/' + uuid,
|
|
method: 'delete'
|
|
})
|
|
}
|