From 7e0e55944e76155c15741cc74bbd708897303529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Tue, 7 Oct 2025 11:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E4=BB=BB=E5=8A=A1=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=AD=97=E5=85=B8=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rtsp-vue/src/views/index.vue | 19 +++++++++++++++++-- rtsp-vue/src/views/video/inspection/index.vue | 14 ++++++-------- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/rtsp-vue/src/views/index.vue b/rtsp-vue/src/views/index.vue index 7d80de6..8ed27be 100644 --- a/rtsp-vue/src/views/index.vue +++ b/rtsp-vue/src/views/index.vue @@ -9,9 +9,16 @@ -
+ + +
-
+
+ + +
{{ item.ip }} @@ -19,6 +26,12 @@
+
+ + + +
+ - - + @@ -80,7 +79,7 @@ @@ -144,14 +143,12 @@ - 启用 - 停用 + {{ dict.label }} - 启用 - 停用 + {{ dict.label }} @@ -175,7 +172,7 @@ import { listDevice } from "@/api/video/device"; import router from '@/router' const { proxy } = getCurrentInstance(); -const { sys_normal_disable } = proxy.useDict('sys_normal_disable'); +const { sys_normal_disable, task_status } = proxy.useDict('sys_normal_disable', 'task_status'); const inspectionList = ref([]); const deviceList = ref([]); @@ -332,6 +329,7 @@ function handleDelete(row) { /** 启动任务 */ function handleStart(row) { proxy.$modal.confirm('是否确认启动任务"' + row.taskName + '"?').then(function() { + console.log(row.taskId); return startTask(row.taskId); }).then(() => { getList();