From 462ba124a200ab4e962a582c79f38664be551e8a Mon Sep 17 00:00:00 2001
From: Ironsp <1522278303@qq.com>
Date: Thu, 14 May 2026 15:34:55 +0800
Subject: [PATCH] =?UTF-8?q?fix=20=E5=AE=9E=E6=97=B6=E7=9B=91=E6=8E=A7?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=90=AD=E5=BB=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/equipmentList/list.vue | 78 +++++++++++++++++++++++++++++++-
1 file changed, 76 insertions(+), 2 deletions(-)
diff --git a/src/views/equipmentList/list.vue b/src/views/equipmentList/list.vue
index 8ff8c68..480563e 100644
--- a/src/views/equipmentList/list.vue
+++ b/src/views/equipmentList/list.vue
@@ -99,6 +99,18 @@
+
+
+
+
+ 实时监控-北门出入门监控
+ 绘制区域
+
+
+
+
+
+
@@ -125,6 +137,13 @@ const dialog = reactive({
visible: false,
title: ''
});
+const dialog1 = reactive({
+ visible: false,
+ title: ''
+});
+
+const monitorVideoUrl = 'http://192.168.0.214:8088/5a0db047943df198aff98b650ac9e001.mp4';
+const monitorVideoRef = ref();
const initFormData = {
id: undefined,
@@ -245,8 +264,18 @@ const handleActivate = async (row?: any) => {
};
/* 查看监控 */
-const handleSee = (row?: any) => {
- alert('查看监控');
+const handleSee = async (row?: any) => {
+ reset();
+ const _id = row?.id || ids.value[0];
+ const res = await getDeviceInfo(_id);
+ Object.assign(form.value, res.data);
+ dialog1.visible = true;
+ dialog1.title = '修改设备';
+};
+const handleMonitorDialogClose = (done: () => void) => {
+ monitorVideoRef.value?.pause();
+ monitorVideoRef.value && (monitorVideoRef.value.currentTime = 0);
+ done();
};
/** 删除按钮操作 */
@@ -273,3 +302,48 @@ onMounted(() => {
getList();
});
+
+