Spaces:
Running
Running
| <html lang="zh-CN"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>薪资发放明细 - 薪智算</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap'); | |
| body { | |
| font-family: 'Noto Sans SC', sans-serif; | |
| } | |
| .payment-card { | |
| transition: all 0.3s ease; | |
| } | |
| .payment-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| } | |
| .status-paid { | |
| background-color: #10b981; | |
| } | |
| .status-pending { | |
| background-color: #f59e0b; | |
| } | |
| .status-failed { | |
| background-color: #ef4444; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- 导航栏 --> | |
| <nav class="bg-indigo-600 text-white py-4 px-6 shadow-lg"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="dollar-sign" class="w-6 h-6"></i> | |
| <span class="text-xl font-bold">薪智算</span> | |
| </div> | |
| <div class="hidden md:flex space-x-6"> | |
| <a href="index.html" class="hover:text-indigo-200 font-medium">首页</a> | |
| <a href="calculator.html" class="hover:text-indigo-200 font-medium">薪资计算</a> | |
| <a href="payment.html" class="font-medium text-indigo-200 border-b-2 border-indigo-200">薪资发放</a> | |
| <a href="salary_detail.html" class="hover:text-indigo-200 font-medium">薪资明细</a> | |
| <a href="#" class="hover:text-indigo-200 font-medium">社保公积金</a> | |
| <a href="#" class="hover:text-indigo-200 font-medium">报表管理</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <i data-feather="bell" class="w-5 h-5 hover:text-indigo-200 cursor-pointer"></i> | |
| <span class="absolute -top-1 -right-1 w-4 h-4 bg-red-500 text-white text-xs rounded-full flex items-center justify-center">3</span> | |
| </div> | |
| <div class="flex items-center space-x-2 cursor-pointer"> | |
| <div class="w-8 h-8 rounded-full bg-indigo-700 flex items-center justify-center"> | |
| <i data-feather="user" class="w-4 h-4"></i> | |
| </div> | |
| <span>管理员</span> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <main class="container mx-auto px-6 py-8"> | |
| <!-- 顶部操作区 --> | |
| <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8"> | |
| <div> | |
| <h1 class="text-2xl md:text-3xl font-bold">薪资发放与明细查询</h1> | |
| <p class="text-gray-600 mt-2">查看历史薪资发放记录与明细</p> | |
| </div> | |
| <div class="flex flex-wrap gap-3 mt-4 md:mt-0"> | |
| <button class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition flex items-center"> | |
| <i data-feather="plus" class="mr-2 w-4 h-4"></i> 新增发放 | |
| </button> | |
| <button class="px-4 py-2 bg-white text-indigo-600 border border-indigo-600 rounded-lg hover:bg-indigo-50 transition flex items-center"> | |
| <i data-feather="download" class="mr-2 w-4 h-4"></i> 导出报表 | |
| </button> | |
| <button class="px-4 py-2 bg-white text-gray-700 border border-gray-300 rounded-lg hover:bg-gray-50 transition flex items-center"> | |
| <i data-feather="filter" class="mr-2 w-4 h-4"></i> 筛选 | |
| </button> | |
| </div> | |
| </div> | |
| <!-- 筛选条件 --> | |
| <div class="bg-white rounded-lg shadow-sm p-4 mb-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">发放月份</label> | |
| <input type="month" class="w-full border border-gray-300 rounded-md py-2 px-3 focus:outline-none focus:ring-1 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">部门</label> | |
| <select class="w-full border border-gray-300 rounded-md py-2 px-3 focus:outline-none focus:ring-1 focus:ring-indigo-500"> | |
| <option value="">全部部门</option> | |
| <option>技术部</option> | |
| <option>产品部</option> | |
| <option>市场部</option> | |
| <option>财务部</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">发放状态</label> | |
| <select class="w-full border border-gray-300 rounded-md py-2 px-3 focus:outline-none focus:ring-1 focus:ring-indigo-500"> | |
| <option value="">全部状态</option> | |
| <option>已发放</option> | |
| <option>发放中</option> | |
| <option>发放失败</option> | |
| </select> | |
| </div> | |
| <div class="flex items-end"> | |
| <button class="w-full py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700 transition"> | |
| 查询 | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 统计数据 --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-6"> | |
| <div class="bg-white rounded-lg shadow-sm p-4"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-sm text-gray-500">本月发放人数</p> | |
| <p class="text-2xl font-bold">86</p> | |
| </div> | |
| <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i data-feather="users" class="text-indigo-600 w-5 h-5"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-sm p-4"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-sm text-gray-500">发放总金额</p> | |
| <p class="text-2xl font-bold">¥1,286,540</p> | |
| </div> | |
| <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center"> | |
| <i data-feather="dollar-sign" class="text-green-600 w-5 h-5"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-sm p-4"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-sm text-gray-500">平均薪资</p> | |
| <p class="text-2xl font-bold">¥14,960</p> | |
| </div> | |
| <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i data-feather="trending-up" class="text-blue-600 w-5 h-5"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-sm p-4"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-sm text-gray-500">完成率</p> | |
| <p class="text-2xl font-bold">98%</p> | |
| </div> | |
| <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center"> | |
| <i data-feather="check-circle" class="text-purple-600 w-5 h-5"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 薪资发放列表 --> | |
| <div class="bg-white rounded-lg shadow-sm overflow-hidden"> | |
| <div class="overflow-x-auto"> | |
| <table class="w-full"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">发放批次</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">发放月份</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">人数</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">总金额</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">发放状态</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">操作人</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">操作时间</th> | |
| <th class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">操作</th> | |
| </tr> | |
| </thead> | |
| <tbody class="divide-y divide-gray-200"> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">PY20231001</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023年10月</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">86</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">¥1,286,540.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 py-1 text-xs rounded-full status-paid text-white">已发放</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">张经理</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-10-05 14:30</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">查看</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900">导出</a> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">PY20230901</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023年9月</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">82</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">¥1,215,380.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 py-1 text-xs rounded-full status-paid text-white">已发放</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">张经理</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-09-05 15:22</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">查看</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900">导出</a> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">PY20230801</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023年8月</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">80</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">¥1,158,640.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 py-1 text-xs rounded-full status-paid text-white">已发放</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">李财务</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-08-05 16:10</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">查看</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900">导出</a> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">PY20230701</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023年7月</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">78</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">¥1,086,250.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 py-1 text-xs rounded-full status-paid text-white">已发放</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">李财务</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-07-05 11:45</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">查看</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900">导出</a> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">PY20230601</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023年6月</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">76</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">¥1,024,380.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 py-1 text-xs rounded-full status-paid text-white">已发放</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">王会计</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-05 10:15</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium"> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">查看</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900">导出</a> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <!-- 分页 --> | |
| <div class="bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200"> | |
| <div class="flex-1 flex justify-between sm:hidden"> | |
| <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">上一页</a> | |
| <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">下一页</a> | |
| </div> | |
| <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-700"> | |
| 显示 <span class="font-medium">1</span> 到 <span class="font-medium">5</span>,共 <span class="font-medium">12</span> 条记录 | |
| </p> | |
| </div> | |
| <div> | |
| <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> | |
| <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> | |
| <span class="sr-only">Previous</span> | |
| <i data-feather="chevron-left" class="h-5 w-5"></i> | |
| </a> | |
| <a href="#" aria-current="page" class="z-10 bg-indigo-50 border-indigo-500 text-indigo-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium">1</a> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">2</a> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">3</a> | |
| <span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700">...</span> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">12</a> | |
| <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> | |
| <span class="sr-only">Next</span> | |
| <i data-feather="chevron-right" class="h-5 w-5"></i> | |
| </a> | |
| </nav> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <script> | |
| // Feather 图标替换 | |
| document.addEventListener('DOMContentLoaded', function() { | |
| feather.replace(); | |
| }); | |
| </script> | |
| </body> | |
| </html> |