feat: 添加任务管理和字典管理功能,优化系统配置和代码结构

本次提交主要包含以下变更:
1. 新增任务管理模块,支持定时任务的创建、更新、删除和状态管理
2. 新增字典管理模块,用于维护系统中常用的固定数据
3. 优化系统配置,移除Celery,改用APScheduler进行任务调度
4. 修复部分前端组件的样式问题,统一输入框宽度
5. 更新文档和相关图片资源,完善系统功能描述

这些变更旨在增强系统的可维护性和功能性,提供更灵活的任务调度机制和更便捷的字典数据管理方式。
This commit is contained in:
zhangtao
2025-04-12 06:43:27 +08:00
parent d0d3b12383
commit 00b7fe54ba
128 changed files with 6217 additions and 1181 deletions
@@ -412,9 +412,9 @@ class UserService:
item['gender'] = '' if gender == 1 else ('' if gender == 2 else '未知')
# 转换为中文键
new_data = [
{mapping_dict.get(key): value for key, value in item.items() if mapping_dict.get(key)}
for item in data
]
# new_data = [
# {mapping_dict.get(key): value for key, value in item.items() if mapping_dict.get(key)}
# for item in data
# ]
return ExcelUtil.export_list2excel(list_data=new_data)
return ExcelUtil.export_list2excel(list_data=user_list, mapping_dict=mapping_dict)