提高
This commit is contained in:
@@ -41,4 +41,35 @@ export function getworkorderList(id) {
|
||||
url: '/mes/pro/workplan/getworkorderList/' + id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function deleteworkorder(id) {
|
||||
return request({
|
||||
url: '/mes/pro/workplan/deleteworkorder/' + id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function insertNewworkorder(data) {
|
||||
return request({
|
||||
url: '/mes/pro/workplan/addworkorder',
|
||||
method: 'post',
|
||||
data: data,
|
||||
contextType: 'application/json',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function updateworkorder(data) {
|
||||
return request({
|
||||
url: '/mes/pro/workplan/updateworkorder',
|
||||
method: 'post',
|
||||
data: data,
|
||||
contextType: 'application/json',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user