Commit Graph

5 Commits

Author SHA1 Message Date
sudomarcma 7769a89708 feat: Add manager permissions management component and related functionality
- Implemented ManagerPermissions.vue for managing manager accounts, including adding, editing, and deleting managers.
- Integrated a modal for adding new managers with form validation.
- Added functionality to fetch, display, and paginate manager data.
- Created a toast notification system for user feedback on actions.
- Developed a reusable Toast component for displaying notifications.
- Introduced a useToast composable for managing toast notifications.
- Added permissions management for managers, including fetching and saving permissions.
- Implemented password change functionality for managers.
- Enhanced error handling and user feedback throughout the manager management process.
- Added root CA and private key files for secure communication.
2025-07-18 15:56:55 +08:00
sudomarcma 601b32a7c8 refactor: Remove unused certificate and key files; update CORS configuration in server.js 2025-07-16 18:06:51 +08:00
sudomarcma 4587fad562 Add SSL certificates and database schema for attendance management system
- Added SSL certificate (cert.pem) for secure communication.
- Added private key (key.pem) for SSL configuration.
- Added root CA certificate (rootCA.pem) for certificate validation.
- Created initial database schema in dev.sql with tables for system configuration, worker profiles, attendance rules, notifications, geofence zones, shift schedules, overtime records, leave requests, and payroll records.
- Inserted sample data for system configuration and attendance rules.
2025-07-14 15:28:28 +08:00
sudomarcma 2560996333 refactor(数据库): 移除clock_records表中的distance_meters字段并更新相关查询
移除不再使用的distance_meters字段,简化数据库结构
更新前端展示失败的打卡记录样式和添加notes列显示
删除不再需要的SSL证书文件
2025-07-01 11:28:05 +08:00
sudomarcma e563f17283 feat(安全): 实现JWT认证和HTTPS支持
- 添加JWT认证中间件保护API端点
- 在登录流程中使用bcrypt哈希密码和JWT令牌
- 配置HTTPS服务器使用自签名证书
- 更新前端API调用以包含认证令牌
2025-06-26 10:41:23 +08:00