feat(workflow): 重构工作流编排界面,使用VueFlow替换LogicFlow

refactor: 统一详情接口权限标识从query改为detail

feat(tenant): 为租户模型添加domain字段支持

fix(cron): 移除定时任务触发参数只读限制

perf(menu): 优化菜单权限标识注释说明

refactor(model): 为多个模型添加租户关联支持

style(main): 调整CSS导入顺序和格式

chore(package): 替换前端流程图库为@vue-flow系列

fix(token): 修正令牌详情接口权限标识

docs(sql): 更新菜单权限标识注释为query格式
This commit is contained in:
zhangtao
2025-12-24 01:01:34 +08:00
parent 057776c35f
commit 97c35b0780
44 changed files with 1561 additions and 934 deletions
@@ -43,7 +43,7 @@ async def get_menu_tree_controller(
@MenuRouter.get("/detail/{id}", summary="查询菜单详情", description="查询菜单详情")
async def get_obj_detail_controller(
id: int = Path(..., description="菜单ID"),
auth: AuthSchema = Depends(AuthPermission(["module_system:menu:query"]))
auth: AuthSchema = Depends(AuthPermission(["module_system:menu:detail"]))
) -> JSONResponse:
"""
查询菜单详情。
@@ -55,8 +55,8 @@ async def get_obj_detail_controller(
- JSONResponse: 包含菜单详情的 JSON 响应。
"""
result_dict = await MenuService.get_menu_detail_service(id=id, auth=auth)
log.info(f"查询菜单情成功 {id}")
return SuccessResponse(data=result_dict, msg="获取菜单成功")
log.info(f"查询菜单情成功 {id}")
return SuccessResponse(data=result_dict, msg="查询菜单详情成功")
@MenuRouter.post("/create", summary="创建菜单", description="创建菜单")