zhou zhou
4 天以前 6e042a90361bb68e7a641af3aea30f9bea7716cf
rsf-design/src/router/adapters/backendMenuAdapter.js
@@ -5,7 +5,37 @@
  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',
  matnrGroup: '/basic-info/matnr-group',
  basContainer: '/basic-info/bas-container',
  warehouse: '/basic-info/warehouse',
  warehouseAreas: '/basic-info/warehouse-areas',
  loc: '/basic-info/loc',
  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 +137,10 @@
    return ''
  }
  if (hasChildren && normalizedKey && !PHASE_1_COMPONENTS[normalizedKey]) {
    return ''
  }
  if (!normalizedKey) {
    return normalizeComponentPath(fullRoutePath)
  }