文件
hyb-oa/client/src/pages/ReimbursementsPage.tsx
T
wangsli c290e03fef feat(client): 初始化前端壳与鉴权守卫(P1-5)
- 技术栈:React 18 + TypeScript + Vite + Tailwind

- API 层:ApiError + 401 自动刷新 + single-flight 重试

- 鉴权:内存 Access Token + Cookie Refresh + 启动 bootstrap

- RBAC:权限映射 + RequireAuth/RequirePermission 路由守卫

- 布局:OA 工作台壳层 + 侧边栏 + 5 个占位页面

- 样式:复用 hyb-web 视觉 token(单向同步)

- 文档:新增 client README,补充 server 联调说明
2026-02-07 16:43:57 +08:00

18 行
529 B
TypeScript

import { EmptyStateCard } from "../components/common/EmptyStateCard";
import { PageHeader } from "../components/common/PageHeader";
export function ReimbursementsPage() {
return (
<div>
<PageHeader
title="我的报销"
subtitle="此页面已完成路由、鉴权与菜单接入,后续将接入真实列表数据。"
/>
<EmptyStateCard
title="功能建设中"
description="后续迭代将实现报销列表、筛选、详情与提交能力。"
/>
</div>
);
}