yanghao hace 11 horas
padre
commit
a23fe261a8

+ 2 - 5
src/views/pms/video_center/sip/channel.vue

@@ -131,7 +131,7 @@ const open = ref(false)
 
 // 查询参数
 const queryParams = reactive({
-  pageNum: 1,
+  pageNo: 1,
   pageSize: 10,
   deviceSipId: null
 })
@@ -292,10 +292,7 @@ const isVideoChannel = (row) => {
 
 // 生命周期钩子
 onMounted(() => {
-  if (props.device) {
-    queryParams.deviceSipId = props.device.serialNumber
-    getList()
-  }
+  getList()
 })
 
 defineExpose({

+ 1 - 1
src/views/pms/video_center/sip/splitview.vue

@@ -336,7 +336,7 @@ const sendDevicePush = (itemData, targetIndex = null) => {
       if (window.location.protocol === 'http:') {
         itemData.playUrl = res.playurl
       } else {
-        itemData.playUrl = playurl
+        itemData.playUrl = res.playurl
       }
       itemData.streamId = res.streamId
       setPlayUrl(itemData.playUrl, playIndex) // 播放URL设置到指定位置