修复比对式一键检测

This commit is contained in:
sjl
2025-09-17 15:42:05 +08:00
parent c88128b63b
commit bbd438d23f
4 changed files with 19 additions and 9 deletions

View File

@@ -208,14 +208,21 @@ const open = async (
device: Device.ResPqDev[],
standardDev: StandardDevice.ResPqStandardDevice[],
fatherPlanId: string,
DeviceMonitoringMap: Map<string, any[]>
DeviceMonitoringMap: Map<string, any[]>,
checkType: string
) => {
CompareTestVisible.value = false
selectTestItemPopupRef.value?.open()
devIdList.value = device
pqStandardDevList.value = standardDev
planIdKey.value = fatherPlanId
deviceMonitor.value = DeviceMonitoringMap
if(checkType == "一键检测"){
openTestDialog()
}else{
selectTestItemPopupRef.value?.open()
}
// edges.value = []
// devIds.value = device.map(d => d.id)