From cd81911514c025caf905de2266840aa2bc30bbe5 Mon Sep 17 00:00:00 2001 From: sophie Date: Tue, 14 Jul 2026 14:25:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(admin):=20=E4=BC=98=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/admin/components/AdminNav.vue | 23 +- .../admin/modules/reports/ReportsPage.vue | 345 ++++++++++-------- .../reports/composables/useReportsAdmin.ts | 75 +++- .../features/admin/stores/admin-nav.store.ts | 9 +- .../src/features/kb/utils/kb-display.utils.ts | 17 +- frontend/src/locales/en/admin.json | 7 +- frontend/src/locales/th/admin.json | 7 +- frontend/src/locales/zh-CN/admin.json | 7 +- frontend/src/locales/zh-TW/admin.json | 7 +- frontend/src/shared/styles/components-ds.css | 8 +- 10 files changed, 327 insertions(+), 178 deletions(-) diff --git a/frontend/src/features/admin/components/AdminNav.vue b/frontend/src/features/admin/components/AdminNav.vue index 220c5493..e8b708a9 100644 --- a/frontend/src/features/admin/components/AdminNav.vue +++ b/frontend/src/features/admin/components/AdminNav.vue @@ -1,9 +1,11 @@ /** * features/admin/components/AdminNav.vue * 管理后台左侧导航,使用子路由跳转。 + * 依赖:admin-nav.store、modules 常量、vue-router。 + * 逻辑:报表/企微子菜单默认折叠;当前路由落在对应模块时自动展开以便看到激活项。 */