工艺微服务变更

yangwl
zhaoxiaolin 1 year ago
parent d107b3fb38
commit 15ca3ad1f1

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询工艺附件管理列表
export function listBaseFile(query) {
return request({
url: '/mes/pro/baseFile/list',
url: '/technology/pro/baseFile/list',
method: 'get',
params: query
});
@ -12,7 +12,7 @@ export function listBaseFile(query) {
// 查询工艺附件管理详细
export function getBaseFile(fileId) {
return request({
url: '/mes/pro/baseFile/' + fileId,
url: '/technology/pro/baseFile/' + fileId,
method: 'get'
});
}
@ -20,7 +20,7 @@ export function getBaseFile(fileId) {
// 新增工艺附件管理
export function addBaseFile(data) {
return request({
url: '/mes/pro/baseFile',
url: '/technology/pro/baseFile',
method: 'post',
data: data
});
@ -29,7 +29,7 @@ export function addBaseFile(data) {
// 修改工艺附件管理
export function updateBaseFile(data) {
return request({
url: '/mes/pro/baseFile',
url: '/technology/pro/baseFile',
method: 'put',
data: data
});
@ -38,7 +38,7 @@ export function updateBaseFile(data) {
// 删除工艺附件管理
export function delBaseFile(fileId) {
return request({
url: '/mes/pro/baseFile/' + fileId,
url: '/technology/pro/baseFile/' + fileId,
method: 'delete'
});
}

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询生产工序列表
export function listProcess(query) {
return request({
url: '/mes/pro/process/list',
url: '/technology/pro/process/list',
method: 'get',
params: query
})
@ -12,7 +12,7 @@ export function listProcess(query) {
// 查询所有有效生产工序
export function listAllProcess() {
return request({
url: '/mes/pro/process/listAll',
url: '/technology/pro/process/listAll',
method: 'get'
})
}
@ -21,7 +21,7 @@ export function listAllProcess() {
// 查询生产工序详细
export function getProcess(processId) {
return request({
url: '/mes/pro/process/' + processId,
url: '/technology/pro/process/' + processId,
method: 'get'
})
}
@ -29,7 +29,7 @@ export function getProcess(processId) {
// 新增生产工序
export function addProcess(data) {
return request({
url: '/mes/pro/process',
url: '/technology/pro/process',
method: 'post',
data: data
})
@ -38,7 +38,7 @@ export function addProcess(data) {
// 修改生产工序
export function updateProcess(data) {
return request({
url: '/mes/pro/process',
url: '/technology/pro/process',
method: 'put',
data: data
})
@ -47,7 +47,7 @@ export function updateProcess(data) {
// 删除生产工序
export function delProcess(processId) {
return request({
url: '/mes/pro/process/' + processId,
url: '/technology/pro/process/' + processId,
method: 'delete'
})
}

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询生产工序内容列表
export function listProcesscontent(query) {
return request({
url: '/mes/pro/processcontent/list',
url: '/technology/pro/processcontent/list',
method: 'get',
params: query
})
@ -12,7 +12,7 @@ export function listProcesscontent(query) {
// 查询生产工序内容详细
export function getProcesscontent(contentId) {
return request({
url: '/mes/pro/processcontent/' + contentId,
url: '/technology/pro/processcontent/' + contentId,
method: 'get'
})
}
@ -20,7 +20,7 @@ export function getProcesscontent(contentId) {
// 新增生产工序内容
export function addProcesscontent(data) {
return request({
url: '/mes/pro/processcontent',
url: '/technology/pro/processcontent',
method: 'post',
data: data
})
@ -29,7 +29,7 @@ export function addProcesscontent(data) {
// 修改生产工序内容
export function updateProcesscontent(data) {
return request({
url: '/mes/pro/processcontent',
url: '/technology/pro/processcontent',
method: 'put',
data: data
})
@ -38,7 +38,7 @@ export function updateProcesscontent(data) {
// 删除生产工序内容
export function delProcesscontent(contentId) {
return request({
url: '/mes/pro/processcontent/' + contentId,
url: '/technology/pro/processcontent/' + contentId,
method: 'delete'
})
}

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询工艺路线列表
export function listProroute(query) {
return request({
url: '/mes/pro/proroute/list',
url: '/technology/pro/proroute/list',
method: 'get',
params: query
})
@ -12,7 +12,7 @@ export function listProroute(query) {
// 查询工艺路线详细
export function getProroute(routeId) {
return request({
url: '/mes/pro/proroute/' + routeId,
url: '/technology/pro/proroute/' + routeId,
method: 'get'
})
}
@ -20,7 +20,7 @@ export function getProroute(routeId) {
// 新增工艺路线
export function addProroute(data) {
return request({
url: '/mes/pro/proroute',
url: '/technology/pro/proroute',
method: 'post',
data: data
})
@ -29,7 +29,7 @@ export function addProroute(data) {
// 修改工艺路线
export function updateProroute(data) {
return request({
url: '/mes/pro/proroute',
url: '/technology/pro/proroute',
method: 'put',
data: data
})
@ -38,7 +38,7 @@ export function updateProroute(data) {
// 删除工艺路线
export function delProroute(routeId) {
return request({
url: '/mes/pro/proroute/' + routeId,
url: '/technology/pro/proroute/' + routeId,
method: 'delete'
})
}
@ -46,7 +46,7 @@ export function delProroute(routeId) {
// 批量新增附件
export function importProroute(data) {
return request({
url: '/mes/pro/proroute/import',
url: '/technology/pro/proroute/import',
method: 'post',
data: data
})

@ -1,53 +1,53 @@
import request from '@/utils/request'
// 查询生产工序列表
// 查询配方列表
export function listProcess(query) {
return request({
url: '/mes/pro/recipe/list',
url: '/technology/pro/recipe/list',
method: 'get',
params: query
})
}
// 查询所有有效生产工序
// 查询所有有效配方
export function listAllProcess() {
return request({
url: '/mes/pro/recipe/listAll',
url: '/technology/pro/recipe/listAll',
method: 'get'
})
}
// 查询生产工序详细
// 查询配方详细
export function getProcess(recipeId) {
return request({
url: '/mes/pro/recipe/' + recipeId,
url: '/technology/pro/recipe/' + recipeId,
method: 'get'
})
}
// 新增生产工序
// 新增配方
export function addProcess(data) {
return request({
url: '/mes/pro/recipe',
url: '/technology/pro/recipe',
method: 'post',
data: data
})
}
// 修改生产工序
// 修改配方
export function updateProcess(data) {
return request({
url: '/mes/pro/recipe',
url: '/technology/pro/recipe',
method: 'put',
data: data
})
}
// 删除生产工序
// 删除配方
export function delProcess(recipeId) {
return request({
url: '/mes/pro/recipe/' + recipeId,
url: '/technology/pro/recipe/' + recipeId,
method: 'delete'
})
}

@ -1,44 +1,44 @@
import request from '@/utils/request'
// 查询生产工序内容列表
// 查询配方内容列表
export function listProcesscontent(query) {
return request({
url: '/mes/pro/recipecontent/list',
url: '/technology/pro/recipecontent/list',
method: 'get',
params: query
})
}
// 查询生产工序内容详细
// 查询配方内容详细
export function getProcesscontent(contentId) {
return request({
url: '/mes/pro/recipecontent/' + contentId,
url: '/technology/pro/recipecontent/' + contentId,
method: 'get'
})
}
// 新增生产工序内容
// 新增配方内容
export function addProcesscontent(data) {
return request({
url: '/mes/pro/recipecontent',
url: '/technology/pro/recipecontent',
method: 'post',
data: data
})
}
// 修改生产工序内容
// 修改配方内容
export function updateProcesscontent(data) {
return request({
url: '/mes/pro/recipecontent',
url: '/technology/pro/recipecontent',
method: 'put',
data: data
})
}
// 删除生产工序内容
// 删除配方内容
export function delProcesscontent(contentId) {
return request({
url: '/mes/pro/recipecontent/' + contentId,
url: '/technology/pro/recipecontent/' + contentId,
method: 'delete'
})
}

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询工艺组成列表
export function listRouteprocess(query) {
return request({
url: '/mes/pro/routeprocess/list',
url: '/technology/pro/routeprocess/list',
method: 'get',
params: query
})
@ -13,7 +13,7 @@ export function listRouteprocess(query) {
// 查询产品的工艺组成列表
export function listProductprocess(productId) {
return request({
url: '/mes/pro/routeprocess/listProductProcess/'+productId,
url: '/technology/pro/routeprocess/listProductProcess/'+productId,
method: 'get'
})
}
@ -22,7 +22,7 @@ export function listProductprocess(productId) {
// 查询工艺组成详细
export function getRouteprocess(recordId) {
return request({
url: '/mes/pro/routeprocess/' + recordId,
url: '/technology/pro/routeprocess/' + recordId,
method: 'get'
})
}
@ -30,7 +30,7 @@ export function getRouteprocess(recordId) {
// 新增工艺组成
export function addRouteprocess(data) {
return request({
url: '/mes/pro/routeprocess',
url: '/technology/pro/routeprocess',
method: 'post',
data: data
})
@ -39,7 +39,7 @@ export function addRouteprocess(data) {
// 修改工艺组成
export function updateRouteprocess(data) {
return request({
url: '/mes/pro/routeprocess',
url: '/technology/pro/routeprocess',
method: 'put',
data: data
})
@ -48,7 +48,7 @@ export function updateRouteprocess(data) {
// 删除工艺组成
export function delRouteprocess(recordId) {
return request({
url: '/mes/pro/routeprocess/' + recordId,
url: '/technology/pro/routeprocess/' + recordId,
method: 'delete'
})
}

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询工艺线体关联列表
export function listProduct(query) {
return request({
url: '/mes/pro/routeprodproduct/list',
url: '/technology/pro/routeprodproduct/list',
method: 'get',
params: query
});
@ -12,7 +12,7 @@ export function listProduct(query) {
// 查询工艺线体关联详细
export function getProduct(recordId) {
return request({
url: '/mes/pro/routeprodproduct/' + recordId,
url: '/technology/pro/routeprodproduct/' + recordId,
method: 'get'
});
}
@ -20,7 +20,7 @@ export function getProduct(recordId) {
// 新增工艺线体关联
export function addProduct(data) {
return request({
url: '/mes/pro/routeprodproduct',
url: '/technology/pro/routeprodproduct',
method: 'post',
data: data
});
@ -29,7 +29,7 @@ export function addProduct(data) {
// 修改工艺线体关联
export function updateProduct(data) {
return request({
url: '/mes/pro/routeprodproduct',
url: '/technology/pro/routeprodproduct',
method: 'put',
data: data
});
@ -38,7 +38,7 @@ export function updateProduct(data) {
// 删除工艺线体关联
export function delProduct(recordId) {
return request({
url: '/mes/pro/routeprodproduct/' + recordId,
url: '/technology/pro/routeprodproduct/' + recordId,
method: 'delete'
});
}
@ -46,7 +46,7 @@ export function delProduct(recordId) {
// 查询工艺线体关联列表
export function getListProduct(query) {
return request({
url: '/mes/pro/routeprodproduct/getList',
url: '/technology/pro/routeprodproduct/getList',
method: 'get',
params: query
});

Loading…
Cancel
Save