From 3b75784058166dff3f3905a35ae10ea562b2cccf Mon Sep 17 00:00:00 2001
From: qingzhengli <1204552371@qq.com>
Date: Wed, 27 Mar 2024 17:36:57 +0800
Subject: [PATCH] =?UTF-8?q?feat=20=20=E8=B7=AF=E7=BD=91=E7=AE=A1=E6=8E=A7-?=
=?UTF-8?q?=E5=BE=85=E7=A1=AE=E8=AE=A4=E4=BA=8B=E4=BB=B6=20=E5=A4=84?=
=?UTF-8?q?=E7=90=86=E4=B8=AD=E4=BA=8B=E4=BB=B6=20=E5=B7=B2=E5=A4=84?=
=?UTF-8?q?=E7=BD=AE=E4=BA=8B=E4=BB=B6=E4=B8=AD=E6=91=84=E5=83=8F=E5=A4=B4?=
=?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=9B=BF=E6=8D=A2=E4=B8=BA=E4=B8=8A=E4=B8=8B?=
=?UTF-8?q?=E6=B8=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/Video/videoStream.js | 2 +-
.../event/event/EventDetailDialog/index.vue | 11 +++++---
.../pages/control/event/event/index.vue | 27 ++++++++++---------
3 files changed, 23 insertions(+), 17 deletions(-)
diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js b/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js
index 4aecfbf3..dc4b6fff 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js
@@ -83,7 +83,7 @@ async function getUrl({ camId, url, pileNum, rangeIndex } = {}) {
return;
}
camId = data[rangeIndex || 0]?.camId;
- console.log(rangeIndex, "rangeIndex", data, data[rangeIndex], cameraData);
+ console.log("rangeIndex", rangeIndex, data[rangeIndex]);
}
if (camId) {
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue
index ce2b75e2..892587a9 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue
@@ -5,9 +5,13 @@
+ :url="(formData.videoList && formData.videoList.length > 0) ? formData.videoList[0] : ''"
+ :camId="formData.upCamId" :pileNum="formData.stakeMark" rangeIndex="upCamera"
+ :videoType="formData.videoType" />
+ :url="(formData.videoList && formData.videoList.length > 0) ? formData.videoList[1] : ''"
+ :camId="formData.downCamId" :pileNum="formData.stakeMark" rangeIndex="downCamera"
+ :videoType="formData.videoType" />
@@ -19,7 +23,8 @@
{ this.$emit('update:value', false); this.$emit('queryData', true); }" @close="onCloseAddNew" />
+ @reInitData="() => { this.$emit('update:value', false); this.$emit('queryData', true); }"
+ @close="onCloseAddNew" />