From f10c5bd4ea4d3cfaf8d7458240c123ce59ae68ef Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Mon, 1 Jun 2026 17:37:47 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E7=9B=B4=E6=92=AD=E5=90=8E=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E5=88=B7=E6=96=B0=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot --- .eslintrc-auto-import.json | 4 ++++ src/views/equipmentList/list.vue | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index 2ca3adf..d979925 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -5,6 +5,10 @@ "ComputedRef": true, "DirectiveBinding": true, "EffectScope": true, + "ElLoading": true, + "ElMessage": true, + "ElMessageBox": true, + "ElNotification": true, "ExtractDefaultPropTypes": true, "ExtractPropTypes": true, "ExtractPublicPropTypes": true, diff --git a/src/views/equipmentList/list.vue b/src/views/equipmentList/list.vue index a1cbc48..553b2d7 100644 --- a/src/views/equipmentList/list.vue +++ b/src/views/equipmentList/list.vue @@ -520,6 +520,19 @@ const handleMonitorDialogClose = (done: () => void) => { destroyVideoResizeObserver(); resetMonitorDraw(); done(); + //刷新列表 + getList(); +}; + +const handleMonitorDialogOk = async () => { + if (monitorDrawCollecting.value) { + proxy?.$modal.msgWarning('请先完成报警区域绘制'); + return; + } + if (!currentDrawArea.value) { + proxy?.$modal.msgWarning('请先绘制报警区域'); + return; + } }; /** 显示坐标(相对 video 元素) → 视频原始像素坐标,含 object-fit: contain 留白换算 */