IT狗
03bf4ef422
Make RECALC button btn-primary (blue) for visibility
2026-07-21 11:28:27 +08:00
IT狗
e7c29a0a57
Add RECALC button to Roster page to refresh data
2026-07-21 11:17:33 +08:00
IT狗
0b58a1c05a
Fix calculate_attendance_status missing return result, move chart imports to top
2026-07-21 11:03:21 +08:00
IT狗
02b4a49e8c
Add /api/attendance/records and /api/accident/records endpoints for frontend
2026-07-21 00:15:29 +08:00
IT狗
766817b9be
Restore list_records and get_section_info endpoints after route reorder
2026-07-21 00:02:59 +08:00
IT狗
4114e03f05
Fix route ordering: specific endpoints before generic /{section}/*
2026-07-21 00:00:31 +08:00
IT狗
5b4a39924e
Add missing dashboard endpoints: /api/dashboard/summary, /api/attendance/stats, /api/accident/dashboard/*
...
Frontend files: export HTML buttons on Dashboard + List pages
2026-07-20 23:55:39 +08:00
IT狗
6f845e2cb6
Fix import path: use database not app.database
2026-07-20 23:47:14 +08:00
IT狗
e1c6537f38
Fix HTML report auth: accept ?token= query param for new-window download
2026-07-20 23:45:40 +08:00
IT狗
535d10a885
Add HTML5 report export for Attendance and Accident
...
- Backend: /api/report/{section}/html endpoint generates self-contained HTML5 report
- Frontend: Export buttons added to Dashboard, Attendance List, Accident List
- Report features: embedded data, 3 interactive Chart.js charts, stats cards,
sortable/filterable table with color-coded rows, popup detail on click,
click chart segment to auto-filter table, print support
- Template: report_template.html with responsive design, Chinese labels
2026-07-20 23:21:12 +08:00
IT狗
eafc1c33fc
Add full AARS system - Attendance & Accident Record System
...
- FastAPI backend with SQLite database
- React + TailwindCSS frontend
- JWT authentication
- Excel upload/download for attendance and accident records
- Shift roster management with S7a/S7b split
- Lateness/OT calculation based on shift times
- Roster info API endpoints
- Export API with token query parameter support
- Docker compose deployment
2026-07-16 03:16:33 +08:00
admin
7f34b1fa09
Add SC Medical Group Org Chart Editor
...
- D3.js based org chart editor
- Multi-select drag with Cmd/Ctrl+Click
- Undo/Redo support (30 steps)
- Version management (save/load)
- Custom links, angle links, free draw links
- Export PNG/SVG with transparent background
- Word-wrap for long titles
2026-07-16 03:14:50 +08:00