From 15596f77f15ac5d8410d5c031a3051af3f42e5e5 Mon Sep 17 00:00:00 2001
From: hongchao <3228015117@qq.com>
Date: Mon, 13 Jan 2025 17:48:03 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E7=94=B5=E7=AB=99=E7=BB=93=E6=9E=84?=
=?UTF-8?q?=E5=92=8C=E7=AE=A1=E7=BD=91=E7=BB=93=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/substation/subsInfo.js | 79 +++
src/components/substation/subsPipeDetect.vue | 355 +++++++++++
.../substation/subsStructureDetect.vue | 585 ++++++++++++++++++
src/views/Substation/index.vue | 32 +-
4 files changed, 1042 insertions(+), 9 deletions(-)
create mode 100644 src/api/substation/subsInfo.js
create mode 100644 src/components/substation/subsPipeDetect.vue
create mode 100644 src/components/substation/subsStructureDetect.vue
diff --git a/src/api/substation/subsInfo.js b/src/api/substation/subsInfo.js
new file mode 100644
index 0000000..28d09af
--- /dev/null
+++ b/src/api/substation/subsInfo.js
@@ -0,0 +1,79 @@
+import request from '@/utils/request'
+
+// 获取变电站结构列表
+export function querySubsStructureListApi(query) {
+ return request({
+ url: '/base/screen/subsInfo/list',
+ method: 'get',
+ params: query
+ })
+ }
+
+// 新增结构数据
+export function addSubs(data) {
+ return request({
+ url: '/base/screen/subsInfo/addSubs',
+ method: 'post',
+ data: data
+ })
+}
+
+// 编辑结构数据
+export function editSubs(data) {
+ return request({
+ url: '/base/screen/subsInfo/editSubs',
+ method: 'post',
+ data: data
+ })
+}
+
+// 删除结构数据
+export function deleteSubs(data) {
+ return request({
+ url: '/base/screen/subsInfo/deleteById',
+ method: 'post',
+ data: data
+ })
+}
+
+// 获取变电站管网结构列表
+export function querySubsPipeListApi(query) {
+ return request({
+ url: '/base/screen/subsInfo/pipeList',
+ method: 'get',
+ params: query
+ })
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/substation/subsPipeDetect.vue b/src/components/substation/subsPipeDetect.vue
new file mode 100644
index 0000000..5014897
--- /dev/null
+++ b/src/components/substation/subsPipeDetect.vue
@@ -0,0 +1,355 @@
+
+
+
+
+
+

+ 变电站管网结构
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+ {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/substation/subsStructureDetect.vue b/src/components/substation/subsStructureDetect.vue
new file mode 100644
index 0000000..c4441b6
--- /dev/null
+++ b/src/components/substation/subsStructureDetect.vue
@@ -0,0 +1,585 @@
+
+
+
+
+
+

+ 变电站结构
+
+
+
+
+
+
+
+
+
+ 搜索
+ 新增
+
+
+
+
+ {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}
+
+
+
+
+
+
+ {{ scope.row.elecLevel }} kV
+
+
+
+
+ {{ scope.row.width }} 米
+
+
+
+
+ {{ scope.row.width }} 米
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ kV
+
+
+
+
+
+
+
+
+ 米
+
+
+
+
+
+
+ 米
+
+
+
+
+
+
+ 确定
+ 取消
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Substation/index.vue b/src/views/Substation/index.vue
index e97ce0d..4576903 100644
--- a/src/views/Substation/index.vue
+++ b/src/views/Substation/index.vue
@@ -98,20 +98,28 @@
v-if="currentLefIndex === 4"
:send-msg="sendMsg"
>
-
+
+
@@ -135,6 +143,8 @@ import DeformDetect from '../../components/substation/deformDetect.vue'
import GllDetect from '../../components/substation/gllDetect.vue'
import PowerWorkDetect from '../../components/substation/powerWorkDetect.vue'
import RestrictedSpaceDetect from '../../components/substation/restrictedSpaceDetect.vue'
+import SubsStructureDetect from '../../components/substation/subsStructureDetect.vue'
+import SubsPipeDetect from '../../components/substation/subsPipeDetect.vue'
export default {
components: {
GlobalBar,
@@ -147,7 +157,9 @@ export default {
DeformDetect,
GllDetect,
PowerWorkDetect,
- RestrictedSpaceDetect
+ RestrictedSpaceDetect,
+ SubsStructureDetect,
+ SubsPipeDetect
},
name: 'Substation',
data() {
@@ -170,10 +182,12 @@ export default {
{ title: '环境检测类', id: 2 },
{ title: '组塔检测类', id: 3 },
{ title: '基坑检测类', id: 4 },
- { title: '形变监测类', id: 5 },
- { title: 'GLL通管监测类', id: 6 },
- { title: '受限空间视频预警', id: 7 },
- { title: '近电作业检测', id: 8 },
+ { title: '变电站结构', id: 5 },
+ { title: '变电站管网结构', id: 6 },
+ { title: '形变监测类', id: 7 },
+ { title: 'GLL通管监测类', id: 8 },
+ { title: '受限空间视频预警', id: 9 },
+ { title: '近电作业检测', id: 10 },
],
sendMsg: undefined,
sendGeo: undefined