diff --git a/src/views/equipmentList/list.vue b/src/views/equipmentList/list.vue index 16f5675..6d759ee 100644 --- a/src/views/equipmentList/list.vue +++ b/src/views/equipmentList/list.vue @@ -232,7 +232,7 @@
{{ videoName }}-{{ monitoringArea }}监控
- 切换摄像头 + 切换摄像头 刷新 绘制区域 清空区域 @@ -260,6 +260,7 @@ import { initHls, destroyHls } from '@/utils/video'; import { nextTick } from 'vue'; import { useVideosStore } from '@/store/modules/video'; import { addDemo } from '@/api/video/index'; +import { AnyARecord } from 'dns'; const videosStore = useVideosStore(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -446,9 +447,10 @@ const resetMonitorDraw = () => { monitorRectPx.value = null; currentDrawArea.value = null; }; +const videosInfo = ref(); const handleSee = async (row?: any) => { console.log('1111111111111111', row, row.drawArea); - + videosInfo.value = row; reset(); resetMonitorDraw(); seeSee.value = row?.isDrawArea === 1 ? 1 : 0; @@ -795,8 +797,9 @@ watch( } ); /** 刷新按钮操作 */ -const handleVideo = async (row?: DemoVO) => { - console.log('11111111111'); +const handleVideo = async (row?: any) => { + console.log('11111111111', row); + handleSee(row); }; /** 刷新按钮操作 */