提交
This commit is contained in:
1 parent
725774ef0c
commit
c3be9d1dce
176 files changed
+41925
-6342
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import type { AppRouteRecord } from '@/types/router'
|
||||
|
||||
/**
|
||||
* 前端路由(控制台、报销管理、CRM 管理、工作流管理、系统管理)
|
||||
* 与后端菜单对齐时请同步 `backend/app/api/menu.py` 与 `sys_menu`(bx 见 docs/sql/20260606_bx_menu.sql)。
|
||||
* 前端路由(控制台、报销管理、CRM 管理、地磅管理、工作流管理、系统管理)
|
||||
* 与后端菜单对齐时请同步 `sys_menu`(bx 见 docs/sql/20260606_bx_menu.sql;db 见 docs/sql/20260607_db_menu.sql)。
|
||||
*/
|
||||
export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
// ──────────────────────────────────────────────
|
||||
@@ -426,7 +426,80 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
},
|
||||
|
||||
// ──────────────────────────────────────────────
|
||||
// 4. 工作流管理
|
||||
// 4. 地磅管理(db)
|
||||
// ──────────────────────────────────────────────
|
||||
{
|
||||
id: 'DB00000000000000000000000000001',
|
||||
name: 'DbManagement',
|
||||
path: '/db',
|
||||
component: '/index/index',
|
||||
meta: {
|
||||
title: '地磅管理',
|
||||
icon: 'ri:scales-3-line',
|
||||
keepAlive: false,
|
||||
roles: ['admin']
|
||||
},
|
||||
children: [
|
||||
{
|
||||
id: 'DB00000000000000000000000000002',
|
||||
name: 'DbDashboard',
|
||||
path: 'dashboard',
|
||||
component: '/db/dashboard/index',
|
||||
meta: {
|
||||
title: '仪表盘',
|
||||
keepAlive: true,
|
||||
menuCode: 'db:dashboard:list'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DB00000000000000000000000000003',
|
||||
name: 'DbPlans',
|
||||
path: 'plans',
|
||||
component: '/db/plans/index',
|
||||
meta: {
|
||||
title: '计划管理',
|
||||
keepAlive: true,
|
||||
menuCode: 'db:plan:list'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DB00000000000000000000000000004',
|
||||
name: 'DbInventory',
|
||||
path: 'inventory',
|
||||
component: '/db/inventory/index',
|
||||
meta: {
|
||||
title: '出入库管理',
|
||||
keepAlive: true,
|
||||
menuCode: 'db:inventory:list'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DB00000000000000000000000000005',
|
||||
name: 'DbWeighing',
|
||||
path: 'weighing',
|
||||
component: '/db/weighing/index',
|
||||
meta: {
|
||||
title: '地磅单管理',
|
||||
keepAlive: true,
|
||||
menuCode: 'db:weighing:list'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DB00000000000000000000000000006',
|
||||
name: 'DbVehicles',
|
||||
path: 'vehicles',
|
||||
component: '/db/vehicles/index',
|
||||
meta: {
|
||||
title: '车牌管理',
|
||||
keepAlive: true,
|
||||
menuCode: 'db:vehicle:list'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// ──────────────────────────────────────────────
|
||||
// 5. 工作流管理
|
||||
// ──────────────────────────────────────────────
|
||||
{
|
||||
id: 'WKF00000000000000000000000000001',
|
||||
@@ -500,7 +573,7 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
},
|
||||
|
||||
// ──────────────────────────────────────────────
|
||||
// 5. 系统管理
|
||||
// 6. 系统管理
|
||||
// ──────────────────────────────────────────────
|
||||
{
|
||||
id: 'SYSM000000000000000000000000000001',
|
||||
|
||||
Reference in new issue
Block a user