src/views/dataCenter/components/searchData.vue
@@ -144,6 +144,7 @@ const timeRange = [startTime.format('YYYY-MM-DD HH:mm:ss'), endTime.format('YYYY-MM-DD HH:mm:ss')]; const dateRange = ref(timeRange); const timeFormat = 'YYYY-MM-DD HH:mm:ss'; const props = defineProps(['jobName']) const searchForm = reactive({ jobName: '', //任务名称 name: '', //文件名称 @@ -209,6 +210,10 @@ }, { deep: true } ); watch(() => props.jobName, (newVal) => { searchForm.jobName = newVal; handleSearch() }); const changePhotoType =(val)=>{ if(val === undefined){ searchForm.photoType = ''