yanghao 22 godzin temu
rodzic
commit
0af5dd0941
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      src/views/pms/video_center/sip/channel.vue

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

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