99162168b1
feat(dashboard): add classroom/attendance/income stat cards and trend charts
...
- Add second row of stat cards: classroom count, occupancy rate, attendance rate, monthly income
- Add ECharts line charts for attendance trend (30-day) and income trend (6-month)
- All fields sourced from existing GET /dashboard/stats response (Task 7.1 contract)
2026-07-05 19:53:34 +08:00
d317cb4fc1
feat(dashboard): add classroom/attendance/income stats to dashboard API
...
- Add classroomCount, classroomOccupancyRate from Classroom + ClassSchedule
- Add todayAttendanceRate, attendanceTrend from AttendanceRecord
- Add monthlyIncome, incomeTrend from Bill
- Register Classroom, ClassSchedule, AttendanceRecord in dashboard module
2026-07-05 19:51:16 +08:00
41f381e941
feat: attendance frontend page + backend list/classes endpoints
...
- Create AttendancePage with filter bar, table, calendar view toggle, batch add modal
- Register /attendance route with PermissionRoute (attendance:view)
- Add menu item in MainLayout with CheckCircleOutlined icon
- Add GET /attendance-records with pagination and filters
- Add GET /attendance-records/classes for class dropdown
- Add source column to AttendanceRecord entity (default: manual)
- Frontend tsc --noEmit: clean; backend: only pre-existing test errors
2026-07-05 19:49:53 +08:00
b6e308ae2a
feat: add Attendance module with batch, summary, calendar, and dingtalk endpoints
2026-07-05 19:44:10 +08:00
4ededb0338
feat: add CLASS/SCHEDULE/ATTENDANCE permission nodes
2026-07-05 19:39:03 +08:00
f962633f67
fix: normalize operation log module names across controllers
2026-07-05 19:38:18 +08:00
efe13fe664
feat: add long-term rental independent billing in generate logic
2026-07-05 19:33:45 +08:00
881e9c6175
feat: add rental_category/rate to Room, rental_type/tenant_id to Occupancy, tenant_id to Student
2026-07-05 19:31:03 +08:00
92e6ba0e34
feat(schedules): implement frontend schedule week view page
...
- Create SchedulesPage with week selector, classroom/class filters
- Matrix: rows=classrooms, cols=Mon-Sun, cells show subject/teacher/time
- Click empty cell -> create modal with schedule form
- Click occupied cell -> detail modal with delete button
- Conflict: backend 409/400 -> message.error with conflict info
- Route /schedules with PermissionRoute (schedule:view)
- Menu item '排课管理' with CalendarOutlined icon
2026-07-05 19:28:18 +08:00
037c0e07e0
feat: add Schedules module with conflict detection and weekly view
2026-07-05 19:21:37 +08:00
78320b8682
feat: add ClassSchedule entity
2026-07-05 19:18:31 +08:00
20a4dfad84
feat: add Class detail page with student roster and teacher tabs
2026-07-05 19:16:02 +08:00
9a3b92bf8e
fix: add error handling to Classes page submit and delete
2026-07-05 19:13:52 +08:00
0053fed505
feat: add Classes list page with CRUD modal
2026-07-05 19:10:48 +08:00
ec26cb5f5e
feat(classes): add ClassesController with operation logging and permission guards
2026-07-05 19:05:18 +08:00
786aa2ba2d
fix: add @IsEnum validation to Classes DTOs
2026-07-05 19:02:54 +08:00
c378cc45f8
feat: add ClassesService with CRUD + student/teacher management
2026-07-05 18:59:09 +08:00
e1d9ce9709
feat: add Class, ClassStudent, ClassTeacher entities
2026-07-05 18:53:12 +08:00
b89dff6d18
docs: add P0 implementation plan with 7 phases
2026-07-05 18:44:24 +08:00
ebacf8601f
docs: add P0 design spec and project APPEND_SYSTEM.md
2026-07-05 18:34:42 +08:00
b4c1d11cf2
chore: remove abandoned betterauth-hono-drizzle-migration change (0/43 tasks)
2026-07-03 15:05:54 +08:00
7461efb2fa
chore: add implementation plan for betterauth-hono-drizzle-migration
2026-07-03 14:13:43 +08:00
3b45723877
chore: 归档 3 个 change 产物、Design Doc、验证报告、主 spec、项目配置
2026-07-03 10:58:57 +08:00
ef805fc823
fix: PermissionButton 包裹 Upload 时添加 type=text 消除外层按钮白底
2026-07-03 10:35:30 +08:00
56f073c6bc
chore: 勾选 plan 子步骤,标记程序化验证项为完成
2026-07-03 10:19:25 +08:00
6f3a6456ba
chore: 记录 review_mode=off 跳过原因
2026-07-03 10:18:25 +08:00
56c3188576
chore: 批量勾选已完成的响应式适配任务
2026-07-03 10:18:00 +08:00
e87bc2dc9e
feat: 权限一览工具栏添加 flexWrap 响应式适配
2026-07-03 10:16:19 +08:00
4f68eddefd
feat: 账号管理工具栏添加 flexWrap 响应式适配
2026-07-03 10:16:19 +08:00
8ccc05387a
feat: 角色管理工具栏添加 flexWrap 响应式适配
2026-07-03 10:16:11 +08:00
568f810377
feat: 登录卡片改为 maxWidth + calc 响应式宽度
2026-07-03 10:16:08 +08:00
fea550ae69
feat: 教室管理表格添加 scroll 横向滚动
2026-07-03 10:14:38 +08:00
284d791de7
feat: 租赁方表格添加 scroll 横向滚动
2026-07-03 10:14:24 +08:00
bfdb12d9ea
feat: 账单管理表格添加 scroll,详情内嵌表格也添加 scroll
2026-07-03 10:14:23 +08:00
203ce3220c
feat: 押金管理表格添加 scroll 横向滚动
2026-07-03 10:14:15 +08:00
7f92f0b7f7
feat: 费用录入两个表格添加 scroll 横向滚动
2026-07-03 10:12:47 +08:00
1ff833c5b3
feat: 入住管理表格添加 scroll 横向滚动
2026-07-03 10:12:17 +08:00
87445a0ca6
feat: 宿舍管理表格添加 scroll 横向滚动
2026-07-03 10:12:03 +08:00
2121282577
feat: 学生管理字段拆分(学号/身份证分列),表格和工具栏响应式适配
2026-07-03 10:10:04 +08:00
969f3f4221
feat: Dashboard 响应式网格,统计卡片/图表/工具栏适配三端
2026-07-03 10:07:28 +08:00
7465f51d4f
feat: MainLayout 三端布局重构,使用 antd Grid.useBreakpoint()
2026-07-03 10:04:42 +08:00
611cc271ec
feat: 建立三断点 CSS 体系,替换单断点移动端样式
2026-07-03 10:02:46 +08:00
5eb76e9776
chore: archive rbac-refactor — spec merge, design doc annotation, move to archive
2026-07-03 09:32:28 +08:00
bc671ac660
chore: record verification report and implementation divergence for rbac-refactor
2026-07-03 09:23:15 +08:00
fb88bff27d
tweak: set tsBuildInfoFile to dist/ to fix stale incremental cache blocking dev
2026-07-02 17:42:30 +08:00
2010751684
tweak: add *.tsbuildinfo to .gitignore to prevent stale incremental cache
2026-07-02 17:34:36 +08:00
a4ca6b2ef9
fix: use tsconfig.build.json for nest start --watch to fix rootDir
2026-07-02 16:16:57 +08:00
ac19c666b3
fix: add missing 'dev' script to @gongxue/server for turbo run dev
2026-07-02 16:11:57 +08:00
1b26039f7f
chore: record verification report and state update
2026-07-02 15:59:30 +08:00
4f4cee157a
chore: commit oxfmt formatting changes and verify artifacts
2026-07-02 15:55:09 +08:00