Sprint 4-5: 员工自助+考勤+合规+AI+搜索

This commit is contained in:
selfrelease
2026-08-01 06:45:59 +08:00
parent 9946197d20
commit a88c96299c
16 changed files with 1919 additions and 35 deletions
@@ -4,10 +4,11 @@
*/
import { Link, useLocation, useNavigate } from 'react-router-dom'
import { DollarSign, FileText, ScrollText, LogOut, CalendarCheck } from 'lucide-react'
import { DollarSign, FileText, ScrollText, LogOut, CalendarCheck, Home, UserX, ClipboardList } from 'lucide-react'
import Logo from '../../components/ui/Logo'
const tabItems = [
{ path: '/portal/home', label: '首页', icon: Home },
{ path: '/portal/payslip', label: '工资条', icon: DollarSign },
{ path: '/portal/contract', label: '我的合同', icon: FileText },
{ path: '/portal/attendance', label: '我的考勤', icon: CalendarCheck },
@@ -8,7 +8,7 @@ import { useState } from 'react'
import clsx from 'clsx'
import {
LayoutDashboard, Users, CalendarCheck, UserX,
Calculator, Shield,
Calculator, Shield, BarChart3, ShieldAlert,
FileSearch, FileText, Stethoscope, HeartPulse, Award,
Bot, BookMarked,
Bell, ScrollText, Settings,
@@ -50,6 +50,7 @@ const navGroups: NavGroup[] = [
items: [
{ path: '/money', label: '薪税管理', icon: Calculator },
{ path: '/social', label: '社保公积金', icon: Shield },
{ path: '/salary-dashboard', label: '薪酬分析', icon: BarChart3 },
],
},
{
@@ -61,6 +62,7 @@ const navGroups: NavGroup[] = [
{
title: '合规',
items: [
{ path: '/risk-center', label: '风险中心', icon: ShieldAlert },
{ path: '/evidence', label: '证据链', icon: FileSearch },
{ path: '/policies', label: '规章制度', icon: FileText },
{ path: '/tools/health-check', label: '用工体检', icon: Stethoscope },