feat: 完善RPA编排与本地能力接入
这个提交包含在:
1 父节点
6a2cc24898
当前提交
c03380168d
32 个文件已更改
+2763
-185
没有与搜索条件相匹配的文件
+6
-1
@@ -24,6 +24,8 @@ export function createFlow(name = "未命名流程"): FlowDefinition {
|
||||
id,
|
||||
name,
|
||||
description: "",
|
||||
enabled: true,
|
||||
trigger: { type: "manual", label: "手动运行" },
|
||||
variables: [],
|
||||
nodes: [
|
||||
{
|
||||
@@ -51,7 +53,10 @@ export function listFlows(): FlowSummary[] {
|
||||
id: flow.id,
|
||||
name: flow.name || "未命名流程",
|
||||
updatedAt: flow.meta?.updatedAt || new Date(0).toISOString(),
|
||||
nodeCount: flow.nodes.length
|
||||
nodeCount: flow.nodes.length,
|
||||
enabled: flow.enabled !== false,
|
||||
triggerLabel: flow.trigger?.label || "手动运行",
|
||||
lastRunStatus: "never"
|
||||
});
|
||||
} catch {
|
||||
// 忽略损坏文件,避免一个坏流程阻塞列表
|
||||
|
||||
在新工单中引用
屏蔽一个用户