From c0dea69839edbb5a58f25a4fcd331448ecbc2704 Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: Mon, 10 Jun 2024 00:48:18 +0800 Subject: [PATCH] =?UTF-8?q?1078-=E6=B7=BB=E5=8A=A0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E7=9A=84=E5=89=8D=E7=AB=AFUI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/components/JTChannelList.vue | 4 ++ web_src/src/components/JTDeviceList.vue | 49 +++++++++++++++++++++++- 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/JTChannelList.vue b/web_src/src/components/JTChannelList.vue index d4a940f97..f06fa71a0 100755 --- a/web_src/src/components/JTChannelList.vue +++ b/web_src/src/components/JTChannelList.vue @@ -74,6 +74,8 @@ 设备录像 云端录像 + + 立即拍摄 @@ -225,6 +227,8 @@ export default { this.queryRecords(itemData) }else if (command === "cloudRecords") { this.queryCloudRecords(itemData) + }else { + this.$message.info("尚不支持"); } }, queryRecords: function (itemData) { diff --git a/web_src/src/components/JTDeviceList.vue b/web_src/src/components/JTDeviceList.vue index 300d1ce8e..dfe3429cc 100755 --- a/web_src/src/components/JTDeviceList.vue +++ b/web_src/src/components/JTDeviceList.vue @@ -52,7 +52,7 @@ - + @@ -181,7 +217,16 @@ export default { setTimeout(this.getList, 200) }) - } + }, + moreClick: function (command, itemData) { + if (command === "params") { + this.queryRecords(itemData) + }else if (command === "connection") { + this.queryCloudRecords(itemData) + }else { + this.$message.info("尚不支持"); + } + }, }