Skip to content

Conversation

@fastapiadmin
Copy link
Owner

功能特性

  • feat : 在 system_role.json 中添加角色代码,并将 system_users.json 中的创建者ID更新为null
  • feat : 在 common_util.py 中实现树结构遍历函数
  • feat : 在相应的TypeScript文件中为角色、部门和菜单接口添加代码字段
    问题修复
  • fix : 重构 initialize.py 以在初始化期间处理嵌套的子级数据
  • fix : 更新部门和角色Vue组件以显示和处理代码字段
    代码重构
  • refactor : 修改 dept.ts 和 menu.ts 中的API端点以返回树结构
    项目维护
  • chore : 更新 requirements.txt 以指定 sqlalchemy-crud-plus 版本并添加 rich 依赖
    文档更新
  • docs : 为FastAPI Vue3 Admin项目添加全面的项目文档

zhangtao and others added 4 commits September 12, 2025 01:05
重构代码生成模块,删除冗余文件并优化结构:
1. 删除旧的form、page、table等相关文件
2. 新增gencode模块基础结构
3. 移动jinja2工具类和模板引擎初始化器到utils目录
4. 优化数据库模型关系定义
5. 更新nginx配置支持WebSocket
6. 添加正则验证和加密工具类
7. 修复菜单和部门模型的循环引用问题
8. 优化初始化脚本和配置加载逻辑

调整初始化流程,使用统一会话管理:
1. 修改数据库初始化使用AsyncSessionLocal
2. 优化定时任务初始化逻辑
3. 统一配置和字典服务初始化方式
4. 修复模型关系定义导致的循环导入问题

其他改进:
1. 更新requirements.txt添加依赖
2. 调整IP白名单配置
3. 优化数据库连接日志输出
4. 修复模型继承关系问题
…creator_id to null

fix: Refactor initialize.py to handle nested children data during initialization

feat: Implement tree structure traversal functions in common_util.py

chore: Update requirements.txt to specify sqlalchemy-crud-plus version and add rich

refactor: Change API endpoints in dept.ts and menu.ts to return tree structure

feat: Add code field to role, dept, and menu interfaces in respective TypeScript files

fix: Update dept and role Vue components to display and handle code field

docs: Add comprehensive project documentation for FastAPI Vue3 Admin
@fastapiadmin fastapiadmin merged commit c8e7184 into master Sep 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants