联调 新增检测脚本

This commit is contained in:
GGJ
2025-02-18 16:36:54 +08:00
parent 4f622da52c
commit ce92a1d645
13 changed files with 603 additions and 313 deletions

View File

@@ -14,8 +14,8 @@ import { ref, reactive } from 'vue'
import { getTreeData } from '@/api/check/test'
import { CheckData } from '@/api/check/interface'
const props = defineProps({
scriptId: {
type: String,
formContent: {
type: Object,
required: true
}
})
@@ -27,7 +27,7 @@ const defaultProps = {
}
const open = () => {
getTreeData({
scriptId: props.scriptId
scriptId: props.formContent.id
}).then(res => {
dataTree.value = res.data
})