工艺微服务变更

yangwl
zhaoxiaolin 1 year ago
parent d107b3fb38
commit 15ca3ad1f1

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

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

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

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

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

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

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

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

Loading…
Cancel
Save