fix(admin): 删除用户审批功能并更新图标

This commit is contained in:
HTEWJ\26070045 committed 2026-08-07 13:52:35 +08:00
1 parent 55c6467d83
commit 07e83132c0
11 files changed
+141 -153

No files matched your search

@@ -1,15 +1,14 @@
/**
/**
* features/admin/components/AdminNav.vue
* 管理后台左侧导航,使用子路由跳转。
* 依赖:admin-nav.store、modules 常量、vue-router。
* 逻辑:报表/企微子菜单默认折叠;当前路由落在对应模块时自动展开以便看到激活项。
* 绠$悊鍚庡彴宸︿晶瀵艰埅锛屼娇鐢ㄥ瓙璺敱璺宠浆銆?
* 渚濊禆锛歛dmin-nav.store銆乵odules 甯搁噺銆乿ue-router銆?
* 閫昏緫锛氭姤琛?浼佸井瀛愯彍鍗曢粯璁ゆ姌鍙狅紱褰撳墠璺敱钀藉湪瀵瑰簲妯″潡鏃惰嚜鍔ㄥ睍寮€浠ヤ究鐪嬪埌婵€娲婚」銆?
*/
<script setup lang="ts">
import { computed, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRoute, useRouter } from 'vue-router';
import {
LayoutDashboard, UserPlus, UserCog, Building, Bot, FileText,
import { LayoutDashboard, UserCog, Building, Bot, FileText,
Settings2, Megaphone, MessageCircleQuestion, Link2, Users, ShieldCheck, BarChart2, AppWindow,
ScrollText, ExternalLink,
} from 'lucide-vue-next';
@@ -26,7 +25,6 @@ const navStore = useAdminNavStore();
const iconMap: Record<AdminModuleId, Component> = {
dashboard: LayoutDashboard,
approvals: UserPlus,
users: UserCog,
departments: Building,
agents: Bot,
@@ -83,7 +81,7 @@ const navigateReport = (table: string): void => {
};
/**
* 进入报表/企微模块时自动展开子菜单,避免当前页在折叠状态下不可见。
* 杩涘叆鎶ヨ〃/浼佸井妯″潡鏃惰嚜鍔ㄥ睍寮€瀛愯彍鍗曪紝閬垮厤褰撳墠椤靛湪鎶樺彔鐘舵€佷笅涓嶅彲瑙併€?
*/
watch(
isReportsActive,
@@ -195,3 +193,4 @@ watch(
</nav>
</aside>
</template>