From a6189d209d63cf42ded07400fd546e1c235476c7 Mon Sep 17 00:00:00 2001 From: freedakgmail Date: Mon, 17 Aug 2026 19:00:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=91=98=E5=B7=A5=E7=AB=AF=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=BF=AB=E6=8D=B7=E5=85=A5=E5=8F=A3=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E8=B5=84=E6=96=99=E5=92=8C=E6=88=91=E7=9A=84?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 手机端底部TabBar只有5个固定入口,个人资料通过首页快捷入口访问 --- frontend/src/pages/portal/EmployeeHome.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/portal/EmployeeHome.tsx b/frontend/src/pages/portal/EmployeeHome.tsx index 6101ab0..e369e8c 100644 --- a/frontend/src/pages/portal/EmployeeHome.tsx +++ b/frontend/src/pages/portal/EmployeeHome.tsx @@ -6,7 +6,7 @@ import { useQuery } from '@tanstack/react-query' import { Link } from 'react-router-dom' import { DollarSign, FileText, CalendarCheck, ScrollText, CalendarClock, - AlertCircle, ChevronRight, UserX, PenTool, + AlertCircle, ChevronRight, UserX, PenTool, UserCircle, ClipboardList, } from 'lucide-react' import { portalApi } from '../../lib/api-services' import Card from '../../components/ui/Card' @@ -23,6 +23,8 @@ const QUICK_ACTIONS = [ { path: '/portal/attendance', label: '我的考勤', icon: CalendarCheck, color: 'bg-purple-50 text-purple-600' }, { path: '/portal/leave', label: '休假申请', icon: CalendarClock, color: 'bg-cyan-50 text-cyan-600' }, { path: '/portal/policies', label: '规章制度', icon: ScrollText, color: 'bg-amber-50 text-amber-600' }, + { path: '/portal/records', label: '我的记录', icon: ClipboardList, color: 'bg-slate-50 text-slate-600' }, + { path: '/portal/profile', label: '个人资料', icon: UserCircle, color: 'bg-indigo-50 text-indigo-600' }, ] export default function EmployeeHome() {