批次生成
This commit is contained in:
@@ -42,3 +42,22 @@ export function delBatch(batchId) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 检测批次生成方案是否会出现死锁
|
||||
export function checkBatchLock(data) {
|
||||
return request({
|
||||
url: '/klp/batch/check',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 给出一个可行的批次生成方案
|
||||
export function generateBatch(data) {
|
||||
return request({
|
||||
url: '/klp/batch/generate',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user