feat: 初始化素材中心页面路由结构

This commit is contained in:
rd
2025-08-22 11:48:41 +08:00
parent f53b697df1
commit 0d5cb7ba38
19 changed files with 389 additions and 25 deletions

View File

@ -43,7 +43,7 @@ export const MENU_LIST = <Record<string, typeMenuItem[]>>{
{
key: 'ModPutAccountData',
icon: 'svg-putAccountData',
label: '账户数据',
label: '账户数据',
routeName: 'PutAccountAccountData',
requireLogin: true,
activeMatch: ['PutAccountAccountData'],
@ -72,20 +72,20 @@ export const MENU_LIST = <Record<string, typeMenuItem[]>>{
icon: 'svg-materialCenter',
children: [
{
key: 'ModMediaFinishProductsWareHouse',
key: 'ModMaterialCenterFinishedProductsWareHouse',
icon: 'svg-finishProductsWareHouse',
label: '成品库',
routeName: 'FinishProductsWareHouse',
routeName: 'MaterialCenterFinishedProducts',
requireLogin: true,
activeMatch: ['FinishProductsWareHouse', 'FinishProductsWareHouseWriter'],
activeMatch: ['MaterialCenterFinishedProducts'],
},
{
key: 'ModMediaRawMaterialStorage',
key: 'ModMaterialCenterRawMaterialStorage',
icon: 'svg-rawMaterialStorage',
label: '原料库',
routeName: 'RawMaterialStorage',
routeName: 'MaterialCenterRawMaterial',
requireLogin: true,
activeMatch: ['RawMaterialStorage', 'RawMaterialStorageWriter'],
activeMatch: ['MaterialCenterRawMaterial'],
},
],
},
@ -122,4 +122,3 @@ export const MENU_LIST = <Record<string, typeMenuItem[]>>{
},
],
};