From 6db214839c6f895a433fdeba23f4330c96cd5ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Sat, 26 Aug 2023 22:21:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/video/videoConfig.js | 9 ++ .../src/views/video/videoConfig/index.vue | 15 ++- .../video/videoConfig/videoConfigDrawer.vue | 8 +- .../video/videoConfig/videoPlayDrawer.vue | 69 +++++++++-- ruoyi-ui/src/views/video/videoList/index.vue | 108 +++++++++++++++--- .../web/controller/VideoController.java | 63 ++++++++++ .../SurProjectVideoConfigController.java | 4 +- .../video/SurProjectVideoConfigMapper.xml | 7 +- 8 files changed, 244 insertions(+), 39 deletions(-) create mode 100644 yanzhu-bigscreen/src/main/java/com/yanzhu/jh/bigscreen/web/controller/VideoController.java diff --git a/ruoyi-ui/src/api/video/videoConfig.js b/ruoyi-ui/src/api/video/videoConfig.js index 8f534844..d25ba625 100644 --- a/ruoyi-ui/src/api/video/videoConfig.js +++ b/ruoyi-ui/src/api/video/videoConfig.js @@ -52,6 +52,15 @@ export function updateVideoConfigSort(data) { }) } +// 修改视频配置 +export function editPassageState(data) { + return request({ + url: '/video/videoConfig/editPassageState', + method: 'post', + data: data + }) +} + // 删除视频配置 export function delVideoConfig(id) { return request({ diff --git a/ruoyi-ui/src/views/video/videoConfig/index.vue b/ruoyi-ui/src/views/video/videoConfig/index.vue index 28ba23cc..a306681f 100644 --- a/ruoyi-ui/src/views/video/videoConfig/index.vue +++ b/ruoyi-ui/src/views/video/videoConfig/index.vue @@ -139,7 +139,11 @@ width="120" show-overflow-tooltip /> - + + + - + - - - - - + + + + @@ -105,4 +149,9 @@ export default { width: 50%; height: 50%; } +.videoViewError { + background-color: #575e65; + text-align: center; + line-height: 324px; +} diff --git a/ruoyi-ui/src/views/video/videoList/index.vue b/ruoyi-ui/src/views/video/videoList/index.vue index 567404a8..697cf29a 100644 --- a/ruoyi-ui/src/views/video/videoList/index.vue +++ b/ruoyi-ui/src/views/video/videoList/index.vue @@ -7,30 +7,57 @@ :title="item.videoName" @click="handlePlay(item, index)" :class="{ bg_color: currentIndex == index }" - >{{ item.videoName }} + {{ item.videoName }}({{ item.videoPassageCount }}/{{ + item.passagePassCount + }})
-
- +
+
-
- +
+ 设备0通道链接失败!请及时检查!
-
- +
+
-
- +
+ 设备1通道链接失败!请及时检查! +
+
+ +
+
+ 设备2通道链接失败!请及时检查! +
+
+ +
+
+ 设备3通道链接失败!请及时检查!