fix(admin): 删除用户审批功能并更新图标
This commit is contained in:
1 parent
55c6467d83
commit
07e83132c0
11 files changed
+141
-153
No files matched your search
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
/**
|
||||
* app/router/routes/admin.routes.ts
|
||||
* 管理后台嵌套路由;全部 admin 模块已独立拆分。
|
||||
* 依赖:vue-router;meta.title 存 i18n key(如 admin.nav.*),由 guards 解析为 document.title。
|
||||
* 逻辑:AdminLayout 嵌套各管理页;企微为三级子路由。
|
||||
* 绠$悊鍚庡彴宓屽璺敱锛涘叏閮?admin 妯″潡宸茬嫭绔嬫媶鍒嗐€?
|
||||
* 渚濊禆锛歷ue-router锛沵eta.title 瀛?i18n key锛堝 admin.nav.*锛夛紝鐢?guards 瑙f瀽涓?document.title銆?
|
||||
* 閫昏緫锛欰dminLayout 宓屽鍚勭鐞嗛〉锛涗紒寰负涓夌骇瀛愯矾鐢便€?
|
||||
*/
|
||||
|
||||
import type { RouteRecordRaw } from "vue-router";
|
||||
@@ -17,9 +17,6 @@ const UsersPage = () => import("@/features/admin/modules/users/UsersPage.vue");
|
||||
const DepartmentsPage = () =>
|
||||
import("@/features/admin/modules/departments/DepartmentsPage.vue");
|
||||
|
||||
const ApprovalsPage = () =>
|
||||
import("@/features/admin/modules/approvals/ApprovalsPage.vue");
|
||||
|
||||
const AnnouncementsPage = () =>
|
||||
import("@/features/admin/modules/announcements/AnnouncementsPage.vue");
|
||||
|
||||
@@ -116,17 +113,7 @@ export const adminRoutes: RouteRecordRaw[] = [
|
||||
component: WecomAuditsPage,
|
||||
meta: { requiresAdmin: true, adminModule: "wecom", title: "admin.wecom.nav.auditsPage" },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "approvals",
|
||||
name: "AdminApprovals",
|
||||
component: ApprovalsPage,
|
||||
meta: {
|
||||
requiresAdmin: true,
|
||||
adminModule: "approvals",
|
||||
title: "admin.nav.approvals",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "agents",
|
||||
@@ -233,3 +220,7 @@ export const adminRoutes: RouteRecordRaw[] = [
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user