设备点检计划

This commit is contained in:
JinLu.Yin
2022-06-16 22:17:18 +08:00
parent de34d856e3
commit c3c0511cb7
3 changed files with 477 additions and 1 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询设备点检计划头列表
export function listCheckplan(query) {
return request({
url: '/mes/dv/checkplan/list',
method: 'get',
params: query
})
}
// 查询设备点检计划头详细
export function getCheckplan(planId) {
return request({
url: '/mes/dv/checkplan/' + planId,
method: 'get'
})
}
// 新增设备点检计划头
export function addCheckplan(data) {
return request({
url: '/mes/dv/checkplan',
method: 'post',
data: data
})
}
// 修改设备点检计划头
export function updateCheckplan(data) {
return request({
url: '/mes/dv/checkplan',
method: 'put',
data: data
})
}
// 删除设备点检计划头
export function delCheckplan(planId) {
return request({
url: '/mes/dv/checkplan/' + planId,
method: 'delete'
})
}