工装夹具资源设置
This commit is contained in:
44
src/api/mes/md/workstationtool.js
Normal file
44
src/api/mes/md/workstationtool.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询工装夹具资源列表
|
||||
export function listWorkstationtool(query) {
|
||||
return request({
|
||||
url: '/mes/md/workstationtool/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询工装夹具资源详细
|
||||
export function getWorkstationtool(recordId) {
|
||||
return request({
|
||||
url: '/mes/md/workstationtool/' + recordId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增工装夹具资源
|
||||
export function addWorkstationtool(data) {
|
||||
return request({
|
||||
url: '/mes/md/workstationtool',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改工装夹具资源
|
||||
export function updateWorkstationtool(data) {
|
||||
return request({
|
||||
url: '/mes/md/workstationtool',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除工装夹具资源
|
||||
export function delWorkstationtool(recordId) {
|
||||
return request({
|
||||
url: '/mes/md/workstationtool/' + recordId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user