排班计划

This commit is contained in:
JinLu.Yin
2022-06-06 22:27:30 +08:00
parent 91b655e12a
commit bc3287b147
2 changed files with 480 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询排班计划列表
export function listCalplan(query) {
return request({
url: '/mes/cal/calplan/list',
method: 'get',
params: query
})
}
// 查询排班计划详细
export function getCalplan(planId) {
return request({
url: '/mes/cal/calplan/' + planId,
method: 'get'
})
}
// 新增排班计划
export function addCalplan(data) {
return request({
url: '/mes/cal/calplan',
method: 'post',
data: data
})
}
// 修改排班计划
export function updateCalplan(data) {
return request({
url: '/mes/cal/calplan',
method: 'put',
data: data
})
}
// 删除排班计划
export function delCalplan(planId) {
return request({
url: '/mes/cal/calplan/' + planId,
method: 'delete'
})
}