feat: 调整流程节点

This commit is contained in:
zhanghao 2026-07-17 11:00:15 +08:00
parent 84420e510c
commit 3800a1db4f
3 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ export function moveRobot(data) {
export function stopRobot(data) { export function stopRobot(data) {
return request({ return request({
url: '/api/agv/stopVelocityControl', url: '/api/agv/stopVelocityControl',
method: 'get', method: 'post',
data: data data: data
}) })
} }

View File

@ -231,7 +231,7 @@ const robotFormAction = ref()
const submitRobotForm = () => { const submitRobotForm = () => {
if (robotFormAction.value === 'AGV_MOVE_TO_POINT') { if (robotFormAction.value === 'AGV_MOVE_TO_POINT') {
} else if (robotFormAction.value === 'ALM') { } else if (robotFormAction.value === 'ARM_MOVE_TO_POINT') {
robotFormRef.value.validate(async (valid) => { robotFormRef.value.validate(async (valid) => {
if (valid) { if (valid) {
try { try {

View File

@ -383,7 +383,7 @@ function handler(params) {
name: "机械臂", name: "机械臂",
type: "serviceNode", type: "serviceNode",
desc: "控制机器人的手臂", desc: "控制机器人的手臂",
action: 'ALM', action: 'ARM_MOVE_TO_POINT',
nodeType: 'EDGE', nodeType: 'EDGE',
nodeParams: [ nodeParams: [
{ name: "deviceId", type: "input", input: "", disabled: true }, { name: "deviceId", type: "input", input: "", disabled: true },