From 210e4cf7165c4a4b1f4b257420adc39efb6aaaf8 Mon Sep 17 00:00:00 2001 From: lixiaolong <702156524@qq.com> Date: Tue, 4 Aug 2026 17:29:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(flow):=20=E5=B0=86=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E4=B8=AD=E7=9A=84=E7=BB=88=E7=AB=AFID?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E4=B8=BA=E6=9C=BA=E5=99=A8=E4=BA=BAID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 替换singleNodeTerminalId为singleNodeRobotId - 更新流程图中机器人选择功能,使用机器人ID替代终端ID - 修改AGV移动到站点功能以使用机器人ID - 更新任务执行页面中的机器人选择组件 - 重构机器人管理页面,添加设备管理功能 - 实现机器人详情抽屉和设备列表展示 - 添加机器人归档功能和在线状态显示 --- src/api/inspection/robot.js | 7 + src/views/flow/components/TestRun.vue | 14 +- src/views/flow/index.vue | 31 +- src/views/inspection/robot/index.vue | 553 +++++++++------------- src/views/is/project/evaluate/Run.vue | 18 +- src/views/test/configs/Run.vue | 17 +- src/views/vi/testProject/evaluate/Run.vue | 18 +- 7 files changed, 299 insertions(+), 359 deletions(-) diff --git a/src/api/inspection/robot.js b/src/api/inspection/robot.js index cde224d..a0a2e21 100644 --- a/src/api/inspection/robot.js +++ b/src/api/inspection/robot.js @@ -31,6 +31,13 @@ export function deleteRobot(id) { }) } +export function getRobotDevices(id) { + return request({ + url: `/inspection/robot/${id}/devices`, + method: 'get' + }) +} + /** * 获取机器人地图 * @param {*} robotId diff --git a/src/views/flow/components/TestRun.vue b/src/views/flow/components/TestRun.vue index 2edc223..51b70d7 100644 --- a/src/views/flow/components/TestRun.vue +++ b/src/views/flow/components/TestRun.vue @@ -30,7 +30,7 @@