Restore file management entry
This commit is contained in:
@@ -7253,6 +7253,51 @@
|
|||||||
"sys_dept_id": null
|
"sys_dept_id": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"model": "core.menu.model.Menu",
|
||||||
|
"pk": "ai-agent-admin-system-file-manager",
|
||||||
|
"fields": {
|
||||||
|
"application_id": null,
|
||||||
|
"is_system": true,
|
||||||
|
"parent_id": "2c03f7a0-f4b5-43a9-94",
|
||||||
|
"name": "SystemFileManager",
|
||||||
|
"title": "menu-title.fileManagement",
|
||||||
|
"authCode": null,
|
||||||
|
"path": "/system/file-manager",
|
||||||
|
"type": "menu",
|
||||||
|
"component": "/_core/file-manager/index",
|
||||||
|
"redirect": null,
|
||||||
|
"activePath": null,
|
||||||
|
"query": null,
|
||||||
|
"noBasicLayout": false,
|
||||||
|
"icon": "lucide:folder-open",
|
||||||
|
"activeIcon": null,
|
||||||
|
"order": 39,
|
||||||
|
"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-file-manager",
|
||||||
|
"sort": 39,
|
||||||
|
"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",
|
"model": "core.menu.model.Menu",
|
||||||
"pk": "3e5b751e-f0b0-4873-91",
|
"pk": "3e5b751e-f0b0-4873-91",
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ const modules = import.meta.glob([
|
|||||||
'./langs/*/announcement.json',
|
'./langs/*/announcement.json',
|
||||||
'./langs/*/authentication.json',
|
'./langs/*/authentication.json',
|
||||||
'./langs/*/common.json',
|
'./langs/*/common.json',
|
||||||
|
'./langs/*/file-manager.json',
|
||||||
'./langs/*/loginLog.json',
|
'./langs/*/loginLog.json',
|
||||||
'./langs/*/menu.json',
|
'./langs/*/menu.json',
|
||||||
'./langs/*/menu-title.json',
|
'./langs/*/menu-title.json',
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
|
|||||||
'../views/_core/dept/index.vue',
|
'../views/_core/dept/index.vue',
|
||||||
'../views/_core/dict/index.vue',
|
'../views/_core/dict/index.vue',
|
||||||
'../views/_core/fallback/**/*.vue',
|
'../views/_core/fallback/**/*.vue',
|
||||||
|
'../views/_core/file-manager/index.vue',
|
||||||
|
'../views/_core/file-preview/index.vue',
|
||||||
'../views/_core/login-log/index.vue',
|
'../views/_core/login-log/index.vue',
|
||||||
'../views/_core/menu/index.vue',
|
'../views/_core/menu/index.vue',
|
||||||
'../views/_core/message/index.vue',
|
'../views/_core/message/index.vue',
|
||||||
|
|||||||
@@ -63,6 +63,17 @@ const coreRoutes: RouteRecordRaw[] = [
|
|||||||
title: 'OAuth Callback',
|
title: 'OAuth Callback',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'FilePreview',
|
||||||
|
path: '/file-preview/:id',
|
||||||
|
component: () => import('#/views/_core/file-preview/index.vue'),
|
||||||
|
meta: {
|
||||||
|
hideInBreadcrumb: true,
|
||||||
|
hideInMenu: true,
|
||||||
|
hideInTab: true,
|
||||||
|
title: $t('file-manager.filePreview'),
|
||||||
|
},
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export { coreRoutes, fallbackNotFoundRoute };
|
export { coreRoutes, fallbackNotFoundRoute };
|
||||||
|
|||||||
Reference in New Issue
Block a user