This commit is contained in:
JinLu.Yin
2022-07-27 20:52:03 +08:00
parent 766d56d1d1
commit 724cf63424
5 changed files with 287 additions and 6 deletions

44
src/api/mes/md/sop.js Normal file
View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询产品SOP列表
export function listSop(query) {
return request({
url: '/mes/md/sop/list',
method: 'get',
params: query
})
}
// 查询产品SOP详细
export function getSop(sopId) {
return request({
url: '/mes/md/sop/' + sopId,
method: 'get'
})
}
// 新增产品SOP
export function addSop(data) {
return request({
url: '/mes/md/sop',
method: 'post',
data: data
})
}
// 修改产品SOP
export function updateSop(data) {
return request({
url: '/mes/md/sop',
method: 'put',
data: data
})
}
// 删除产品SOP
export function delSop(sopId) {
return request({
url: '/mes/md/sop/' + sopId,
method: 'delete'
})
}