From 0a5af224384ead6609263c49a1f10c9995fb695c Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 11 Aug 2025 17:20:56 +0800
Subject: [PATCH] feat:文件夹预览
---
src/views/dataCenter/components/searchData.vue | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/views/dataCenter/components/searchData.vue b/src/views/dataCenter/components/searchData.vue
index e3711b5..3bf6f2c 100644
--- a/src/views/dataCenter/components/searchData.vue
+++ b/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 = ''
--
Gitblit v1.9.3