import request from '@/router/axios'
|
|
export function getAllHandymanTypeList(query) {
|
return request({
|
url: '/mes/handymanType/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function fetchList(query) {
|
return request({
|
url: '/mes/handymanType/page',
|
method: 'get',
|
params: query
|
})
|
}
|
export function fetchHandymanType(query, id) {
|
return request({
|
url: '/mes/handymanType/page/join/' + id,
|
method: 'get',
|
params: query
|
})
|
}
|
export function fetchHandyman(query, id) {
|
return request({
|
url: '/mes/handymanType/page/' + id,
|
method: 'get',
|
params: query
|
})
|
}
|
export function addObj(obj) {
|
return request({
|
url: '/mes/handymanType',
|
method: 'post',
|
data: obj
|
})
|
}
|
|
export function getObj(id) {
|
return request({
|
url: '/mes/handymanType/' + id,
|
method: 'get'
|
})
|
}
|
|
export function delObj(id) {
|
return request({
|
url: '/mes/handymanType/' + id,
|
method: 'delete'
|
})
|
}
|
export function delHandyTypeRelation(id, id1) {
|
return request({
|
url: '/mes/handymanType/' + id + '/' + id1,
|
method: 'delete'
|
})
|
}
|
export function putObj(obj) {
|
return request({
|
url: '/mes/handymanType',
|
method: 'put',
|
data: obj
|
})
|
}
|
|
export function fetchListByTemplateId(query) {
|
return request({
|
url: '/mes/handymanType/fetchListByTemplateId',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function fetchListFilterTemplateId(query) {
|
return request({
|
url: '/mes/handymanType/fetchListFilterTemplateId',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function relateTypeTemplate(obj) {
|
return request({
|
url: '/mes/handymanType/relateTypeTemplate',
|
method: 'post',
|
data: obj
|
})
|
}
|
|
export function delTypeTemplate(obj) {
|
return request({
|
url: '/mes/handymanType/delTypeTemplate',
|
method: 'post',
|
data: obj
|
})
|
}
|
|
export function batchLabelPrint(query) {
|
return request({
|
url: '/mes/product/batchLabelPrint',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function batchLabelPrintTimes(query) {
|
return request({
|
url: '/mes/product/batchLabelPrintTimes',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function checkBatchLabelPrint(query) {
|
return request({
|
url: '/mes/product/checkBatchLabelPrint',
|
method: 'get',
|
params: query
|
})
|
}
|