预检测,正式检测,数据查询能处理只有录波的情况
This commit is contained in:
@@ -828,8 +828,12 @@ const handleTest2 = async (val: string) => {
|
||||
}
|
||||
|
||||
// 只传递有监测点的设备
|
||||
|
||||
deviceConnectionPopupRef.value?.open(filteredChannelsSelection, pqStandardDevList.value, props.id,filteredDeviceMonitoringMap,val)
|
||||
|
||||
const targetPlan = props.planTable.data.find((item: any) => item.id === props.plan.id);
|
||||
// 检查数组长度是否为1且唯一元素是'wave_data'
|
||||
const isOnlyWave = targetPlan.datasourceIds.length === 1 && targetPlan.datasourceIds[0] === 'wave_data';
|
||||
|
||||
deviceConnectionPopupRef.value?.open(filteredChannelsSelection, pqStandardDevList.value, props.id,filteredDeviceMonitoringMap,val,isOnlyWave)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user