无人机管理后台前端(已迁走)
张含笑
2025-08-12 5445620776cf2ce5f5b9f7c1a7d54b0e2ff1bb9e
src/views/dataCenter/components/searchData.vue
@@ -147,7 +147,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','switchFolders'])
const props = defineProps(['searchjobId','switchFolders'])
const searchForm = reactive({
  jobName: '', //任务名称
  name: '', //文件名称
@@ -157,6 +157,7 @@
  deviceSn: '', // 所属机巢
  resultType: '', //文件格式
  photoType: '', //文件类别
  wayLineJobId:''
});
const disabled = ref(false);
const treeProps = {
@@ -213,8 +214,8 @@
  },
  { deep: true }
);
watch(() => props.jobName, (newVal) => {
  searchForm.jobName = newVal;
watch(() => props.searchjobId, (newVal) => {
  searchForm.wayLineJobId = newVal;
  handleSearch()
});
const foldersDisabled  = ref(false)