手动检测功能修改、一键检测功能修改(均未完成)

This commit is contained in:
caozehui
2025-02-25 10:17:33 +08:00
parent a0c7f79302
commit 280289af37
11 changed files with 1793 additions and 833 deletions

View File

@@ -67,10 +67,7 @@ const getTreeData = (val: any) => {
if (item.children.length > 0) {
let node = item.children[0];
defaultChecked.value.push(node.id);
checkStore.setPlanId(node.id);
checkStore.setPlanCode(node.code);
checkStore.setScriptId(node.scriptId);
checkStore.setErrorSysId(node.errorSysId);
checkStore.setPlan(node);
// 高亮显示第一个节点
// 使用 nextTick 确保在 DOM 更新后调用 setCurrentKey
nextTick(() => {
@@ -135,11 +132,8 @@ const handleNodeClick = (data: Plan.ResPlan) => {
}
idd.value = data.id
checkStore.setPlanId(data.id)
checkStore.setPlanCode(data.code)
checkStore.setScriptId(data.scriptId)
checkStore.setErrorSysId(data.errorSysId)
checkStore.setPlan(data);
updateSelectedTreeNode(data.id)
}
const filterNode = (value: string, data: any) => {