Commit Graph

181 Commits

Author SHA1 Message Date
26754dc3fa fix(admin): fix column widths and scroll.x for Attendance and Roles pages
- Attendance: remove ellipsis from 备注 column, scroll.x 1100 -> 1200
- Roles: adjust column widths (ID 60->80, 系统 70->80, 操作 160->180), remove ellipsis from 描述 and 权限标签
- Teachers: already correct (verified all widths match spec)
- Permissions: card-based layout, no Table component - no changes needed
- Notifications: List-based layout, no Table component - no changes needed
2026-07-06 16:56:26 +08:00
cb39a183cc fix: restore form declaration, fix openDrawer state 2026-07-06 16:47:20 +08:00
0f9bcbdaca fix: import Tabs/Descriptions, remove duplicate state 2026-07-06 16:46:03 +08:00
aac01594da feat: student profile as Drawer from student list 2026-07-06 16:45:21 +08:00
8f3a20140d feat: click student name to navigate to profile page 2026-07-06 16:43:51 +08:00
4024d7c174 fix: remove ellipsis from student name column, give it 120px width 2026-07-06 16:42:36 +08:00
43ee4dc5d5 fix(admin): replace scroll.x='max-content' with calculated fixed widths for all tables 2026-07-06 16:39:53 +08:00
8fc697e58f fix: change frontend port to 9527 (docker conflict) 2026-07-06 16:37:45 +08:00
6c700c1c04 fix: INSERT IGNORE in migration script, frontend port 9527 2026-07-06 16:37:34 +08:00
72f9a58838 feat: rewrite PDF report to puppeteer HTML→PDF with professional 6-page gongxue design 2026-07-06 16:19:50 +08:00
f4eac7b804 fix: add scroll.x='max-content' to 15 tables, widen narrow columns to prevent header wrapping 2026-07-06 16:10:33 +08:00
4020f79896 chore: enable DB synchronize for auto-creating new archive tables on first deploy 2026-07-06 16:05:38 +08:00
c81b0a0b5c chore: commit remaining integration files, PM2 single instance, PRD doc 2026-07-06 16:04:53 +08:00
8bd59b8ac6 feat: complete student archive subsystem — 7 entities, PDF report, frontend profile page 2026-07-06 15:58:36 +08:00
b6990dd11b feat: add student archive module with full CRUD APIs 2026-07-06 15:46:57 +08:00
9eec7c34be feat: add teacher management page with profile editing 2026-07-06 15:36:52 +08:00
9e0d9ff39c feat: add teacher list and profile API 2026-07-06 15:33:12 +08:00
1c097dc230 feat: new classrooms default to 'reserved' status instead of 'available' 2026-07-06 15:26:35 +08:00
72b0eed36e fix: resolve TS strict type errors in sync services (null→undefined) 2026-07-06 15:18:47 +08:00
8d810374f0 feat: add source tracking fields to Department for sync idempotency 2026-07-06 15:10:11 +08:00
20f3b79179 feat: bills expense type filter (backend join + frontend Select), sync stub docs 2026-07-06 14:48:47 +08:00
4b02012634 feat: classroom status filter + export button + menu (departments/notifications) 2026-07-06 14:43:13 +08:00
fb6d99266e feat: add date range filter to Occupancies, status filter to Tenants 2026-07-06 14:36:03 +08:00
ca909fae86 feat: add status+tenant filter to Students page, status filter to Rooms page 2026-07-06 14:33:30 +08:00
beeb8cb905 feat(attendance): add anomaly alert banner showing consecutive absences and frequent lates 2026-07-06 14:27:21 +08:00
da69545f74 fix: null cast for refundStatus in TypeORM 2026-07-06 10:50:24 +08:00
94251b66ce fix: TypeORM rejects string|null union type for mysql 2026-07-06 10:49:59 +08:00
9b0a9749a2 fix: type error in dashboard ClassroomUtilStats 2026-07-06 10:30:04 +08:00
6467e67bdb feat: legacy database migration — import old dump, map to new schema, deploy to Tencent Cloud 2026-07-06 10:27:47 +08:00
2ce73b8fc3 feat: PM2 + Docker deployment config (MySQL container, PM2 for backend+frontend proxy) 2026-07-06 10:12:42 +08:00
a568da160c feat(sync): implement sync stubs with env-var gating and status endpoint 2026-07-06 10:00:35 +08:00
2c0ca583a3 feat(students): add multi-enrollment comparison view in student list expand row 2026-07-06 10:00:35 +08:00
6ba7213cc4 feat(deposits): add refund rejection path with reason 2026-07-06 09:48:20 +08:00
3717531bb3 feat(dashboard): add classroom utilization stats endpoint and UI 2026-07-06 09:38:17 +08:00
7b298a615c feat: complete PRD verification fixes and deployment readiness
- Add CommonModule to provide/export CampusScope across business modules
- Replace DepartmentsModule imports with CommonModule in 11 modules
- Add missing Class/Tenant repository imports to StudentsModule and SchedulesModule
- Fix service specs with CampusScope, ClassRepository, StudentRepository mocks
- Move better-sqlite3 to optionalDependencies for production Docker builds
- Rewrite Dockerfiles for monorepo root build context
- Update docker-compose.yml service build contexts
2026-07-06 01:55:35 +08:00
5d102ca3c4 feat: add class roster export button in class detail page 2026-07-06 01:16:55 +08:00
8453e62088 feat: integrate classroom real-time occupancy with schedule and rental data 2026-07-06 01:14:58 +08:00
3bcb7d41c0 fix: F12 P2 follow-up — batch imports set departmentId, optimize getDescendantIds, enforce campus root invariant 2026-07-06 01:06:11 +08:00
6b0a21d266 fix: resolve all admin typecheck errors (typed api wrapper, unused imports, missing hooks, PermissionButton children) 2026-07-06 01:02:26 +08:00
4a48a65a48 feat: enhance dashboard with attendance count + Gantt chart 2026-07-06 00:49:20 +08:00
b3655da012 fix: resolve 9 P0+P1 review findings (bills decorators, campus isolation bypass, ding raw crash, batch import counter, SSE multi-tab, interval leak, dept permissions, cycle prevention, tree depth) 2026-07-06 00:38:51 +08:00
90b6ce4aba feat: add Departments management page with tree + user list 2026-07-06 00:09:04 +08:00
80839607a4 feat: integrate CampusSwitcher into header and API interceptor 2026-07-06 00:06:35 +08:00
af3b4ba8f4 feat: add useCampus hook and CampusSwitcher component 2026-07-06 00:05:48 +08:00
df61ebbc5b feat: auto-populate department_id on create + seed default campus with backfill 2026-07-06 00:05:00 +08:00
cd6364268d feat: integrate CampusScope.filter() into all business services (12 services + 12 modules) 2026-07-05 23:58:51 +08:00
eeae06fe30 feat: add isSuperAdmin to JWT payload for campus scope bypass 2026-07-05 23:51:10 +08:00
abcfbc6121 feat: add CampusScope request-level provider for data isolation 2026-07-05 23:50:22 +08:00
ca53f9471b feat: implement full DepartmentsController with 9 endpoints 2026-07-05 23:48:43 +08:00
0e08770cf4 feat: add DepartmentsModule with DTO, Service, and stub controller 2026-07-05 23:47:41 +08:00