录波数据

This commit is contained in:
sjl
2025-10-09 15:47:00 +08:00
parent 8ea49f9609
commit 43c75c96a7
2 changed files with 11 additions and 6 deletions

View File

@@ -266,9 +266,8 @@ const open = async (row: any, chnNum: string, deviceId: string | null, source: n
const initGetResult = async () => {
// 判断是否为录波数据
const isLuoboData = (sourceKey.value == 1 && rowList.value.scriptName == "录波") ||
const isLuoboData = (sourceKey.value == 1 && rowList.value.scriptName == "录波数据") ||
(sourceKey.value == 2 && scriptData.value[0]?.code == "wave_data");
if (isLuoboData) {
isWaveData.value = true
// 设置录波数据相关的选项
@@ -432,7 +431,7 @@ const handleCommonChange = async () => {
const tempNode = {
scriptName: rowList.value.scriptName,
id: rowList.value.scriptType,
code: rowList.value.scriptName === "录波" ? 'wave_data' : ''
code: rowList.value.scriptName === "录波数据" ? 'wave_data' : ''
}
handleNodeClick(tempNode)
}
@@ -489,7 +488,7 @@ const getResults = async (code: any) => {
// 判断是否为录波数据请求
const isWaveDataRequest = code === 'wave_data' || isWaveData.value
console.log('isWaveDataRequest:', rowList.value.scriptType)
getContrastResult({
planId: checkStore.plan.id,
scriptType: rowList.value.scriptType,