fix: report

This commit is contained in:
HTEWJ\26070045 committed 2026-09-09 14:19:41 +08:00
1 parent 07e83132c0
commit 4445ff68d4
46 files changed
+3904 -897

No files matched your search

@@ -9,7 +9,7 @@ import { computed, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRoute, useRouter } from 'vue-router';
import { LayoutDashboard, UserCog, Building, Bot, FileText,
Settings2, Megaphone, MessageCircleQuestion, Link2, Users, ShieldCheck, BarChart2, AppWindow,
Settings2, Megaphone, MessageCircleQuestion, Link2, Users, BarChart2, AppWindow,
ScrollText, ExternalLink,
} from 'lucide-vue-next';
import type { Component } from 'vue';
@@ -37,7 +37,6 @@ const iconMap: Record<AdminModuleId, Component> = {
permissions: Users,
platform_apps: AppWindow,
procurement_contract: ScrollText,
requests: ShieldCheck,
reports: BarChart2,
};
@@ -121,12 +120,6 @@ watch(
:class="isModuleActive(item.id) ? 'text-brand-600' : 'text-muted group-hover:text-secondary'"
/>
<span :class="navStore.sidebarCollapsed ? 'md:hidden' : ''">{{ t(item.labelKey) }}</span>
<span
v-if="navStore.badgeForModule(item.id) && !navStore.sidebarCollapsed"
class="ml-auto bg-red-500 text-white text-[10px] font-bold px-2 py-0.5 rounded-full shadow-sm"
>
{{ navStore.badgeForModule(item.id) }}
</span>
<div
v-if="isModuleActive(item.id)"
class="absolute left-0 top-1/2 -translate-y-1/2 w-1 h-6 bg-brand-600 rounded-r-full"