diff --git a/src/components/tree/govern/deviceTree.vue b/src/components/tree/govern/deviceTree.vue
deleted file mode 100644
index 7d83acd7..00000000
--- a/src/components/tree/govern/deviceTree.vue
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
diff --git a/src/components/tree/govern/getMarketList.vue b/src/components/tree/govern/getMarketList.vue
deleted file mode 100644
index 8ddc598e..00000000
--- a/src/components/tree/govern/getMarketList.vue
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
diff --git a/src/components/tree/govern/pointTree.vue b/src/components/tree/govern/pointTree.vue
deleted file mode 100644
index 79642850..00000000
--- a/src/components/tree/govern/pointTree.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
diff --git a/src/components/tree/index.vue b/src/components/tree/index.vue
index 457232ba..e5ec9ce1 100644
--- a/src/components/tree/index.vue
+++ b/src/components/tree/index.vue
@@ -1,50 +1,50 @@
-
+
-
-
-
+
+
+
-
+
-
-
+
+
- {{ node.label }}
+ {{ node.label }}
@@ -52,7 +52,7 @@
-
-
diff --git a/src/views/pms/voltageSags/monitoringPoint/online/navigation/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/navigation/index.vue
index d4d1f424..9a443c57 100644
--- a/src/views/pms/voltageSags/monitoringPoint/online/navigation/index.vue
+++ b/src/views/pms/voltageSags/monitoringPoint/online/navigation/index.vue
@@ -1,7 +1,8 @@
-
+
@@ -14,9 +15,10 @@ import 'splitpanes/dist/splitpanes.css'
import { Splitpanes, Pane } from 'splitpanes'
import PointTree from '@/components/tree/pms/pointTree.vue'
import Map from './map.vue'
+import Tree from '@/components/tree/index.vue'
+import { useMonitoringPoint } from '@/views/pms/voltageSags/monitoringPoint/online/store'
-
-
+const monitoringPoint = useMonitoringPoint()
const size = ref(0)
onMounted(() => {
const dom = document.getElementById('navigation-splitpanes')
diff --git a/src/views/pms/voltageSags/monitoringPoint/online/store.ts b/src/views/pms/voltageSags/monitoringPoint/online/store.ts
new file mode 100644
index 00000000..3eeaf837
--- /dev/null
+++ b/src/views/pms/voltageSags/monitoringPoint/online/store.ts
@@ -0,0 +1,19 @@
+import { reactive } from 'vue'
+import { defineStore } from 'pinia'
+
+interface MonitoringPoint {
+ lineId: string
+}
+
+export const useMonitoringPoint = defineStore(
+ 'monitoringPoint',
+ () => {
+ const state: MonitoringPoint = reactive({
+ lineId: ''
+ })
+ const setValue = (key: keyof MonitoringPoint, val: any) => {
+ state[key] = val
+ }
+ return { state, setValue }
+ }
+)
diff --git a/src/views/pms/voltageSags/overview/index.vue b/src/views/pms/voltageSags/overview/index.vue
index 5c61f0c4..f7a5809f 100644
--- a/src/views/pms/voltageSags/overview/index.vue
+++ b/src/views/pms/voltageSags/overview/index.vue
@@ -1,149 +1,149 @@
-
-
-
-
+
+
+
+
-
-
-

+
+
+
变电站
-
-

+
+
热备用
-
-

+
+
停运
-
投运
-
+
投运
+
通讯正常
-
-

+
+
有暂降
-
-

+
+
无暂降
-
+
通讯异常
-
-

+
+
有暂降
-
-

+
+
无暂降
-
+
-
+
-
+
-
-
-
- {{ infoWindowPoint.gdName }}
- {{ infoWindowPoint.subName }}
- {{ infoWindowPoint.voltageName }}
-
+
+
+
+ {{ infoWindowPoint.gdName }}
+ {{ infoWindowPoint.subName }}
+ {{ infoWindowPoint.voltageName }}
+
{{ infoWindowPoint.ip }}
- {{ infoWindowPoint.pt2 }}
- {{ infoWindowPoint.ct2 }}
-
+ {{ infoWindowPoint.pt2 }}
+ {{ infoWindowPoint.ct2 }}
+
{{ infoWindowPoint.manufacturer }}
-
+
{{
infoWindowPoint.runFlag == 0
? '投运'
: infoWindowPoint.runFlag == 1
- ? '热备用'
- : '停运'
+ ? '热备用'
+ : '停运'
}}
-
+
{{ infoWindowPoint.comFlag == 0 ? '中断' : '正常' }}
- 查看监测点
-
+ 查看监测点
+
未处理事件({{ infoWindowPoint.noDealCount }})
-
-
-