正式检测-预检测提示及日志功能
This commit is contained in:
@@ -58,6 +58,8 @@ const getTreeData = (val: any) => {
|
||||
if (data.value.length > 0 && data.value[0].children.length > 0) {
|
||||
defaultChecked.value.push(data.value[0].children[0].id as number)
|
||||
}
|
||||
checkStore.setPlanId(defaultChecked.value[0])
|
||||
checkStore.setPlanCode(data.value[0].code)
|
||||
}
|
||||
const filterText = ref('')
|
||||
const treeRef = ref()
|
||||
@@ -74,6 +76,8 @@ watch(
|
||||
},
|
||||
)
|
||||
const handleNodeClick = (data: Plan.ResPlan) => {
|
||||
checkStore.setPlanId(data.id)
|
||||
checkStore.setPlanCode(data.code)
|
||||
checkStore.setScriptId(data.scriptId)
|
||||
updateSelectedTreeNode(data.id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user