diff --git a/src/bk/CenterTop警戒点位.vue b/src/bk/CenterTop警戒点位.vue index 443637b..90412a1 100644 --- a/src/bk/CenterTop警戒点位.vue +++ b/src/bk/CenterTop警戒点位.vue @@ -72,7 +72,7 @@ const fetchCameras = async () => { try { const token = localStorage.getItem('alertToken'); - const cameraData = await apiInstance.getMinCameras(token); + const cameraData = await apiInstance.getAllCameras(token); // 根据 filterStatus 筛选摄像头状态 if (filterStatus.value === "online") { diff --git a/src/bk/StaticData图表简易版.vue b/src/bk/StaticData图表简易版.vue new file mode 100644 index 0000000..d73fa45 --- /dev/null +++ b/src/bk/StaticData图表简易版.vue @@ -0,0 +1,205 @@ + + + + 告警数量和类型分布 + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/bk/点播页面原版.vue b/src/bk/点播页面原版.vue index 6365a5b..f069240 100644 --- a/src/bk/点播页面原版.vue +++ b/src/bk/点播页面原版.vue @@ -93,7 +93,7 @@ const fetchCameras = async () => { try { const token = localStorage.getItem('alertToken'); - const cameraData = await apiInstance.getMinCameras(token); + const cameraData = await apiInstance.getAllCameras(token); cameras.value = cameraData; } catch (error) { console.error('获取摄像头列表失败:', error); diff --git a/src/bk/设置页面点播墙组件代码.vue b/src/bk/设置页面点播墙组件代码.vue new file mode 100644 index 0000000..1bf720a --- /dev/null +++ b/src/bk/设置页面点播墙组件代码.vue @@ -0,0 +1,595 @@ + + + + + + + + + + + + + + + + + + + + + {{ camera.name }} + + + + 设置 + + + + + + + 通道{{ camera.id }} + + + + + + + + + + + + + + + {{ camera.name }} + × + + + + + + + + + + + + + + + + + + + + + + 播放摄像头: {{ currentCamera?.name }} + + + + + + + + + + + + + + + \ No newline at end of file
{{ camera.name }}