From a2e603a9318a2eec37a214b766661c9d295ef708 Mon Sep 17 00:00:00 2001 From: Rain_ <904416525@qq.com> Date: Fri, 14 Nov 2025 16:33:10 +0800 Subject: [PATCH] =?UTF-8?q?flx:=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../videoModule/isc_plugin/isc_plugin_h5.vue | 6 + .../homeworkControlProcess.vue | 4 +- .../videoSurveillance/areaTree.vue | 104 ++++++++++++------ .../homeworkControlProcess.vue | 80 +++++++++++--- 4 files changed, 143 insertions(+), 51 deletions(-) diff --git a/src/components/videoModule/isc_plugin/isc_plugin_h5.vue b/src/components/videoModule/isc_plugin/isc_plugin_h5.vue index 626638ff..a69b7193 100644 --- a/src/components/videoModule/isc_plugin/isc_plugin_h5.vue +++ b/src/components/videoModule/isc_plugin/isc_plugin_h5.vue @@ -246,6 +246,12 @@ export default { if (controls) { controls.classList.remove("video-controls_flex"); } + const findIndex = Array.from(wnd.childNodes).findIndex( + (item) => item.localName == "img" || item.className == "classImg" + ); + if (findIndex !== -1) { + wnd.removeChild(wnd.childNodes[findIndex]); + } } }); this.devH5List = []; diff --git a/src/views/companyAdmin/companyBigScreen/terminalOperation/homeworkControlProcess.vue b/src/views/companyAdmin/companyBigScreen/terminalOperation/homeworkControlProcess.vue index b9bf9899..f43c7974 100644 --- a/src/views/companyAdmin/companyBigScreen/terminalOperation/homeworkControlProcess.vue +++ b/src/views/companyAdmin/companyBigScreen/terminalOperation/homeworkControlProcess.vue @@ -807,7 +807,6 @@ const getSelectAllProjectInfoList = () => { const onSelectProject = () => { workTicketInfo.pageNo = 1; workTicketList.value = []; - getProjectVideoConfigList(); getWorkTicketPage(); getWorkTicketCountWorkTicket(); getWorkTicketTypeTreePage(); @@ -818,7 +817,7 @@ const videoConfig = ref({ //查询项目各类型的视频配置信息 const getProjectVideoConfigList = () => { projectVideoConfigListApi({ - projectSn: workTicketInfo.projectSn, + projectSn: workTicketDetail.value.projectSn, }).then((res) => { if (res.code == 200) { if (res.result) { @@ -904,6 +903,7 @@ const timeInterval = ref(null); const onViewDetail = (row, flag) => { if (row.id == workTicketDetail.value.id && flag != true) return; workTicketDetail.value = row; + getProjectVideoConfigList(); getWorkTicketQueryById(); getWorkTicketHistoryList(); initPoliceCameraItemList(); diff --git a/src/views/companyAdmin/companyBigScreen/videoSurveillance/areaTree.vue b/src/views/companyAdmin/companyBigScreen/videoSurveillance/areaTree.vue index 7c723ee8..ca05b0bb 100644 --- a/src/views/companyAdmin/companyBigScreen/videoSurveillance/areaTree.vue +++ b/src/views/companyAdmin/companyBigScreen/videoSurveillance/areaTree.vue @@ -33,15 +33,33 @@
-
-
+
+
-
全部({{ filterTreeDataTotal(1) }})
-
在线({{ filterTreeDataTotal(2) }})
-
离线({{ filterTreeDataTotal(3) }})
+
+ 全部({{ filterTreeDataTotal(1) }}) +
+
+ 在线({{ filterTreeDataTotal(2) }}) +
+
+ 离线({{ filterTreeDataTotal(3) }}) +
@@ -78,18 +96,17 @@ " :title="node.label" >{{ node.label }} - - ({{ - (searchInfo.deviceState == 0 - ? data.totalNum - : searchInfo.deviceState == 1 - ? data.onlineNum - : data.totalNum - data.onlineNum) || 0 - }} - / {{ data.totalNum || 0 }}) - - + + ({{ + (searchInfo.deviceState == 0 + ? data.totalNum + : searchInfo.deviceState == 1 + ? data.onlineNum + : data.totalNum - data.onlineNum) || 0 + }} + / {{ data.totalNum || 0 }}) + +