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通道链接失败!请及时检查!