预检测,正式检测,数据查询能处理只有录波的情况

This commit is contained in:
sjl
2025-09-22 15:51:58 +08:00
parent 44cdb3273c
commit 783e1c080b
7 changed files with 81 additions and 50 deletions

View File

@@ -62,6 +62,8 @@ import { ElMessage } from 'element-plus'
import CustomEdge from './RemoveableEdge.vue' // 导入自定义连接线组件
import { jwtUtil } from '@/utils/jwtUtil'
import { useCheckStore } from '@/stores/modules/check'
import { Plan } from '@/api/plan/interface'
import { fa } from 'element-plus/es/locale'
const checkStore = useCheckStore()
const dialogVisible = ref(false)
@@ -203,16 +205,18 @@ const devIdList = ref<Device.ResPqDev[]>([])
const pqStandardDevList = ref<StandardDevice.ResPqStandardDevice[]>([])
const planIdKey = ref<string>('')
const deviceMonitor = ref<Map<string, any[]>>();
const planIsOnlyWave = ref(false)
const open = async (
device: Device.ResPqDev[],
standardDev: StandardDevice.ResPqStandardDevice[],
fatherPlanId: string,
DeviceMonitoringMap: Map<string, any[]>,
checkType: string
checkType: string,
isOnlyWave:boolean
) => {
planIsOnlyWave.value = isOnlyWave
CompareTestVisible.value = false
devIdList.value = device
pqStandardDevList.value = standardDev
planIdKey.value = fatherPlanId
@@ -290,7 +294,8 @@ const openTestDialog = async () => {
devIds.value,
standardDevIds.value,
connections,
deviceMonitor.value
deviceMonitor.value ,
planIsOnlyWave.value
)
}, 100)
}