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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 @@ + + + + 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 @@ + + + + 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 @@ + + + + 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 @@