工装夹具资源设置

This commit is contained in:
JinLu.Yin
2022-05-12 17:37:24 +08:00
parent 5d549525ad
commit b2977b8c4d
3 changed files with 268 additions and 6 deletions

View 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'
})
}