6 Commits

Author SHA1 Message Date
190093c47c refactor(prison): 统一批量删除接口调用方式
将 prison 模块 delete-list 调用统一为 POST 请求携带数组参数,和后端接口约定保持一致。
2026-03-06 16:54:11 +08:00
934f2935ac feat: 更新前端 API 接口和评估报告组件
- AreaApi 完善查询方法
- CellApi 新增获取列表方法
- ConsumptionApi 优化查询参数
- QuestionnaireApi 调整接口结构
- QuestionnaireRecordApi 完善类型定义
- RiskAssessmentApi 优化接口参数
- ReportDetailDialog 修复样式问题

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-19 23:14:40 +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
4be92f62bd Initial commit - xlcp frontend 2026-01-14 19:42:44 +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