From 24fa9ce6bc3f9c958958d42b1bb9a54a5372089f Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期一, 30 三月 2026 16:35:15 +0800
Subject: [PATCH] feat: complete wh-mat page migration
---
rsf-design/src/router/adapters/backendMenuAdapter.js | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/rsf-design/src/router/adapters/backendMenuAdapter.js b/rsf-design/src/router/adapters/backendMenuAdapter.js
index 41219c9..8aa8538 100644
--- a/rsf-design/src/router/adapters/backendMenuAdapter.js
+++ b/rsf-design/src/router/adapters/backendMenuAdapter.js
@@ -5,7 +5,32 @@
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'
}
@@ -107,6 +132,10 @@
return ''
}
+ if (hasChildren && normalizedKey && !PHASE_1_COMPONENTS[normalizedKey]) {
+ return ''
+ }
+
if (!normalizedKey) {
return normalizeComponentPath(fullRoutePath)
}
--
Gitblit v1.9.1