OAFRONT4 清理PC付款和工作台文案

这个提交包含在:
2026-05-25 07:47:52 +08:00
父节点 7937c76ebd
当前提交 fa5ed0337d
共修改 13 个文件,包含 115 行新增和 48 行删除
@@ -8,6 +8,8 @@ const STATUS_MAP: Record<string, { label: string; className: string }> = {
pending: { label: "待派发", className: "badge-warning" },
processing: { label: "处理中", className: "badge-warning" },
succeeded: { label: "已成功", className: "badge-success" },
reviewed: { label: "已复核", className: "badge-primary" },
executed: { label: "已执行", className: "badge-success" },
failed: { label: "失败", className: "badge-error" },
dead_letter: { label: "死信", className: "badge-error" },
not_triggered: { label: "未触发", className: "badge-neutral" },
@@ -18,7 +18,7 @@ export type NavItem = {
};
export const NAV_ITEMS: NavItem[] = [
{ to: "/portal", label: "Portal", icon: "home_app_logo" },
{ to: "/portal", label: "工作台", icon: "home_app_logo" },
{ to: "/team", label: "团队", icon: "groups" },
{ to: "/leave-requests", label: "请假", icon: "event_available", anyOf: ["leave.view_own", "leave.view_all", "leave.manage"] },
{ to: "/attendance", label: "考勤", icon: "schedule" },
@@ -40,7 +40,7 @@ export const NAV_ITEMS: NavItem[] = [
{ to: "/purchase-requests", label: "采购申请", icon: "shopping_cart", anyOf: ["procurement.create", "procurement.view_own", "procurement.view_all", "procurement.manage"] },
{ to: "/travel-requests", label: "差旅申请", icon: "flight", anyOf: ["travel.view_all", "travel.manage", "travel.payment.manage"] },
{ to: "/budgets", label: "预算管理", icon: "account_balance", anyOf: ["budget.view", "budget.manage"] },
{ to: "/payment-batches", label: "支付批次", icon: "payments", anyOf: ["payment.batch.manage", "risk.review.manage"] },
{ to: "/payment-batches", label: "付款批次", icon: "payments", anyOf: ["payment.batch.manage", "risk.review.manage"] },
{ to: "/ap-operations", label: "AP 运营", icon: "account_balance_wallet", anyOf: ["payment.batch.manage", "risk.review.manage"] },
{ to: "/invoice-pool", label: "票据中心", icon: "receipt_long", anyOf: ["invoice.manage"] },
{ to: "/inventory-checks", label: "资产盘点", icon: "inventory", anyOf: ["asset.inventory"] },