This commit is contained in:
sjl
2025-03-11 14:16:21 +08:00
parent 341b8df5a9
commit 9af98b034f
4 changed files with 44 additions and 11 deletions

View File

@@ -80,14 +80,24 @@ const pqSourceList=ref<TestSource.ResTestSource[]>([])//获取指定模式下所
const modeStore = useModeStore()
const pqSourceArray = ref<{ label: string; value: string; }[]>()
const scriptArray = reactive<{label: string, value: string}[]>([])
// const formContent = ref<TestScript.ResTestScript>({
// id : '9ff96807cf8c7524587982ed8baa8b57',
// name: '测试',
// type: '1',
// valueType: '2973cb938b591b93d0df2547599b87d8',
// pattern: modeId.value,
// standardName: 'GBT 19862',
// standardTime: '2025',
// state: 1
// })
const formContent = ref<TestScript.ResTestScript>({
id : '9ff96807cf8c7524587982ed8baa8b57',
name: '测试',
type: '1',
valueType: '2973cb938b591b93d0df2547599b87d8',
id : '',
name: '',
type: '',
valueType: '',
pattern: modeId.value,
standardName: 'GBT 19862',
standardTime: '2025',
standardName: '',
standardTime: '',
state: 1
})
const connectDisabeld = ref(false)
@@ -167,6 +177,7 @@ onMounted(async () => {
nextTick(async () => {
await treeInfo(modeStore.currentMode)
formContent.value.pattern = modeId.value
formContent.value.id = controlContent.value.scriptId
show.value = true
})
})