feat:获取触控坐标
This commit is contained in:
parent
8dfdbc72be
commit
f7b6e10e80
@ -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},
|
||||
]
|
||||
}
|
||||
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@ -181,6 +181,7 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
v-if="row.status == 1"
|
||||
@click="handleSetting(row)"
|
||||
v-hasPermi="['system:project:add','system:project:edit']"
|
||||
>配置
|
||||
@ -194,14 +195,21 @@
|
||||
>执行
|
||||
</el-button>
|
||||
<el-button
|
||||
icon="DataLine"
|
||||
v-if="row.status == 0"
|
||||
link
|
||||
type="primary"
|
||||
size="mini"
|
||||
type="text"
|
||||
v-hasPermi="['system:project:add','system:project:edit']"
|
||||
@click="handleOpenDashboard(row)"
|
||||
>可视化
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="row.status == 0"
|
||||
size="mini"
|
||||
type="text"
|
||||
v-hasPermi="['system:project:add','system:project:edit']"
|
||||
@click="handleEvaluate(row)"
|
||||
>评价
|
||||
</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@ -418,6 +426,7 @@ import { useContainerHeight } from "@/hooks/tableHeight";
|
||||
import { getExecuteRunParams, queryExecuteInstId } from "@/api/vi/project.js"
|
||||
import { appendParamsToPath } from "@/utils/fn.js";
|
||||
import { getChildrenByParentIdWithLevelLimitApi } from "@/api/evaluate/indicator.js";
|
||||
import { ElMessage } from "element-plus";
|
||||
|
||||
const topContainerRef = ref();
|
||||
const containerHeight = useContainerHeight(topContainerRef);
|
||||
@ -598,8 +607,7 @@ const handleSetting = (row) => {
|
||||
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([]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user