diff --git a/src/views/flow/config.js b/src/views/flow/config.js index 4be5fe2..9c53d95 100644 --- a/src/views/flow/config.js +++ b/src/views/flow/config.js @@ -523,8 +523,23 @@ export const collapseList = [ { name: 'isEnd', type: 'string', desc: '是否结束', disabled: true}, { name: 'iconUrl', type: 'string', desc: '图标路径', disabled: true} ] + }, + { + icon: touchSvg, + name: "获取触控二维坐标", + type: "serviceNode", + desc: "获取触控二维坐标", + action: 'TI_TOUCH_COORDINATES', + nodeType: "AE", + nodeParams: [ + { name: "imageUrl", type: "input", input: "", disabled: true }, + { name: "iconUrl", type: "input", input: "", disabled: true } + ], + outputType: 'json', + outputParams: [ + { name: 'touchCoordinates', type: 'string', desc: '触控二维坐标', disabled: true}, + ] } - ], }, { diff --git a/src/views/vi/testProject/index.vue b/src/views/vi/testProject/index.vue index ec5d4db..70aa5ca 100644 --- a/src/views/vi/testProject/index.vue +++ b/src/views/vi/testProject/index.vue @@ -181,6 +181,7 @@ 配置 @@ -194,14 +195,21 @@ >执行 可视化 + 评价 + { router.push('/vi/plan/index/' + row.projectId) } -const handleExecute = (row) => { - // router.push("/vi/evaluate/index/" + row.projectId); +const handleEvaluate = (row) => { router.push({ path: "/vi/evaluate/index/" + row.projectId, // 目标路由路径 // 对象序列化为 JSON 字符串(关键) @@ -609,6 +617,10 @@ const handleExecute = (row) => { }) } +const handleExecute = (row) => { + ElMessage.info('功能开发中。。。') +} + const currentLog = ref({}); const openDashboard = ref(false); const taskRightList = ref([]);