From c9ae51e141dd7df0e7ba03c273be68098f127ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Wed, 21 Feb 2024 16:41:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E7=9B=91=E6=B5=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 + pnpm-lock.yaml | 41 +++ src/api/device-boot/terminalTree.ts | 10 + src/components/tree/index.vue | 5 +- src/components/tree/pms/pointTree.vue | 116 +++++++ .../eventStatistics/ITICquxianfenxi/index.vue | 10 + .../eventStatistics/SEMIF47fenxi/index.vue | 10 + .../chixushijiangailvfenbu/index.vue | 10 + .../dianyazanjiangbiaojimidu/index.vue | 10 + .../online/eventStatistics/index.vue | 20 ++ .../zanjiangfenbutongji/index.vue | 10 + .../zanjiangfuzhigailvfenbu/index.vue | 10 + .../online/eventStudy/index.vue | 10 + .../monitoringPoint/online/index.vue | 33 ++ .../online/navigation/index.vue | 32 ++ .../monitoringPoint/online/navigation/map.vue | 299 ++++++++++++++++++ .../online/runningCondition/index.vue | 10 + 17 files changed, 637 insertions(+), 1 deletion(-) create mode 100644 src/api/device-boot/terminalTree.ts create mode 100644 src/components/tree/pms/pointTree.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/ITICquxianfenxi/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/SEMIF47fenxi/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/chixushijiangailvfenbu/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/dianyazanjiangbiaojimidu/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/zanjiangfenbutongji/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/zanjiangfuzhigailvfenbu/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/eventStudy/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/navigation/index.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/navigation/map.vue create mode 100644 src/views/pms/voltageSags/monitoringPoint/online/runningCondition/index.vue diff --git a/package.json b/package.json index 430727d1..604122da 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "pinia": "^2.1.7", "pinia-plugin-persistedstate": "^3.2.1", "screenfull": "^6.0.2", + "splitpanes": "^3.1.5", "use-element-plus-theme": "^0.0.5", "vue": "^3.3.11", "vue-baidu-map-3x": "^1.0.35", @@ -38,6 +39,7 @@ "devDependencies": { "@types/lodash-es": "^4.17.12", "@types/node": "^20.10.5", + "@types/splitpanes": "^2.2.6", "@vitejs/plugin-vue": "^4.5.2", "@vitejs/plugin-vue-jsx": "^3.1.0", "sass": "^1.69.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b4a37743..159f23fb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -55,6 +55,9 @@ dependencies: screenfull: specifier: ^6.0.2 version: 6.0.2 + splitpanes: + specifier: ^3.1.5 + version: 3.1.5 use-element-plus-theme: specifier: ^0.0.5 version: 0.0.5(@types/node@20.10.5)(typescript@5.3.3)(vite@5.0.10) @@ -84,6 +87,9 @@ devDependencies: '@types/node': specifier: ^20.10.5 version: 20.10.5 + '@types/splitpanes': + specifier: ^2.2.6 + version: 2.2.6 '@vitejs/plugin-vue': specifier: ^4.5.2 version: 4.5.2(vite@5.0.10)(vue@3.3.13) @@ -978,6 +984,12 @@ packages: dependencies: undici-types: 5.26.5 + /@types/splitpanes@2.2.6: + resolution: {integrity: sha512-3dV5sO1Ht74iER4jJU03mreL3f+Q2h47ZqXS6Sfbqc6hkCvsDrX1GA0NbYWRdNvZemPyTDzUoApWKeoGbALwkQ==} + dependencies: + vue: 2.7.16 + dev: true + /@types/web-bluetooth@0.0.16: resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==} dev: false @@ -1107,6 +1119,16 @@ packages: '@vue/compiler-core': 3.3.13 '@vue/shared': 3.3.13 + /@vue/compiler-sfc@2.7.16: + resolution: {integrity: sha512-KWhJ9k5nXuNtygPU7+t1rX6baZeqOYLEforUPjgNDBnLicfHCoi48H87Q8XyLZOrNNsmhuwKqtpDQWjEFe6Ekg==} + dependencies: + '@babel/parser': 7.23.6 + postcss: 8.4.32 + source-map: 0.6.1 + optionalDependencies: + prettier: 2.8.8 + dev: true + /@vue/compiler-sfc@3.3.13: resolution: {integrity: sha512-DQVmHEy/EKIgggvnGRLx21hSqnr1smUS9Aq8tfxiiot8UR0/pXKHN9k78/qQ7etyQTFj5em5nruODON7dBeumw==, tarball: https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.3.13.tgz} dependencies: @@ -2204,6 +2226,14 @@ packages: resolution: {integrity: sha512-nHHTeFVBTHRGxJXKkKu5hT8C/YWBkPso4/Gad6xuj5dbptt9iF9NZr9pHbPhBrnT2klheu7mHTxTZ/LjwJiEiQ==} dev: false + /prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /prismjs@1.29.0: resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} engines: {node: '>=6'} @@ -2324,6 +2354,9 @@ packages: /source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + + /splitpanes@3.1.5: + resolution: {integrity: sha512-r3Mq2ITFQ5a2VXLOy4/Sb2Ptp7OfEO8YIbhVJqJXoFc9hc5nTXXkCvtVDjIGbvC0vdE7tse+xTM9BMjsszP6bw==} dev: false /sprintf-js@1.0.3: @@ -2595,6 +2628,14 @@ packages: semver: 7.5.4 typescript: 5.3.3 + /vue@2.7.16: + resolution: {integrity: sha512-4gCtFXaAA3zYZdTp5s4Hl2sozuySsgz4jy1EnpBHNfpMa9dK1ZCG7viqBPCwXtmgc8nHqUsAu3G4gtmXkkY3Sw==} + deprecated: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details. + dependencies: + '@vue/compiler-sfc': 2.7.16 + csstype: 3.1.3 + dev: true + /vue@3.3.13(typescript@5.3.3): resolution: {integrity: sha512-LDnUpQvDgsfc0u/YgtAgTMXJlJQqjkxW1PVcOnJA5cshPleULDjHi7U45pl2VJYazSSvLH8UKcid/kzH8I0a0Q==, tarball: https://registry.npmmirror.com/vue/-/vue-3.3.13.tgz} peerDependencies: diff --git a/src/api/device-boot/terminalTree.ts b/src/api/device-boot/terminalTree.ts new file mode 100644 index 00000000..f21a5194 --- /dev/null +++ b/src/api/device-boot/terminalTree.ts @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 获取区域中断设备 +export function getTerminalTreeForFive(data:any) { + return request({ + url: '/device-boot/terminalTree/getTerminalTreeForFive', + method: 'post', + data: data, + }) +} \ No newline at end of file diff --git a/src/components/tree/index.vue b/src/components/tree/index.vue index e28cf57c..457232ba 100644 --- a/src/components/tree/index.vue +++ b/src/components/tree/index.vue @@ -23,6 +23,7 @@ size="18" class="fold ml10 menu-collapse" style="cursor: pointer" + v-if='props.canExpand' /> (), { - width: '280px' + width: '280px', + canExpand: true }) const { proxy } = useCurrentInstance() const menuCollapse = ref(false) diff --git a/src/components/tree/pms/pointTree.vue b/src/components/tree/pms/pointTree.vue new file mode 100644 index 00000000..352b05ba --- /dev/null +++ b/src/components/tree/pms/pointTree.vue @@ -0,0 +1,116 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/ITICquxianfenxi/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/ITICquxianfenxi/index.vue new file mode 100644 index 00000000..381890af --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/ITICquxianfenxi/index.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/SEMIF47fenxi/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/SEMIF47fenxi/index.vue new file mode 100644 index 00000000..381890af --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/SEMIF47fenxi/index.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/chixushijiangailvfenbu/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/chixushijiangailvfenbu/index.vue new file mode 100644 index 00000000..381890af --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/chixushijiangailvfenbu/index.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/dianyazanjiangbiaojimidu/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/dianyazanjiangbiaojimidu/index.vue new file mode 100644 index 00000000..381890af --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/dianyazanjiangbiaojimidu/index.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/index.vue new file mode 100644 index 00000000..bcb4e61b --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/index.vue @@ -0,0 +1,20 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/zanjiangfenbutongji/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/zanjiangfenbutongji/index.vue new file mode 100644 index 00000000..381890af --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/zanjiangfenbutongji/index.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/zanjiangfuzhigailvfenbu/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/zanjiangfuzhigailvfenbu/index.vue new file mode 100644 index 00000000..381890af --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/eventStatistics/zanjiangfuzhigailvfenbu/index.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/eventStudy/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/eventStudy/index.vue new file mode 100644 index 00000000..381890af --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/eventStudy/index.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/index.vue new file mode 100644 index 00000000..c6671fc2 --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/index.vue @@ -0,0 +1,33 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/navigation/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/navigation/index.vue new file mode 100644 index 00000000..d4d1f424 --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/navigation/index.vue @@ -0,0 +1,32 @@ + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/navigation/map.vue b/src/views/pms/voltageSags/monitoringPoint/online/navigation/map.vue new file mode 100644 index 00000000..88deeb72 --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/navigation/map.vue @@ -0,0 +1,299 @@ + + + + diff --git a/src/views/pms/voltageSags/monitoringPoint/online/runningCondition/index.vue b/src/views/pms/voltageSags/monitoringPoint/online/runningCondition/index.vue new file mode 100644 index 00000000..381890af --- /dev/null +++ b/src/views/pms/voltageSags/monitoringPoint/online/runningCondition/index.vue @@ -0,0 +1,10 @@ + + +