修改实时数据

This commit is contained in:
guanj
2026-01-09 10:40:55 +08:00
parent 16f5213d7a
commit c1e36440e7
3 changed files with 214 additions and 140 deletions

View File

@@ -15,7 +15,7 @@
></PointTree>
</pane>
<pane>
<div style="position: relative; height: 100%;width: 100%;">
<div style="position: relative; height: 100%; width: 100%">
<el-tabs
v-model="activeName"
type="border-card"
@@ -41,9 +41,9 @@
<el-tab-pane label="监测点运行状态" name="6" lazy v-if="!isReload">
<Yunxingzhuangtai v-if="activeName == '6'" />
</el-tab-pane>
<!-- <el-tab-pane label="实时数据" name="7" lazy v-if="!isReload && !VITE_FLAG">
<el-tab-pane label="实时数据" name="7" lazy v-if="!isReload && !VITE_FLAG && !VITE_FLAG1">
<Shishishuju v-if="activeName == '7'" />
</el-tab-pane> -->
</el-tab-pane>
<el-tab-pane label="统计报表" name="8" lazy v-if="!isReload && VITE_FLAG">
<StatisticalReport v-if="activeName == '8'" />
</el-tab-pane>
@@ -76,6 +76,7 @@ import Shishishuju from './shishishuju/index.vue'
import { useRoute } from 'vue-router'
import StatisticalReport from './statisticalReport/index.vue'
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
const VITE_FLAG1 = import.meta.env.VITE_NAME == 'hainan'
import router from '@/router'
import { useMonitoringPoint } from '@/stores/monitoringPoint'
import { id } from 'element-plus/es/locale'
@@ -175,7 +176,7 @@ const findNodeByTreeId = (treeData: any, id: any) => {
const getTargetNode = () => {
const targetId = '9b7adecf588b4110acb7018f297592a7'
const node = findNodeByTreeId(treeData.value, targetId)
// console.log('Vue中找到的节点', node)
// console.log('Vue中找到的节点', node)
}
const changeTab = (e: string) => {
activeName.value = e