From a2cccb09f1cea17b322968c21ae26a93dbdfc238 Mon Sep 17 00:00:00 2001 From: lixiaolong <702156524@qq.com> Date: Wed, 12 Aug 2026 16:45:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(task):=20=E6=B7=BB=E5=8A=A0=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E5=8F=82=E6=95=B0=E7=BC=96=E8=BE=91=E5=99=A8=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=89=A7=E8=A1=8C=E5=AE=89=E6=8E=92=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 集成 RuntimeParamsEditor 组件用于编辑运行参数 - 扩展执行安排对话框宽度从 560px 到 820px - 在对话框中添加机器人和设备标题区域 - 添加运行参数标题区域并显示参数编辑器 - 集成 getFlowParamsApi 获取流程参数数据 - 使用 loadFlowItemScopedRuntimeRoles 替代旧的角色加载方法 - 添加 runtimeParamItems 和 runtimeParamsEditorRef 响应式变量 - 实现运行参数验证功能并在提交前检查 - 将运行参数传递给任务启动 API - 优化任务进度更新中的步骤计算逻辑 - 添加运行参数编辑器组件实现参数输入和验证功能 --- .../flow/components/RuntimeParamsEditor.vue | 85 +++++++++++++++++++ src/views/inspection/runTask/index.vue | 40 +++++++-- .../intelligenceTest/runningTask/index.vue | 40 +++++++-- src/views/test/configs/Run.vue | 6 +- 4 files changed, 160 insertions(+), 11 deletions(-) create mode 100644 src/views/flow/components/RuntimeParamsEditor.vue diff --git a/src/views/flow/components/RuntimeParamsEditor.vue b/src/views/flow/components/RuntimeParamsEditor.vue new file mode 100644 index 0000000..9c3e624 --- /dev/null +++ b/src/views/flow/components/RuntimeParamsEditor.vue @@ -0,0 +1,85 @@ + + + + + diff --git a/src/views/inspection/runTask/index.vue b/src/views/inspection/runTask/index.vue index e90506c..9a77323 100644 --- a/src/views/inspection/runTask/index.vue +++ b/src/views/inspection/runTask/index.vue @@ -139,14 +139,17 @@ - +
+
机器人和设备
+
运行参数
+