feat 优化播放视频中videoname
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
<el-dialog v-model="dialog.visible" :title="dialog.title" width="500px" class="monitor-dialog" fullscreen destroy-on-close>
|
||||
<template #header>
|
||||
<div class="flex w-full items-center justify-between gap-2 min-w-0 pr-8">
|
||||
<span class="truncate">实时监控-北门出入门监控</span>
|
||||
<span class="truncate">播放-{{ videoName }}</span>
|
||||
</div>
|
||||
</template>
|
||||
<div class="monitor-video-wrap">
|
||||
@@ -109,6 +109,7 @@ const multiple = ref(true);
|
||||
const total = ref(0);
|
||||
const monitorVideoUrl = ref();
|
||||
const downloadUrl = ref();
|
||||
const videoName = ref<string>('录像文件');
|
||||
|
||||
const queryFormRef = ref<ElFormInstance>();
|
||||
const demoFormRef = ref<ElFormInstance>();
|
||||
@@ -218,6 +219,7 @@ const handlePlay = async (row?: any) => {
|
||||
return;
|
||||
}
|
||||
monitorVideoUrl.value = row.videoUrl;
|
||||
videoName.value = row.videoName;
|
||||
dialog.visible = true;
|
||||
};
|
||||
const handleDown = async (row?: any) => {
|
||||
|
||||
Reference in New Issue
Block a user