diff --git a/furniture-3d-system/src/lib/business-role-inference.ts b/furniture-3d-system/src/lib/business-role-inference.ts index a8700f43..3b4835cd 100644 --- a/furniture-3d-system/src/lib/business-role-inference.ts +++ b/furniture-3d-system/src/lib/business-role-inference.ts @@ -13,7 +13,6 @@ const EXCLUDED_ROOTS = new Set([ '总经理室', '直播中心', '商务中心', - '分销部', '公共视觉部', '经营管理中心', '摄影中心', @@ -147,6 +146,10 @@ export function inferBusinessRolesFromDepartmentPath( } } + if (root === '分销部') { + return inferBusinessRole('OPERATIONS', '分销部默认归运营') + } + if (EXCLUDED_ROOTS.has(root) || /^效率部/.test(root)) { return inferGeneralUser(`${root} 默认归普通用户`) } diff --git a/furniture-3d-system/src/server/services/intake-owner-options.service.ts b/furniture-3d-system/src/server/services/intake-owner-options.service.ts index b6d8b581..bd007f0f 100644 --- a/furniture-3d-system/src/server/services/intake-owner-options.service.ts +++ b/furniture-3d-system/src/server/services/intake-owner-options.service.ts @@ -68,7 +68,10 @@ function departmentTextMatchesScope( } if (scope === "operation") { - return text.includes("运营中心"); + return ( + text.includes("运营中心") || + text.includes("江苏简尚品牌管理有限公司>分销部") + ); } if (scope === "purchasing") {