1.被检设备监测点新增是否参与检测
2.调整通道配对只显示绑定和参与检测的通道数
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
:devIdList="prop.devIdList"
|
||||
:pqStandardDevList="prop.pqStandardDevList"
|
||||
:planIdKey="prop.planIdKey"
|
||||
:deviceMonitor="deviceMonitor2"
|
||||
/>
|
||||
</keep-alive>
|
||||
<keep-alive>
|
||||
@@ -132,7 +133,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="tsx" setup name="testPopup">
|
||||
import { nextTick, reactive, ref, watch } from 'vue'
|
||||
import { nextTick, PropType, reactive, ref, watch } from 'vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import {
|
||||
Coin,
|
||||
@@ -240,6 +241,7 @@ const standardDevIds = ref<[]>()
|
||||
const pairs = ref<any>()
|
||||
const testAgain = ref(false) //重新检测按钮是否显示
|
||||
const checkNumber = ref(0) //检测次数
|
||||
const deviceMonitor2= ref<Map<string, any[]>>();
|
||||
const open = async (
|
||||
title: string,
|
||||
mapping: any,
|
||||
@@ -247,11 +249,14 @@ const open = async (
|
||||
login: string,
|
||||
devIdsArray: [],
|
||||
standardDevIdsArray: [],
|
||||
pair: any
|
||||
pair: any,
|
||||
deviceMonitor:Map<string, any[]>
|
||||
) => {
|
||||
if (checkStore.selectTestItems.preTest && !checkStore.selectTestItems.test) {
|
||||
testAgain.value = true
|
||||
}
|
||||
deviceMonitor2.value = deviceMonitor;
|
||||
console.log('deviceMonitor:',deviceMonitor2.value)
|
||||
checkStore.setNodesConnectable(true)
|
||||
dialogTitle.value = title
|
||||
channelMapping.value = mapping
|
||||
|
||||
Reference in New Issue
Block a user