feat: add backup/restore/version, fix leave duplicate, add Settings page to nav

- Add /api/admin/backup/list, /create, /download, /restore endpoints
- Add /api/version endpoint (git commit info)
- Add Settings page to sidebar nav + App.jsx routes
- Fix lateness stats: add total_late_count/total_late_minutes keys
- Fix leave aggregation: no more duplicate text in status
- Settings page now shows backup/restore UI + version info
- Fix leave upload: overwrite existing records on re-upload
This commit is contained in:
IT Dog
2026-07-21 02:34:30 +08:00
parent 6f90d60b13
commit d5d9d644a0
5 changed files with 1543 additions and 18 deletions
+1225
View File
File diff suppressed because it is too large Load Diff