diff --git a/src/components/device-page/device-card/current-diag-card/nvr-record-diag-card.vue b/src/components/device-page/device-card/current-diag-card/nvr-record-diag-card.vue
index fba8359..52e765b 100644
--- a/src/components/device-page/device-card/current-diag-card/nvr-record-diag-card.vue
+++ b/src/components/device-page/device-card/current-diag-card/nvr-record-diag-card.vue
@@ -9,7 +9,7 @@ import { VideocamOutline, TimeOutline, WarningOutline, CheckmarkCircleOutline, R
import dayjs from 'dayjs';
import { destr } from 'destr';
import { groupBy } from 'es-toolkit';
-import { NCard, NFlex, NText, NTag, NTimeline, NTimelineItem, NIcon, NEmpty, NStatistic, NGrid, NGridItem, NCollapse, NCollapseItem, NButton, NPopconfirm } from 'naive-ui';
+import { NCard, NFlex, NText, NTag, NTimeline, NTimelineItem, NIcon, NEmpty, NStatistic, NGrid, NGridItem, NCollapse, NCollapseItem, NButton, NPopconfirm, NScrollbar } from 'naive-ui';
import { computed, onMounted, ref, toRefs } from 'vue';
type NvrRecordDiag = {
@@ -182,22 +182,38 @@ onMounted(() => {
-
+
+
+ {{ recordDiagStatistics.totalChannels }}
+
+
-
+
+
+ {{ recordDiagStatistics.channelsWithLoss }}
+
+
-
+
+
+ {{ recordDiagStatistics.totalLossCount }}
+
+
-
+
+
+ {{ recordDiagStatistics.totalLossDuration }}
+
+
-
+
@@ -205,9 +221,7 @@ onMounted(() => {
{{ channel.channelName }}
-
- {{ channel.lostRecordList.length > 0 ? `${channel.lostRecordList.length}次缺失` : '正常' }}
-
+ {{ channel.lostRecordList.length > 0 ? `${channel.lostRecordList.length}次缺失` : '正常' }}
@@ -216,41 +230,43 @@ onMounted(() => {
- {{ formatTime(channel.recordDuration.startTime) }} ~ {{ formatTime(channel.recordDuration.endTime) }}
+ {{ formatTime(channel.recordDuration.startTime) }} ~ {{ formatTime(channel.recordDuration.endTime) }}
-
-
-
- 录像缺失时间段:
-
-
-
-
-
-
-
-
-
- 缺失时段:{{ formatTime(loss.startTime) }} ~ {{ formatTime(loss.endTime) }}
- 持续时长:{{ formatDuration(loss.startTime, loss.endTime) }}
-
-
-
-
-
+
+
+
+
+ 录像缺失时间段:
+
+
+
+
+
+
+
+
+
+ 缺失时段:{{ formatTime(startTime) }} ~ {{ formatTime(endTime) }}
+ 持续时长:{{ formatDuration(startTime, endTime) }}
+
+
+
+
+
-
-
-
-
-
-
- 该通道录像完整,无缺失时间段
-
+
+
+
+
+
+
+ 该通道录像完整,无缺失时间段
+
+
-
+
@@ -263,17 +279,4 @@ onMounted(() => {
-
+