|
@@ -113,7 +113,7 @@ export async function getByTaskId(categoryId, taskId) {
|
|
|
|
|
|
|
|
// 查询BOM树
|
|
// 查询BOM树
|
|
|
export async function getBomTreeList(params) {
|
|
export async function getBomTreeList(params) {
|
|
|
- const res = await request.get(`/main/bomCategory/getList`, { params });
|
|
|
|
|
|
|
+ const res = await request.get(`/eam/deviceBom/getList`, { params });
|
|
|
if (res.data.code == 0) {
|
|
if (res.data.code == 0) {
|
|
|
return res.data;
|
|
return res.data;
|
|
|
}
|
|
}
|
|
@@ -122,7 +122,7 @@ export async function getBomTreeList(params) {
|
|
|
|
|
|
|
|
// 查询BOM树 详情
|
|
// 查询BOM树 详情
|
|
|
export async function getBomGetById(id) {
|
|
export async function getBomGetById(id) {
|
|
|
- const res = await request.get(`/main/bomCategory/getById/${id}`);
|
|
|
|
|
|
|
+ const res = await request.get(`/eam/deviceBom/getById/${id}`);
|
|
|
if (res.data.code == 0) {
|
|
if (res.data.code == 0) {
|
|
|
return res.data;
|
|
return res.data;
|
|
|
}
|
|
}
|
|
@@ -131,7 +131,7 @@ export async function getBomGetById(id) {
|
|
|
|
|
|
|
|
// 查询BOM 版本
|
|
// 查询BOM 版本
|
|
|
export async function versionList(params) {
|
|
export async function versionList(params) {
|
|
|
- const res = await request.get(`/main/bomCategory/versionList`, { params });
|
|
|
|
|
|
|
+ const res = await request.get(`/eam/deviceBom/versionList`, { params });
|
|
|
if (res.data.code == 0) {
|
|
if (res.data.code == 0) {
|
|
|
return res.data.data;
|
|
return res.data.data;
|
|
|
}
|
|
}
|
|
@@ -176,7 +176,7 @@ export async function getBomPageList(params) {
|
|
|
|
|
|
|
|
// 获取产品BOM列表
|
|
// 获取产品BOM列表
|
|
|
export async function getBomPageCategoryId(params) {
|
|
export async function getBomPageCategoryId(params) {
|
|
|
- const res = await request.get(`/main/bomCategory/pageByCategoryId`, {
|
|
|
|
|
|
|
+ const res = await request.get(`/eam/deviceBom/pageByCategoryId`, {
|
|
|
params
|
|
params
|
|
|
});
|
|
});
|
|
|
if (res.data.code == 0) {
|
|
if (res.data.code == 0) {
|