R103/A1-A6 收口跨页面设计一致性
这个提交包含在:
@@ -3,12 +3,19 @@ export const ADMIN_NAV_ORDER = ["/system/workspace", "/people", "/organization",
|
||||
export const BACKUP_NAV_ORDER = ["/attendance", "/workflow/tasks", "/contracts-registry", "/purchase-requests", "/travel-requests", "/budgets", "/payment-batches", "/ap-operations", "/invoice-pool", "/inventory-checks", "/system/cutover", "/system/integrations/erp", "/dashboard", "/settings/profile"];
|
||||
|
||||
const PAGE_TITLES: Array<{ path: string; title: string; group: string }> = [
|
||||
{ path: "/portal", title: "Portal", group: "工作台" },
|
||||
{ path: "/portal", title: "工作台", group: "工作台" },
|
||||
{ path: "/announcements", title: "公告", group: "主导航" },
|
||||
{ path: "/team", title: "团队", group: "主导航" },
|
||||
{ path: "/attendance", title: "考勤", group: "备用模块" },
|
||||
{ path: "/projects", title: "项目", group: "主导航" },
|
||||
{ path: "/contracts-registry", title: "合同台账", group: "备用模块" },
|
||||
{ path: "/purchase-requests", title: "采购申请", group: "备用模块" },
|
||||
{ path: "/travel-requests", title: "差旅申请", group: "备用模块" },
|
||||
{ path: "/budgets", title: "预算管理", group: "备用模块" },
|
||||
{ path: "/payment-batches", title: "付款批次", group: "备用模块" },
|
||||
{ path: "/ap-operations", title: "应付作业", group: "备用模块" },
|
||||
{ path: "/invoice-pool", title: "票据中心", group: "备用模块" },
|
||||
{ path: "/inventory-checks", title: "盘点任务", group: "备用模块" },
|
||||
{ path: "/weekly-reports", title: "周报", group: "主导航" },
|
||||
{ path: "/todos", title: "待办", group: "主导航" },
|
||||
{ path: "/reimbursements/", title: "报销详情", group: "主导航" },
|
||||
@@ -29,6 +36,9 @@ const PAGE_TITLES: Array<{ path: string; title: string; group: string }> = [
|
||||
{ path: "/system/workflow-definitions", title: "流程定义", group: "管理入口" },
|
||||
{ path: "/system/settings", title: "系统设置", group: "管理入口" },
|
||||
{ path: "/system/feature-flags", title: "功能开关", group: "管理入口" },
|
||||
{ path: "/system/cutover", title: "切换控制台", group: "管理入口" },
|
||||
{ path: "/system/integrations/erp", title: "ERP 集成", group: "管理入口" },
|
||||
{ path: "/dashboard", title: "数据看板", group: "备用模块" },
|
||||
{ path: "/audit-logs", title: "审计日志", group: "管理入口" },
|
||||
];
|
||||
|
||||
@@ -41,7 +51,7 @@ export function resolvePageMeta(pathname: string) {
|
||||
}
|
||||
|
||||
if (pathname === "/") {
|
||||
return { title: "Portal", group: "工作台" };
|
||||
return { title: "工作台", group: "工作台" };
|
||||
}
|
||||
|
||||
return { title: pathname, group: "工作台" };
|
||||
|
||||
在新工单中引用
屏蔽一个用户