diff --git a/backend-fastapi/db_init.json b/backend-fastapi/db_init.json index 5de6aef..1f73589 100644 --- a/backend-fastapi/db_init.json +++ b/backend-fastapi/db_init.json @@ -6766,7 +6766,7 @@ "is_system": true, "parent_id": null, "name": "AIConfirmationCenter", - "title": "AI ????", + "title": "AI确认中心", "authCode": null, "path": "/ai-confirmation-center", "type": "menu", @@ -7523,6 +7523,51 @@ "sys_dept_id": null } }, + { + "model": "core.menu.model.Menu", + "pk": "ai-agent-admin-system-dept", + "fields": { + "application_id": null, + "is_system": true, + "parent_id": "2c03f7a0-f4b5-43a9-94", + "name": "SystemDept", + "title": "menu-title.departmentManagement", + "authCode": null, + "path": "/system/dept", + "type": "menu", + "component": "/_core/dept/index", + "redirect": null, + "activePath": null, + "query": null, + "noBasicLayout": false, + "icon": "carbon:tree-view-alt", + "activeIcon": null, + "order": 15, + "hideInMenu": false, + "hideChildrenInMenu": false, + "hideInBreadcrumb": false, + "hideInTab": false, + "affixTab": false, + "affixTabOrder": null, + "keepAlive": false, + "maxNumOfOpenTab": null, + "fullPathKey": true, + "link": null, + "iframeSrc": null, + "openInNewWindow": false, + "badge": null, + "badgeType": null, + "badgeVariants": null, + "id": "ai-agent-admin-system-dept", + "sort": 15, + "is_deleted": false, + "sys_create_datetime": "2026-06-10T00:00:00.000000", + "sys_update_datetime": "2026-06-10T00:00:00.000000", + "sys_creator_id": null, + "sys_modifier_id": null, + "sys_dept_id": null + } + }, { "model": "core.menu.model.Menu", "pk": "7Cpu8cJnY_AbI2OtUJBzJ", diff --git a/web/apps/web-ele/src/router/access.ts b/web/apps/web-ele/src/router/access.ts index 62536ba..63c3c89 100644 --- a/web/apps/web-ele/src/router/access.ts +++ b/web/apps/web-ele/src/router/access.ts @@ -25,6 +25,7 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) { '../views/_core/authentication/oauth-callback.vue', '../views/_core/chat/index.vue', '../views/_core/control-center/index.vue', + '../views/_core/dept/index.vue', '../views/_core/fallback/**/*.vue', '../views/_core/menu/index.vue', '../views/_core/message/index.vue',