Browse Source

Merge branch 'refs/heads/dev-2.19.0' into dev

Lita-Tako 4 months ago
parent
commit
fb5b9b9681
2 changed files with 5 additions and 1 deletions
  1. 4 0
      src/api/previewPlayback/index.js
  2. 1 1
      src/components/video/Live.vue

+ 4 - 0
src/api/previewPlayback/index.js

@@ -5,3 +5,7 @@ const request = (url, ...arg) => baseRequest(`/previewPlayback` + url, ...arg)
5 5
 export const getPreview = (query) => {
6 6
 	return request('/getPreview', query, 'get')
7 7
 }
8
+
9
+export const controlling = (data) => {
10
+	return request('/controlling', data, 'get')
11
+}

+ 1 - 1
src/components/video/Live.vue

@@ -1,6 +1,6 @@
1 1
 <!-- 实时视频监控 -->
2 2
 <script setup>
3
-	import { getPreview } from '@/api/previewPlayback'
3
+	import { getPreview, controlling } from '@/api/previewPlayback'
4 4
 	import { useRoute } from 'vue-router'
5 5
 	import commonSelect from '@/components/CommonSelector/index.vue'
6 6
 	import api from '@/api/orgInfo/info'