diff --git a/src/components/device-page/device-card/current-diag-card/nvr-record-diag-card.old.vue b/src/components/device-page/device-card/current-diag-card/nvr-record-diag-card.old.vue new file mode 100644 index 0000000..048c8e9 --- /dev/null +++ b/src/components/device-page/device-card/current-diag-card/nvr-record-diag-card.old.vue @@ -0,0 +1,312 @@ + + + + + + + 录像诊断 + reloadAllRecordCheck()"> + + + 点击更新所有通道录像诊断 + + + + 确认更新所有通道录像诊断吗? + + + + + + getRecordCheckByParentId()"> + + + + + + + + + + + + + + + + + + + + + {{ recordDiagStatistics.totalChannels }} + + + + + + + {{ recordDiagStatistics.channelsWithLoss }} + + + + + + + + + + + + + + + + {{ channel.channelName }} + {{ channel.lostRecordList.length > 0 ? `${channel.lostRecordList.length}次缺失` : '正常' }} + + + + + + + + + {{ formatTime(channel.recordDuration.startTime) }} ~ {{ formatTime(channel.recordDuration.endTime) }} + + + + + + + + 录像缺失时间段: + + + + + + + + + + 缺失时段:{{ formatTime(startTime) }} ~ {{ formatTime(endTime) }} + 持续时长:{{ formatDuration(startTime, endTime) }} + + + + + + + + + + + + + 该通道录像完整,无缺失时间段 + + + + + + + + + + + + + + + + + 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 048c8e9..c2b95b7 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 @@ -1,133 +1,119 @@ - + 录像诊断 reloadAllRecordCheck()"> - - 点击更新所有通道录像诊断 - + 更新所有通道录像诊断 确认更新所有通道录像诊断吗? @@ -193,119 +225,81 @@ const onClickExportRecordCheck = () => { - getRecordCheckByParentId()"> - - - - - - - - - - - - - + + + + getRecordCheckByParentId()"> + + + + + + + + + 刷新数据 + + + + + + + + + + + + + + 导出录像诊断 + + + - - - - - + + + + + + + + + + + + {{ channelName }} + {{ '\u3000' }} + {{ recordDuration.startTime }} - {{ recordDuration.endTime }} + + reloadRecordCheckByGbId({ gbCode })"> + + 刷新 + - {{ recordDiagStatistics.totalChannels }} + 是否确认刷新? - - - - - - {{ recordDiagStatistics.channelsWithLoss }} - - - - - - - - - - - - - - - - {{ channel.channelName }} - {{ channel.lostRecordList.length > 0 ? `${channel.lostRecordList.length}次缺失` : '正常' }} - - - - - - - - - {{ formatTime(channel.recordDuration.startTime) }} ~ {{ formatTime(channel.recordDuration.endTime) }} - - - - - - - - 录像缺失时间段: - - - - - - - - - - 缺失时段:{{ formatTime(startTime) }} ~ {{ formatTime(endTime) }} - 持续时长:{{ formatDuration(startTime, endTime) }} - - - - - - - - - - - - - 该通道录像完整,无缺失时间段 - - - - - - - - - - - - - + + + + + + + + + + 开始时间:{{ dayjs(startTime).format('YYYY-MM-DD HH:mm:ss') }} + 结束时间:{{ dayjs(endTime).format('YYYY-MM-DD HH:mm:ss') }} + + + + + + + + + (page = p)" /> + +