feat(workflow): 重构工作流模块并移除配置表单功能

refactor(node): 移除节点模型中的config_schema字段
refactor(workflow): 简化工作流模型和CRUD操作
feat(composables): 重构并增强任务相关组合式函数
style(settings): 优化设置抽屉样式
fix(auth): 修复配置加载逻辑
chore: 清理无用文件和代码
This commit is contained in:
zhangtao
2026-02-23 06:43:38 +08:00
parent d21242f4a7
commit 4e0eff3653
38 changed files with 2810 additions and 5107 deletions
+6 -272
View File
@@ -154,7 +154,7 @@
"description": "初始化数据"
},
{
"name": "详情菜",
"name": "详情菜",
"type": 3,
"icon": null,
"order": 5,
@@ -166,7 +166,7 @@
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "详情菜",
"title": "详情菜",
"params": null,
"affix": false,
"redirect": null,
@@ -2901,68 +2901,11 @@
"redirect": null,
"description": "发布工作流"
},
{
"name": "验证工作流",
"type": 3,
"icon": null,
"order": 5,
"permission": "module_task:workflow:validate",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "验证工作流",
"params": null,
"affix": false,
"redirect": null,
"description": "验证工作流"
},
{
"name": "导出工作流",
"type": 3,
"icon": null,
"order": 6,
"permission": "module_task:workflow:export",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "导出工作流",
"params": null,
"affix": false,
"redirect": null,
"description": "导出工作流"
},
{
"name": "导入工作流",
"type": 3,
"icon": null,
"order": 7,
"permission": "module_task:workflow:import",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "导入工作流",
"params": null,
"affix": false,
"redirect": null,
"description": "导入工作流"
},
{
"name": "执行工作流",
"type": 3,
"icon": null,
"order": 8,
"order": 5,
"permission": "module_task:workflow:execute",
"route_name": null,
"route_path": null,
@@ -2981,7 +2924,7 @@
"name": "详情工作流",
"type": 3,
"icon": null,
"order": 9,
"order": 6,
"permission": "module_task:workflow:detail",
"route_name": null,
"route_path": null,
@@ -3000,7 +2943,7 @@
"name": "查询工作流",
"type": 3,
"icon": null,
"order": 10,
"order": 7,
"permission": "module_task:workflow:query",
"route_name": null,
"route_path": null,
@@ -3014,215 +2957,6 @@
"affix": false,
"redirect": null,
"description": "查询工作流"
},
{
"name": "创建运行记录",
"type": 3,
"icon": null,
"order": 11,
"permission": "module_task:workflow:run:create",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "创建运行记录",
"params": null,
"affix": false,
"redirect": null,
"description": "创建运行记录"
},
{
"name": "更新运行记录",
"type": 3,
"icon": null,
"order": 12,
"permission": "module_task:workflow:run:update",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "更新运行记录",
"params": null,
"affix": false,
"redirect": null,
"description": "更新运行记录"
},
{
"name": "删除运行记录",
"type": 3,
"icon": null,
"order": 13,
"permission": "module_task:workflow:run:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "删除运行记录",
"params": null,
"affix": false,
"redirect": null,
"description": "删除运行记录"
},
{
"name": "清空运行记录",
"type": 3,
"icon": null,
"order": 14,
"permission": "module_task:workflow:run:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "清空运行记录",
"params": null,
"affix": false,
"redirect": null,
"description": "清空运行记录"
},
{
"name": "取消运行记录",
"type": 3,
"icon": null,
"order": 15,
"permission": "module_task:workflow:run:update",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "取消运行记录",
"params": null,
"affix": false,
"redirect": null,
"description": "取消运行记录"
},
{
"name": "重试运行记录",
"type": 3,
"icon": null,
"order": 16,
"permission": "module_task:workflow:run:update",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "重试运行记录",
"params": null,
"affix": false,
"redirect": null,
"description": "重试运行记录"
},
{
"name": "详情运行记录",
"type": 3,
"icon": null,
"order": 17,
"permission": "module_task:workflow:run:query",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "详情运行记录",
"params": null,
"affix": false,
"redirect": null,
"description": "详情运行记录"
},
{
"name": "查询运行记录",
"type": 3,
"icon": null,
"order": 18,
"permission": "module_task:workflow:run:query",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "查询运行记录",
"params": null,
"affix": false,
"redirect": null,
"description": "查询运行记录"
},
{
"name": "暂停工作流",
"type": 3,
"icon": null,
"order": 19,
"permission": "module_task:workflow:pause",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "暂停工作流",
"params": null,
"affix": false,
"redirect": null,
"description": "暂停工作流"
},
{
"name": "恢复工作流",
"type": 3,
"icon": null,
"order": 20,
"permission": "module_task:workflow:resume",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "恢复工作流",
"params": null,
"affix": false,
"redirect": null,
"description": "恢复工作流"
},
{
"name": "终止工作流",
"type": 3,
"icon": null,
"order": 21,
"permission": "module_task:workflow:terminate",
"route_name": null,
"route_path": null,
"component_path": null,
"status": "0",
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "终止工作流",
"params": null,
"affix": false,
"redirect": null,
"description": "终止工作流"
}
]
}
@@ -3441,4 +3175,4 @@
}
]
}
]
]