|
@@ -0,0 +1,256 @@
|
|
|
|
+<template>
|
|
|
|
+ <div class="min-h-screen bg-gray-50">
|
|
|
|
+ <!-- Sidebar -->
|
|
|
|
+ <aside class="w-64 min-h-screen bg-[#08002E] text-white">
|
|
|
|
+ <nav class="p-4">
|
|
|
|
+ <div class="mb-4 text-lg font-medium">门户</div>
|
|
|
|
+ <ul class="space-y-2">
|
|
|
|
+ <li>
|
|
|
|
+ <router-link to="/dashboard" class="flex items-center px-4 py-2 text-white hover:bg-blue-500 rounded-lg">
|
|
|
|
+ <Home class="w-5 h-5 mr-3" />
|
|
|
|
+ 首页
|
|
|
|
+ </router-link>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <router-link to="/organization" class="flex items-center px-4 py-2 text-white hover:bg-blue-500 rounded-lg">
|
|
|
|
+ <Users class="w-5 h-5 mr-3" />
|
|
|
|
+ 组织架构
|
|
|
|
+ </router-link>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <router-link to="/users" class="flex items-center px-4 py-2 text-white hover:bg-blue-500 rounded-lg">
|
|
|
|
+ <UserCheck class="w-5 h-5 mr-3" />
|
|
|
|
+ 用户列表信息
|
|
|
|
+ </router-link>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <a href="#" class="flex items-center px-4 py-2 text-white hover:bg-blue-500 rounded-lg">
|
|
|
|
+ <Layers class="w-5 h-5 mr-3" />
|
|
|
|
+ 系统模块1
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <a href="#" class="flex items-center px-4 py-2 text-white hover:bg-blue-500 rounded-lg">
|
|
|
|
+ <Layers class="w-5 h-5 mr-3" />
|
|
|
|
+ 系统模块2
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ </ul>
|
|
|
|
+ </nav>
|
|
|
|
+ </aside>
|
|
|
|
+
|
|
|
|
+ <!-- Main Content -->
|
|
|
|
+ <main class="flex-1 p-6">
|
|
|
|
+ <!-- Top Section -->
|
|
|
|
+ <div class="grid grid-cols-4 gap-6 mb-6">
|
|
|
|
+ <div class="bg-white rounded-lg p-6 flex items-center space-x-4 shadow-sm">
|
|
|
|
+ <div class="w-12 h-12 rounded-lg flex items-center justify-center bg-blue-50">
|
|
|
|
+ <FileText class="text-blue-500" size="24" />
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="text-3xl font-semibold">
|
|
|
|
+ 21<span class="text-gray-400 text-lg">/35</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text-gray-500">合同审核</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="bg-white rounded-lg p-6 flex items-center space-x-4 shadow-sm">
|
|
|
|
+ <div class="w-12 h-12 rounded-lg flex items-center justify-center bg-yellow-50">
|
|
|
|
+ <FileText class="text-yellow-500" size="24" />
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="text-3xl font-semibold">
|
|
|
|
+ 28<span class="text-gray-400 text-lg">/40</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text-gray-500">合同签署</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="bg-white rounded-lg p-6 flex items-center space-x-4 shadow-sm">
|
|
|
|
+ <div class="w-12 h-12 rounded-lg flex items-center justify-center bg-green-50">
|
|
|
|
+ <FileText class="text-green-500" size="24" />
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="text-3xl font-semibold">
|
|
|
|
+ 40<span class="text-gray-400 text-lg">/65</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text-gray-500">合同登记</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="bg-white rounded-lg p-6 flex items-center space-x-4 shadow-sm">
|
|
|
|
+ <div class="w-12 h-12 rounded-lg flex items-center justify-center bg-red-50">
|
|
|
|
+ <FileText class="text-red-500" size="24" />
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="text-3xl font-semibold">
|
|
|
|
+ 12<span class="text-gray-400 text-lg">/15</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text-gray-500">合同履约</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- Bottom Section -->
|
|
|
|
+ <div class="grid grid-cols-2 gap-6">
|
|
|
|
+ <!-- Special Tasks -->
|
|
|
|
+ <div class="bg-white rounded-lg p-6 shadow-sm">
|
|
|
|
+ <div class="flex items-center justify-between mb-4">
|
|
|
|
+ <h2 class="text-lg font-medium">特办事项</h2>
|
|
|
|
+ <div class="flex space-x-4">
|
|
|
|
+ <button class="px-3 py-1 text-blue-600 bg-blue-50 rounded-md">全部</button>
|
|
|
|
+ <button class="px-3 py-1 text-blue-600">今天</button>
|
|
|
|
+ <button class="px-3 py-1 text-gray-500">本周</button>
|
|
|
|
+ <button class="px-3 py-1 text-gray-500">本月</button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="space-y-4">
|
|
|
|
+ <div class="flex items-start">
|
|
|
|
+ <input type="checkbox" :checked="false" class="mt-1 mr-3" />
|
|
|
|
+ <div>
|
|
|
|
+ <div class="text-gray-900">联系xxxx客户,商讨具体合同事宜</div>
|
|
|
|
+ <div class="text-gray-500 text-sm">xxxx公司公积金管理</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="flex items-start">
|
|
|
|
+ <input type="checkbox" :checked="false" class="mt-1 mr-3" />
|
|
|
|
+ <div>
|
|
|
|
+ <div class="text-gray-900">完成合同模版创建并上传系统</div>
|
|
|
|
+ <div class="text-gray-500 text-sm">xxxxx公司人员xxxx合同管理</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="flex items-start">
|
|
|
|
+ <input type="checkbox" :checked="false" class="mt-1 mr-3" />
|
|
|
|
+ <div>
|
|
|
|
+ <div class="text-gray-900">审核xxxxxxx合同</div>
|
|
|
|
+ <div class="text-gray-500 text-sm">xxxx公司人员xxx合同签订</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="flex items-start">
|
|
|
|
+ <input type="checkbox" :checked="false" class="mt-1 mr-3" />
|
|
|
|
+ <div>
|
|
|
|
+ <div class="text-gray-900">签署xxxx合同,邮件发送xxxxx客户</div>
|
|
|
|
+ <div class="text-gray-500 text-sm">xxxxxxxxx公司人员资源管理</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- Project Progress -->
|
|
|
|
+ <div class="bg-white rounded-lg p-6 shadow-sm">
|
|
|
|
+ <div class="flex items-center justify-between mb-4">
|
|
|
|
+ <h2 class="text-lg font-medium">项目进程</h2>
|
|
|
|
+ </div>
|
|
|
|
+ <table class="w-full">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr class="text-gray-500">
|
|
|
|
+ <th class="pb-4 text-left font-normal">项目名称</th>
|
|
|
|
+ <th class="pb-4 text-left font-normal">负责人</th>
|
|
|
|
+ <th class="pb-4 text-left font-normal">截止日期</th>
|
|
|
|
+ <th class="pb-4 text-left font-normal">当前状态</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody class="text-sm">
|
|
|
|
+ <tr class="border-t">
|
|
|
|
+ <td class="py-4">xxxx公司公积金管理</td>
|
|
|
|
+ <td class="py-4">任小东</td>
|
|
|
|
+ <td class="py-4">2023/07/25</td>
|
|
|
|
+ <td class="py-4">
|
|
|
|
+ <span class="px-2 py-1 rounded text-sm bg-red-50 text-red-600">
|
|
|
|
+ 已延期
|
|
|
|
+ </span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr class="border-t">
|
|
|
|
+ <td class="py-4">xxxxx公司人员xxxx合同管理</td>
|
|
|
|
+ <td class="py-4">胡晓东</td>
|
|
|
|
+ <td class="py-4">2024/01/09</td>
|
|
|
|
+ <td class="py-4">
|
|
|
|
+ <span class="px-2 py-1 rounded text-sm bg-blue-50 text-blue-600">
|
|
|
|
+ 进行中
|
|
|
|
+ </span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr class="border-t">
|
|
|
|
+ <td class="py-4">xxxx公司人员xxx合同签订</td>
|
|
|
|
+ <td class="py-4">李兵</td>
|
|
|
|
+ <td class="py-4">2025/01/08</td>
|
|
|
|
+ <td class="py-4">
|
|
|
|
+ <span class="px-2 py-1 rounded text-sm bg-blue-50 text-blue-600">
|
|
|
|
+ 进行中
|
|
|
|
+ </span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr class="border-t">
|
|
|
|
+ <td class="py-4">xxxxxxxxx公司人员资源管理</td>
|
|
|
|
+ <td class="py-4">王天一</td>
|
|
|
|
+ <td class="py-4">2023/09/03</td>
|
|
|
|
+ <td class="py-4">
|
|
|
|
+ <span class="px-2 py-1 rounded text-sm bg-green-50 text-green-600">
|
|
|
|
+ 已完成
|
|
|
|
+ </span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- Quick Functions -->
|
|
|
|
+ <div class="bg-white rounded-lg p-6 shadow-sm">
|
|
|
|
+ <div class="flex items-center justify-between mb-4">
|
|
|
|
+ <h2 class="text-lg font-medium">快捷功能</h2>
|
|
|
|
+ <MoreHorizontal class="text-gray-400" />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="space-y-3">
|
|
|
|
+ <div class="text-gray-700 hover:text-blue-600 cursor-pointer">
|
|
|
|
+ 人力资源主合同(标准版)
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text-gray-700 hover:text-blue-600 cursor-pointer">
|
|
|
|
+ 人事代理服务协议(标准版)
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text-gray-700 hover:text-blue-600 cursor-pointer">
|
|
|
|
+ 人事代理服务协议
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text-gray-700 hover:text-blue-600 cursor-pointer">
|
|
|
|
+ 人事代理服务协议(企业版)
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text-gray-700 hover:text-blue-600 cursor-pointer">
|
|
|
|
+ 人事代理服务协议(定制版)
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- Contract Statistics -->
|
|
|
|
+ <div class="bg-white rounded-lg p-6 shadow-sm">
|
|
|
|
+ <div class="flex items-center justify-between mb-4">
|
|
|
|
+ <h2 class="text-lg font-medium">合同类型统计</h2>
|
|
|
|
+ <div class="flex items-center space-x-4">
|
|
|
|
+ <div class="flex items-center">
|
|
|
|
+ <div class="w-3 h-3 bg-blue-500 rounded-sm mr-2"></div>
|
|
|
|
+ <span class="text-sm text-gray-500">A合同</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="flex items-center">
|
|
|
|
+ <div class="w-3 h-3 bg-green-500 rounded-sm mr-2"></div>
|
|
|
|
+ <span class="text-sm text-gray-500">B合同</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="h-64">
|
|
|
|
+ <!-- Chart would go here - using a placeholder -->
|
|
|
|
+ <div class="w-full h-full bg-gray-50 rounded flex items-center justify-center">
|
|
|
|
+ Bar Chart Placeholder
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </main>
|
|
|
|
+ </div>
|
|
|
|
+</template>
|
|
|
|
+
|
|
|
|
+<script setup>
|
|
|
|
+import {
|
|
|
|
+ Home, Users, UserCheck, Layers, FileText, MoreHorizontal
|
|
|
|
+} from 'lucide-vue-next'
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<style scoped>
|
|
|
|
+/* Add any additional custom styles here if needed */
|
|
|
|
+</style>
|