|
@@ -12,7 +12,7 @@
|
|
|
<!-- 右侧内容 主要内容 -->
|
|
|
<div class="h-full flex-grow-1 relative">
|
|
|
<IFrame
|
|
|
- ref="frameRef"
|
|
|
+ ref="iframeRef"
|
|
|
class="w-full h-full"
|
|
|
:frame-src="monitorSiteOperationUrl"
|
|
|
@message="handleMessage"
|
|
@@ -39,7 +39,7 @@
|
|
|
} from '@/api/sys/monitor';
|
|
|
import IFrame from '@/views/sys/iframe/index.vue';
|
|
|
|
|
|
- const frameRef = ref();
|
|
|
+ const iframeRef = ref();
|
|
|
|
|
|
// 测点树相关,包含了刷新、请求的内容
|
|
|
const treeData = ref<MonitorSiteTreeNode>();
|
|
@@ -57,7 +57,7 @@
|
|
|
// 聚焦到测点上;
|
|
|
function focusOnSite(site: MonitorSite) {
|
|
|
selectedSite.value = site;
|
|
|
- postMonitorOperation(frameRef.value!, {
|
|
|
+ postMonitorOperation(iframeRef.value!, {
|
|
|
clickType: 'treePoint',
|
|
|
id: site.mineCode,
|
|
|
data: {},
|