比对检测计划

This commit is contained in:
sjl
2025-07-21 13:47:56 +08:00
parent c8f3b4eddc
commit e29f25653e
31 changed files with 1174 additions and 673 deletions

View File

@@ -34,7 +34,6 @@
import { ref, defineProps, reactive, watch } from 'vue';
import ProTable from '@/components/ProTable/index.vue'; // 假设 ProTable 是自定义组件
import { CirclePlus, Delete, EditPen, MessageBox } from '@element-plus/icons-vue';
import MonitorPopup from '@/views/machine/device/components/monitorPopup.vue'
import { ProTableInstance, type ColumnProps } from '@/components/ProTable/interface'
import { type Monitor } from '@/api/device/interface/monitor'
@@ -46,7 +45,8 @@
// 定义 props
const props = defineProps<{
DevFormContent:Device.ResPqDev,
tableHeight?: number // 接收外部传入的高度
tableHeight?: number, // 接收外部传入的高度
selectOptions: Record<string, Device.SelectOption[]>,
}>();
// ProTable 实例
@@ -139,7 +139,7 @@ const getParameter = (data: Monitor.ResPqMon) => {
return
}
title_Type.value = titleType
monitorPopup.value?.open(titleType, row,props.DevFormContent,tableData.value)
monitorPopup.value?.open(titleType, row,props.DevFormContent,tableData.value,props.selectOptions)
}