录像下载支持跨天选择

This commit is contained in:
lin
2025-12-15 15:39:41 +08:00
parent 20939fcce8
commit c1ccd74ab5
2 changed files with 16 additions and 2 deletions

View File

@@ -360,7 +360,15 @@ export default {
setTimeout(() => {
this.initData()
}, 1000)
}).finally(() => {
})
.catch((error) => {
console.log(error)
this.$message.error({
showClose: true,
message: error
})
})
.finally(() => {
itemData.playLoading = false
})
},

View File

@@ -12,8 +12,9 @@
@close="close()"
>
<div style="width:fit-content; margin: 0 auto">
<el-time-picker
<el-date-picker
v-model="timeRange"
type="datetimerange"
is-range
range-separator=""
start-placeholder="开始时间"
@@ -31,8 +32,13 @@
<script>
import elDragDialog from '@/directive/el-drag-dialog'
export default {
name: 'ChooseDateTimeRange',
directives: {
elDragDialog
},
props: {},
data() {
return {