| | |
| | | console: '/dashboard/console', |
| | | user: '/system/user', |
| | | role: '/system/role', |
| | | aiParam: '/system/ai-param', |
| | | aiPrompt: '/system/ai-prompt', |
| | | aiCallLog: '/system/ai-observe', |
| | | aiMcpMount: '/system/ai-mcp-mount', |
| | | dept: '/system/dept', |
| | | tenant: '/system/tenant', |
| | | host: '/system/host', |
| | | menu: '/system/menu', |
| | | config: '/system/config', |
| | | dictType: '/system/dict-type', |
| | | fields: '/system/fields', |
| | | fieldsItem: '/system/fields-item', |
| | | whMat: '/basic-info/wh-mat', |
| | | matnr: '/basic-info/wh-mat', |
| | | warehouseStock: '/stock/warehouse-stock', |
| | | warehouseAreasItem: '/stock/warehouse-areas-item', |
| | | qlyInspect: '/manager/qly-inspect', |
| | | locRevise: '/manager/loc-revise', |
| | | freeze: '/manager/freeze', |
| | | stock: '/manager/stock', |
| | | task: '/manager/task', |
| | | locPreview: '/manager/loc-preview', |
| | | waveRule: '/manager/wave-rule', |
| | | menuPda: '/manager/menu-pda', |
| | | serialRule: '/system/serial-rule', |
| | | operationRecord: '/system/operation-record', |
| | | userLogin: '/system/user-login' |
| | | } |
| | | |
| | |
| | | return '' |
| | | } |
| | | |
| | | if (hasChildren && normalizedKey && !PHASE_1_COMPONENTS[normalizedKey]) { |
| | | return '' |
| | | } |
| | | |
| | | if (!normalizedKey) { |
| | | return normalizeComponentPath(fullRoutePath) |
| | | } |