2e7bb81ebd
fix(admin): 修正接口 schema 与路由不匹配
...
- classroomSchema 允许 building/status 为 null,教室查看页恢复数据
- 排期 matrix 单元格为对象而非数组,教室排期页恢复渲染
- 押金批量收取改用 /deposits/eligible-students 路由
- 学生下拉 schema 按 /deposits/student-lookups 实际结构校验
- 水电费录入改走 /expenses/student-utility,批量恢复改为 PUT
2026-08-06 11:58:19 +08:00
67e14e357c
fix(imports): 导入向导 sheets_json 扩容为 MEDIUMTEXT
...
start_import_wizard 存整表行数据,TEXT(64KB) 在 430 行文件上触发
Data too long for column 'sheets_json',扩容至 MEDIUMTEXT(16MB) 并补迁移
(实际表名 import_runs,原迁移误写 import_run 导致空跑)
2026-08-05 22:26:14 +08:00
6249fefc64
refactor(ai-chat): 移除 excel_analyze/office_analyze 工具与 OfficeKit 依赖
...
- 删除 excel_analyze/office_analyze 两个 A2UI 工具(schema、分发、执行器、测试)
- 附件分析改为依赖上传时自动提取的文本与 preflight_import 报告 errorSamples
- 移除 @officecli/officecli 依赖及 OfficeCliService(PPT 上传不再自动提取文本)
- 保留 AiExcelReaderService(附件文本提取与导入预检仍使用)
2026-08-05 22:26:05 +08:00
d1c933f032
refactor(server): 清理无用导入与类型转换
...
- 移除测试/控制器中未使用的导入与实例
- bills/classroom-rentals 改用 ESM 导入替代 require
- bills.service 去掉多余断言、backfill 显式转字符串、main.ts void bootstrap
2026-08-05 21:14:17 +08:00
1a1e90c72f
fix(admin): 补全 React hooks 依赖并修复页面稳定性
...
- 各页面 useCallback/useMemo 依赖补全(modal/mutation/setter 等),避免闭包过期
- ECharts 使用 optionRef、MainLayout 缓存菜单转换函数、main.tsx 增加挂载点校验
- 学生同步结果改用 recordsCount 展示
2026-08-05 21:14:08 +08:00
ab4765cee5
feat: Excel 导入预检与动态问答,AI 聊天/文件解析体验修复
...
- imports: 新增 preflight_import 预检报告(判定/分阶段统计/阻断归因/问题/下一步/错误示例),导入任务 settings 落库(映射/校区/更新/重复/未匹配策略),预览应用策略,向导提交写操作日志
- ai-chat: 新增 excel_analyze(ExcelJS)工具,移除附件/上下文截断,start_import_wizard 支持确认参数,ui.import_preflight SSE,预览确认写操作日志
- admin: ImportPreflightCard 渲染与持久化,聊天抽屉布局/侧边栏修复,考勤页 CSS 引入,费用/学生页接口 schema 校验修复
2026-08-05 21:12:50 +08:00
b882411f42
refactor: 拆分考勤服务文件并通过 aislop 全项目扫描
CI / check (pull_request) Failing after 5m24s
2026-08-05 18:55:36 +08:00
6ba7f4e3d0
refactor: 抽取课程考勤记录构建 helper,消除重复代码
2026-08-05 18:51:06 +08:00
c8316e9e8e
feat: 结算时同步钉钉已审批请假并标记为请假
2026-08-05 18:43:02 +08:00
32343b271b
fix: 通知 SSE 长连接被 Nginx 60s 超时掐断
2026-08-05 18:00:45 +08:00
2a519a3714
fix: 仪表盘 totalCapacity 聚合值转为数字
2026-08-05 17:53:44 +08:00
1e1e24f0f0
fix: 修复考勤控制器 DI 解析与班级日期迁移空 SQL
2026-08-05 17:46:11 +08:00
47720a8fcc
refactor: 移除 SQLite 支持,仅保留 MySQL
2026-08-05 17:43:13 +08:00
81e622fa09
feat: 学生报告改为流式排版并隐藏空数据区块
2026-08-05 17:20:57 +08:00
fd39e1686a
feat: 重构各业务模块管理页面与服务
2026-08-05 17:12:00 +08:00
80e6fccf05
chore: 服务端模块装配与入口更新
2026-08-05 17:11:43 +08:00
0c94ca54df
feat: 新增通用导入中心
2026-08-05 17:11:39 +08:00
e9c8a1085d
feat: 考勤模块重构与钉钉考勤同步
2026-08-05 17:11:23 +08:00
c622e40a12
feat: 学生档案与报告生成
2026-08-05 17:11:15 +08:00
0e6e3e2d96
feat: AI 对话支持 A2UI 表单/审查/图表与 Agent 工具
2026-08-05 17:11:00 +08:00
644c35ce53
feat: 完善 RBAC 权限体系与权限管理页面
2026-08-05 17:10:51 +08:00
68270e7571
refactor: 拆分数据库迁移基建并新增审计日志工具
2026-08-05 17:10:42 +08:00
d53bbd8176
refactor: 前端应用骨架迁移至 zustand 并统一路由权限壳
2026-08-05 17:10:30 +08:00
a9ce5563b1
chore: 升级依赖与工程配置
2026-08-05 17:10:14 +08:00
3a1ed717d8
feat: 扩展 Agent 业务查询与学生增改工具
2026-08-04 14:43:20 +08:00
216a20ffaf
feat: 钉钉学生同步支持仅绑定手机号及学生列表修复
2026-08-04 14:43:20 +08:00
50c44e4410
feat: AI 对话支持 A2UI 表单/审查/图表与 Excel 读取
2026-08-04 14:43:12 +08:00
f07ffdc64c
refactor: 前端登录/权限/界面状态迁移至 zustand
2026-08-04 14:41:27 +08:00
ce1dcc07ea
chore: 新增 zustand、@ant-design/x-card 与 officecli 依赖
2026-08-04 14:41:14 +08:00
095eccea76
feat: 支持考试批量归档与恢复
CI / check (pull_request) Successful in 2m4s
2026-07-25 09:45:58 +08:00
0ef86e65ce
feat: 为批量归档补充批量恢复
2026-07-25 09:34:03 +08:00
4d77848bf7
Remove name field from ClassTeacher and derive teacher name from user
...
CI / check (pull_request) Successful in 3m29s
lookup
2026-07-24 17:36:35 +08:00
c1bb05502e
修复班级教师姓名显示
CI / check (pull_request) Successful in 2m26s
2026-07-24 17:19:18 +08:00
1f198d48ea
Merge pull request 'Refactor AI chat: streaming, tool calls, UI polish' ( #51 ) from refactor-ai-chat-streaming into main
2026-07-24 08:28:10 +00:00
8656394b9b
Refactor AI chat: streaming, tool calls, UI polish
CI / check (pull_request) Successful in 3m25s
2026-07-24 16:27:50 +08:00
3573351f59
新增考试归档与恢复功能
CI / check (pull_request) Failing after 2m15s
2026-07-24 16:18:35 +08:00
4046e29e33
Remove manual code-splitting config for React, ECharts, and Antd
CI / check (pull_request) Failing after 2m7s
2026-07-24 16:06:57 +08:00
525bbd1a56
Add seed data for 2025 summer school schedule
...
CI / check (pull_request) Failing after 2m42s
Drop unused KeyOutlined import and refactor init.sql to drop all tables
safely
2026-07-24 15:28:19 +08:00
150e6ecff0
Refactor AI config to step-based wizard with DeepSeek defaults
CI / check (pull_request) Failing after 1m38s
2026-07-24 14:34:32 +08:00
a272403f27
修复班级归档查询参数转换
CI / check (pull_request) Successful in 1m32s
2026-07-24 10:05:36 +08:00
13ef357448
移除账号启用状态统一使用归档
2026-07-24 09:53:04 +08:00
a9c6578569
修复管理员班级可见范围
2026-07-24 09:41:37 +08:00
b8d5927a16
Merge branch 'review-pr44'
2026-07-23 15:21:51 +08:00
fb787c3e0d
Merge pull request '集成 AI 对话与只读查询工具' ( #44 ) from xiongyuxing/gongxue-base:main into main
2026-07-23 07:15:07 +00:00
176f098923
chore: add @ant-design/x deps for AI chat feature
CI / check (pull_request) Successful in 3m24s
2026-07-23 15:08:57 +08:00
c401766bc5
fix: replace lucide-react Sparkles with RobotOutlined to avoid extra dependency
2026-07-23 15:02:36 +08:00
6f29220257
test: 跳过外部考勤工作流集成测试
CI / check (pull_request) Successful in 4m0s
2026-07-23 14:35:38 +08:00
446c6bcc91
fix: harden permission-gated UI — minimum-org endpoint, modal/Popconfirm fail-closed on revocation
CI / check (pull_request) Failing after 3m46s
2026-07-23 14:28:58 +08:00
a7a7af1667
fix: close permission review gaps
...
fix: harden permission-gated UI — minimum-org endpoint, modal/Popconfirm fail-closed on revocation
2026-07-23 14:28:58 +08:00
9f54fec972
Merge remote-tracking branch 'origin/main'
CI / check (pull_request) Failing after 4m23s
2026-07-23 14:25:15 +08:00