1.被检设备监测点新增是否参与检测

2.调整通道配对只显示绑定和参与检测的通道数
This commit is contained in:
sjl
2025-09-17 14:08:58 +08:00
parent 95c68942ed
commit c88128b63b
8 changed files with 174 additions and 54 deletions

View File

@@ -68,6 +68,7 @@ const dialogVisible = ref(false)
const selectTestItemPopupRef = ref<InstanceType<typeof SelectTestItemPopup>>()
const testPopup = ref()
const dialogTitle = ref('手动检测')
// 计算对话框高度
const dialogHeight = ref(600)
const CompareTestVisible = ref(false)
@@ -201,16 +202,20 @@ const standardDevIds = ref<string[]>()
const devIdList = ref<Device.ResPqDev[]>([])
const pqStandardDevList = ref<StandardDevice.ResPqStandardDevice[]>([])
const planIdKey = ref<string>('')
const deviceMonitor = ref<Map<string, any[]>>();
const open = async (
device: Device.ResPqDev[],
standardDev: StandardDevice.ResPqStandardDevice[],
fatherPlanId: string
fatherPlanId: string,
DeviceMonitoringMap: Map<string, any[]>
) => {
CompareTestVisible.value = false
selectTestItemPopupRef.value?.open()
devIdList.value = device
pqStandardDevList.value = standardDev
planIdKey.value = fatherPlanId
deviceMonitor.value = DeviceMonitoringMap
// edges.value = []
// devIds.value = device.map(d => d.id)
@@ -277,7 +282,8 @@ const openTestDialog = async () => {
jwtUtil.getLoginName(),
devIds.value,
standardDevIds.value,
connections
connections,
deviceMonitor.value
)
}, 100)
}