4 Commits

Author SHA1 Message Date
2115e4aa52 refactor: 前端重构评估模块为答题模块
主要变更:
- 删除 assessment 模块前端代码
- 消费记录模块表单和列表优化
- 问卷答题记录模块扩展测评执行和统计功能
- 更新字典配置

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-15 22:36:24 +08:00
fdc6bf58e0 fix: 代码审查修复 - 前端TypeScript类型和UI优化
前端修复:
- 完善TypeScript类型定义(QuestionnairePageParams, QuestionPageParams等)
- 移除未使用的导入(Dayjs等)
- 日期格式化统一使用dateFormatter替代自定义函数
- 问题类型选项使用字典替代硬编码
- 优化API参数传递方式

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-15 20:16:10 +08:00
1ebf700cf2 feat(prison): Enhance area and cell management with tree structure and improved forms
- Updated AreaApi to support search parameters in getAreaTree method.
- Modified CellForm and Cell index views to use tree-select for area selection.
- Added areaName to Cell and Prisoner interfaces for better data representation.
- Refactored prisoner forms to remove subAreaId and streamline area selection.
- Improved image path validation in utility functions.
- Enhanced prisoner detail and list views to display area and cell names correctly.
- Added loading functionality for area tree data in relevant components.
2026-01-15 10:57:50 +08:00
d4cb996085 fix(performance): 批量更新接口优化问卷系统性能
- 添加batchUpdate API调用
- 修复savePartitions循环调用API问题 (50题只需1次请求)
- 修复onPartitionDragEnd拖拽排序性能问题
- 修复onQuestionDragEnd问题拖拽排序性能问题
- 添加自动填充来源字典支持 PRISON_QUESTION_AUTO_FILL_SOURCE
- 问题表单优化: 折叠面板、分区选择、快速粘贴等
2026-01-13 16:25:02 +08:00