-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/editDialog.vue b/src/views/home/well/components/editDialog.vue
new file mode 100644
index 0000000..cc810fc
--- /dev/null
+++ b/src/views/home/well/components/editDialog.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/editDialog.vue b/src/views/home/well/components/editDialog.vue
new file mode 100644
index 0000000..cc810fc
--- /dev/null
+++ b/src/views/home/well/components/editDialog.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/lifeCycleRecord.vue b/src/views/home/well/components/lifeCycleRecord.vue
index 1f37b5a..c56141d 100644
--- a/src/views/home/well/components/lifeCycleRecord.vue
+++ b/src/views/home/well/components/lifeCycleRecord.vue
@@ -4,28 +4,64 @@
Date: 2023-08-13
-->
@@ -33,10 +69,10 @@
-
+
搜索
@@ -50,7 +86,7 @@
-
+
查看
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/editDialog.vue b/src/views/home/well/components/editDialog.vue
new file mode 100644
index 0000000..cc810fc
--- /dev/null
+++ b/src/views/home/well/components/editDialog.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/lifeCycleRecord.vue b/src/views/home/well/components/lifeCycleRecord.vue
index 1f37b5a..c56141d 100644
--- a/src/views/home/well/components/lifeCycleRecord.vue
+++ b/src/views/home/well/components/lifeCycleRecord.vue
@@ -4,28 +4,64 @@
Date: 2023-08-13
-->
@@ -33,10 +69,10 @@
-
+
搜索
@@ -50,7 +86,7 @@
-
+
查看
diff --git a/src/views/home/well/components/maintenanceRecord.vue b/src/views/home/well/components/maintenanceRecord.vue
index a389d61..efceca3 100644
--- a/src/views/home/well/components/maintenanceRecord.vue
+++ b/src/views/home/well/components/maintenanceRecord.vue
@@ -4,29 +4,55 @@
Date: 2023-08-13
-->
-
+
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/editDialog.vue b/src/views/home/well/components/editDialog.vue
new file mode 100644
index 0000000..cc810fc
--- /dev/null
+++ b/src/views/home/well/components/editDialog.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/lifeCycleRecord.vue b/src/views/home/well/components/lifeCycleRecord.vue
index 1f37b5a..c56141d 100644
--- a/src/views/home/well/components/lifeCycleRecord.vue
+++ b/src/views/home/well/components/lifeCycleRecord.vue
@@ -4,28 +4,64 @@
Date: 2023-08-13
-->
@@ -33,10 +69,10 @@
-
+
搜索
@@ -50,7 +86,7 @@
-
+
查看
diff --git a/src/views/home/well/components/maintenanceRecord.vue b/src/views/home/well/components/maintenanceRecord.vue
index a389d61..efceca3 100644
--- a/src/views/home/well/components/maintenanceRecord.vue
+++ b/src/views/home/well/components/maintenanceRecord.vue
@@ -4,29 +4,55 @@
Date: 2023-08-13
-->
-
+
diff --git a/src/views/home/well/components/map.vue b/src/views/home/well/components/map.vue
index 2955e68..f74230f 100644
--- a/src/views/home/well/components/map.vue
+++ b/src/views/home/well/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/editDialog.vue b/src/views/home/well/components/editDialog.vue
new file mode 100644
index 0000000..cc810fc
--- /dev/null
+++ b/src/views/home/well/components/editDialog.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/lifeCycleRecord.vue b/src/views/home/well/components/lifeCycleRecord.vue
index 1f37b5a..c56141d 100644
--- a/src/views/home/well/components/lifeCycleRecord.vue
+++ b/src/views/home/well/components/lifeCycleRecord.vue
@@ -4,28 +4,64 @@
Date: 2023-08-13
-->
@@ -33,10 +69,10 @@
-
+
搜索
@@ -50,7 +86,7 @@
-
+
查看
diff --git a/src/views/home/well/components/maintenanceRecord.vue b/src/views/home/well/components/maintenanceRecord.vue
index a389d61..efceca3 100644
--- a/src/views/home/well/components/maintenanceRecord.vue
+++ b/src/views/home/well/components/maintenanceRecord.vue
@@ -4,29 +4,55 @@
Date: 2023-08-13
-->
-
+
diff --git a/src/views/home/well/components/map.vue b/src/views/home/well/components/map.vue
index 2955e68..f74230f 100644
--- a/src/views/home/well/components/map.vue
+++ b/src/views/home/well/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/well/components/monitorData.vue b/src/views/home/well/components/monitorData.vue
index 9264abb..14ca0f0 100644
--- a/src/views/home/well/components/monitorData.vue
+++ b/src/views/home/well/components/monitorData.vue
@@ -5,23 +5,49 @@
-->
-
-
-
+
+
+
-
-
+
+
-
-
+
+
+
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/editDialog.vue b/src/views/home/well/components/editDialog.vue
new file mode 100644
index 0000000..cc810fc
--- /dev/null
+++ b/src/views/home/well/components/editDialog.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/lifeCycleRecord.vue b/src/views/home/well/components/lifeCycleRecord.vue
index 1f37b5a..c56141d 100644
--- a/src/views/home/well/components/lifeCycleRecord.vue
+++ b/src/views/home/well/components/lifeCycleRecord.vue
@@ -4,28 +4,64 @@
Date: 2023-08-13
-->
@@ -33,10 +69,10 @@
-
+
搜索
@@ -50,7 +86,7 @@
-
+
查看
diff --git a/src/views/home/well/components/maintenanceRecord.vue b/src/views/home/well/components/maintenanceRecord.vue
index a389d61..efceca3 100644
--- a/src/views/home/well/components/maintenanceRecord.vue
+++ b/src/views/home/well/components/maintenanceRecord.vue
@@ -4,29 +4,55 @@
Date: 2023-08-13
-->
-
+
diff --git a/src/views/home/well/components/map.vue b/src/views/home/well/components/map.vue
index 2955e68..f74230f 100644
--- a/src/views/home/well/components/map.vue
+++ b/src/views/home/well/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/well/components/monitorData.vue b/src/views/home/well/components/monitorData.vue
index 9264abb..14ca0f0 100644
--- a/src/views/home/well/components/monitorData.vue
+++ b/src/views/home/well/components/monitorData.vue
@@ -5,23 +5,49 @@
-->
-
-
-
+
+
+
-
-
+
+
-
-
+
+
+
diff --git a/src/views/home/well/components/monitorDataGasList.vue b/src/views/home/well/components/monitorDataGasList.vue
new file mode 100644
index 0000000..426ac5a
--- /dev/null
+++ b/src/views/home/well/components/monitorDataGasList.vue
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/editDialog.vue b/src/views/home/well/components/editDialog.vue
new file mode 100644
index 0000000..cc810fc
--- /dev/null
+++ b/src/views/home/well/components/editDialog.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/lifeCycleRecord.vue b/src/views/home/well/components/lifeCycleRecord.vue
index 1f37b5a..c56141d 100644
--- a/src/views/home/well/components/lifeCycleRecord.vue
+++ b/src/views/home/well/components/lifeCycleRecord.vue
@@ -4,28 +4,64 @@
Date: 2023-08-13
-->
@@ -33,10 +69,10 @@
-
+
搜索
@@ -50,7 +86,7 @@
-
+
查看
diff --git a/src/views/home/well/components/maintenanceRecord.vue b/src/views/home/well/components/maintenanceRecord.vue
index a389d61..efceca3 100644
--- a/src/views/home/well/components/maintenanceRecord.vue
+++ b/src/views/home/well/components/maintenanceRecord.vue
@@ -4,29 +4,55 @@
Date: 2023-08-13
-->
-
+
diff --git a/src/views/home/well/components/map.vue b/src/views/home/well/components/map.vue
index 2955e68..f74230f 100644
--- a/src/views/home/well/components/map.vue
+++ b/src/views/home/well/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/well/components/monitorData.vue b/src/views/home/well/components/monitorData.vue
index 9264abb..14ca0f0 100644
--- a/src/views/home/well/components/monitorData.vue
+++ b/src/views/home/well/components/monitorData.vue
@@ -5,23 +5,49 @@
-->
-
-
-
+
+
+
-
-
+
+
-
-
+
+
+
diff --git a/src/views/home/well/components/monitorDataGasList.vue b/src/views/home/well/components/monitorDataGasList.vue
new file mode 100644
index 0000000..426ac5a
--- /dev/null
+++ b/src/views/home/well/components/monitorDataGasList.vue
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/monitorDataList.vue b/src/views/home/well/components/monitorDataList.vue
deleted file mode 100644
index d6118ad..0000000
--- a/src/views/home/well/components/monitorDataList.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- 搜索
-
- 切换视图
-
-
-
-
diff --git a/src/api/home/station/station.ts b/src/api/home/station/station.ts
index 887fefc..ce798e9 100644
--- a/src/api/home/station/station.ts
+++ b/src/api/home/station/station.ts
@@ -19,3 +19,14 @@
data,
})
}
+// 编辑
+export function editStation(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '2',
+ },
+ })
+}
diff --git a/src/api/home/well/well.ts b/src/api/home/well/well.ts
index 0367821..f558e64 100644
--- a/src/api/home/well/well.ts
+++ b/src/api/home/well/well.ts
@@ -19,3 +19,54 @@
data,
})
}
+
+// 查询监控数据
+export function getMonitorData(data: any) {
+ return request({
+ url: '/monitor/well/watchDataByWell',
+ method: 'post',
+ data,
+ })
+}
+
+// 全生命周期记录
+export function getLifecycleRecord(data: any) {
+ return request({
+ url: '/monitor/well/lifecycleRecord',
+ method: 'post',
+ data,
+ })
+}
+
+// 监控设备维护记录
+export function getRepairLog(id: string) {
+ return request({
+ url: '/monitor/well/repairLog',
+ method: 'post',
+ data: {
+ wellId: id,
+ },
+ })
+}
+// 编辑闸井
+export function editWell(data: any) {
+ return request({
+ url: '/system/busLedger/addRemark',
+ method: 'post',
+ data: {
+ ...data,
+ type: '1',
+ },
+ })
+}
+// 详情
+export function getWellDetail(id: string) {
+ return request({
+ url: '/system/busLedger/detail',
+ method: 'post',
+ data: {
+ id,
+ },
+ })
+}
+
diff --git a/src/assets/fullscren/banner-bg.png b/src/assets/fullscren/banner-bg.png
new file mode 100644
index 0000000..789664f
--- /dev/null
+++ b/src/assets/fullscren/banner-bg.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/bg.png b/src/assets/fullscren/bg.png
new file mode 100644
index 0000000..f4a462c
--- /dev/null
+++ b/src/assets/fullscren/bg.png
Binary files differ
diff --git a/src/assets/fullscren/data-bg.png b/src/assets/fullscren/data-bg.png
new file mode 100644
index 0000000..a28b51b
--- /dev/null
+++ b/src/assets/fullscren/data-bg.png
Binary files differ
diff --git a/src/router/modules/pc.ts b/src/router/modules/pc.ts
index d9d0923..45a1846 100644
--- a/src/router/modules/pc.ts
+++ b/src/router/modules/pc.ts
@@ -159,6 +159,19 @@
},
},
{
+ path: '/station/:type',
+ component: () => import('@/views/home/station/station/components/detail.vue'),
+ name: 'StationMonitorDetail',
+ meta: {
+ title: '场站监测',
+ icon: 'ep:key',
+ sidebar: false,
+ breadcrumb: true,
+ activeMenu: '/station/monitor',
+ auth: '/station/monitor',
+ },
+ },
+ {
path: 'video',
component: () => import('@/views/home/station/video/index.vue'),
name: 'StationVideo',
diff --git a/src/views/home/dashboard/components/controlMap.vue b/src/views/home/dashboard/components/controlMap.vue
new file mode 100644
index 0000000..91a16fa
--- /dev/null
+++ b/src/views/home/dashboard/components/controlMap.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/components/fullScreen-bak.vue b/src/views/home/dashboard/components/fullScreen-bak.vue
new file mode 100644
index 0000000..cfa64e9
--- /dev/null
+++ b/src/views/home/dashboard/components/fullScreen-bak.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/dashboard/fullScreen-bak.vue b/src/views/home/dashboard/fullScreen-bak.vue
deleted file mode 100644
index a706cc8..0000000
--- a/src/views/home/dashboard/fullScreen-bak.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/home/dashboard/fullScreen.vue b/src/views/home/dashboard/fullScreen.vue
index bba597c..54bafd0 100644
--- a/src/views/home/dashboard/fullScreen.vue
+++ b/src/views/home/dashboard/fullScreen.vue
@@ -1,368 +1,132 @@
-
-
-
-
-
-
-
-
+
-
diff --git a/src/views/home/station/station/components/detailData.vue b/src/views/home/station/station/components/detailData.vue
new file mode 100644
index 0000000..237b22a
--- /dev/null
+++ b/src/views/home/station/station/components/detailData.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/detailInfoDialog.vue b/src/views/home/station/station/components/detailInfoDialog.vue
index 20fb0cc..54fd294 100644
--- a/src/views/home/station/station/components/detailInfoDialog.vue
+++ b/src/views/home/station/station/components/detailInfoDialog.vue
@@ -4,6 +4,7 @@
Date: 2024-07-18
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/map.vue b/src/views/home/station/station/components/map.vue
index 54e4031..21437bf 100644
--- a/src/views/home/station/station/components/map.vue
+++ b/src/views/home/station/station/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/station/station/components/monitorData.vue b/src/views/home/station/station/components/monitorData.vue
new file mode 100644
index 0000000..c1cdbc9
--- /dev/null
+++ b/src/views/home/station/station/components/monitorData.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/monitorDataGasList.vue b/src/views/home/station/station/components/monitorDataGasList.vue
new file mode 100644
index 0000000..3a81e1e
--- /dev/null
+++ b/src/views/home/station/station/components/monitorDataGasList.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+ 当前浓度:0.00ppm.m
+
+
+ 报警阈值:50%LEL
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/components/videoControl.vue b/src/views/home/station/station/components/videoControl.vue
new file mode 100644
index 0000000..7b9be2d
--- /dev/null
+++ b/src/views/home/station/station/components/videoControl.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/home/station/station/index.vue b/src/views/home/station/station/index.vue
index 31afa75..907a91e 100644
--- a/src/views/home/station/station/index.vue
+++ b/src/views/home/station/station/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getStationList, getStationListPage } from '@/api/home/station/station'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -27,13 +28,12 @@
{ text: '管理单位', value: 'responsibleDeptName', isRequired: true, align: 'center' },
{ text: '场站类型', value: 'wellTypeName', isRequired: true, align: 'center' },
{ text: '详细位置', value: 'position', align: 'center' },
- { text: '负责人', value: '', isRequired: true, align: 'center' },
- { text: '联系电话', value: '', align: 'center' },
+ { text: '负责人', value: 'propertyPerson', isRequired: true, align: 'center' },
+ { text: '联系电话', value: 'propertyPhone', align: 'center' },
{ text: '场站状态', value: 'onStateName', isRequired: true, align: 'center' },
{ text: '监控状态', value: 'monitorStateName', isRequired: true, align: 'center' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
-
])
// 最终展示列
const columnsConfig = ref([])
@@ -166,7 +166,12 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, row)
+ return
+ }
$router.push({
path: `/station/${type}`,
query: {
@@ -179,10 +184,11 @@
+
-
+
-
+
@@ -224,7 +230,7 @@
-
+
diff --git a/src/views/home/well/components/detail.vue b/src/views/home/well/components/detail.vue
index 17c4b8d..6ae2646 100644
--- a/src/views/home/well/components/detail.vue
+++ b/src/views/home/well/components/detail.vue
@@ -4,7 +4,11 @@
Date: 2023-08-13
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/editDialog.vue b/src/views/home/well/components/editDialog.vue
new file mode 100644
index 0000000..cc810fc
--- /dev/null
+++ b/src/views/home/well/components/editDialog.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/lifeCycleRecord.vue b/src/views/home/well/components/lifeCycleRecord.vue
index 1f37b5a..c56141d 100644
--- a/src/views/home/well/components/lifeCycleRecord.vue
+++ b/src/views/home/well/components/lifeCycleRecord.vue
@@ -4,28 +4,64 @@
Date: 2023-08-13
-->
@@ -33,10 +69,10 @@
-
+
搜索
@@ -50,7 +86,7 @@
-
+
查看
diff --git a/src/views/home/well/components/maintenanceRecord.vue b/src/views/home/well/components/maintenanceRecord.vue
index a389d61..efceca3 100644
--- a/src/views/home/well/components/maintenanceRecord.vue
+++ b/src/views/home/well/components/maintenanceRecord.vue
@@ -4,29 +4,55 @@
Date: 2023-08-13
-->
-
+
diff --git a/src/views/home/well/components/map.vue b/src/views/home/well/components/map.vue
index 2955e68..f74230f 100644
--- a/src/views/home/well/components/map.vue
+++ b/src/views/home/well/components/map.vue
@@ -139,6 +139,7 @@
})
setTimeout(() => {
// mapRef.value.map.setZoom(14)
+ mapRef.value.map.setFitView()
mapRef.value.map.setCenter(data.event.data.lnglat)
})
}
diff --git a/src/views/home/well/components/monitorData.vue b/src/views/home/well/components/monitorData.vue
index 9264abb..14ca0f0 100644
--- a/src/views/home/well/components/monitorData.vue
+++ b/src/views/home/well/components/monitorData.vue
@@ -5,23 +5,49 @@
-->
-
-
-
+
+
+
-
-
+
+
-
-
+
+
+
diff --git a/src/views/home/well/components/monitorDataGasList.vue b/src/views/home/well/components/monitorDataGasList.vue
new file mode 100644
index 0000000..426ac5a
--- /dev/null
+++ b/src/views/home/well/components/monitorDataGasList.vue
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+ 切换视图
+
+
+
+
+
+
+
+
diff --git a/src/views/home/well/components/monitorDataList.vue b/src/views/home/well/components/monitorDataList.vue
deleted file mode 100644
index d6118ad..0000000
--- a/src/views/home/well/components/monitorDataList.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- 搜索
-
- 切换视图
-
-
-
-
diff --git a/src/views/home/well/index.vue b/src/views/home/well/index.vue
index 85094e1..3ad46fc 100644
--- a/src/views/home/well/index.vue
+++ b/src/views/home/well/index.vue
@@ -7,6 +7,7 @@
import { ElMessage, ElMessageBox } from 'element-plus'
import { ArrowUpBold } from '@element-plus/icons-vue'
import MapCom from './components/map.vue'
+import editDialog from './components/editDialog.vue'
import { getWellList, getWellListPage } from '@/api/home/well/well'
import { getDictByCode } from '@/api/system/dict'
// 表格标识 地图或普通
@@ -24,13 +25,13 @@
{ text: '闸井位号', value: 'tagNumber', align: 'center', width: '110' },
{ text: '闸井编号', value: 'ledgerCode', align: 'center' },
{ text: '闸井名称', value: 'ledgerName', align: 'center' },
- { text: '管理单位', value: 'responsibleDeptName', align: 'center' },
+ { text: '管理单位', value: 'deptName', align: 'center' },
{ text: '产权单位', value: 'propertyOwner', align: 'center' },
{ text: '管理方式', value: 'manageTypeName', align: 'center', width: '90' },
{ text: '使用状态', value: 'onStateName', align: 'center', width: '90' },
- { text: '布防状态', value: 'bfztName', align: 'center', width: '90' },
+ // { text: '布防状态', value: 'bfztName', align: 'center', width: '90' },
{ text: '状态', value: 'monitorStateName', align: 'center', width: '90' },
- { text: '感知设备', value: 'device', align: 'center', width: '90' },
+ { text: '感知设备', value: 'deviceCount', align: 'center', width: '90' },
{ text: '标签', value: 'marker', align: 'center' },
])
// 最终展示列
@@ -47,7 +48,7 @@
tagNumber: '', // 闸井位号
ledgerName: '', // 闸井名称
ledgerCode: '', // 闸井编号
- responsibleDept: '', // 管理单位
+ deptid: '', // 管理单位
propertyOwner: '', // 产权单位
manageType: '', // 管理方式
onState: '', // 使用状态
@@ -107,7 +108,7 @@
tagNumber: '', // 闸井位号
ledgerName: '', // 闸井名称
ledgerCode: '', // 闸井编号
- responsibleDept: '', // 管理单位
+ deptid: '', // 管理单位
propertyOwner: '', // 产权单位
manageType: '', // 管理方式
onState: '', // 使用状态
@@ -171,6 +172,7 @@
ElMessage.warning('该数据缺少坐标信息')
return
}
+ // mapRef.value.map.setZoom(15)
// 打开地图弹窗
mapRef.value.openInfoDetail({
lnglat: [data.lngGaode, data.latGaode],
@@ -194,11 +196,17 @@
}
// 查看/编辑
const $router = useRouter()
+const editRef = ref()
const editRow = (type: string, row: any) => {
+ if (type === 'edit') {
+ editRef.value.initDialog(type, JSON.parse(JSON.stringify(row)))
+ return
+ }
$router.push({
path: `/well/${type}`,
query: {
id: row.id,
+ row: JSON.stringify(row),
},
})
}
@@ -207,10 +215,11 @@
+
-
+
-
+
@@ -218,7 +227,10 @@
-
+
@@ -229,7 +241,7 @@
-
+
@@ -299,13 +311,13 @@
-
+
@@ -333,7 +345,7 @@
.icon {
position: fixed;
- top: 450px;
+ top: 550px;
left: 50%;
// transform: translateX(-50%);
z-index: 901;