From cffd1da3e8aa72ebfd8ebfe4b4a765a245c3ee84 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 13 Aug 2025 17:34:20 +0800
Subject: [PATCH] feat:修改地图颜色

---
 src/views/dataCenter/components/searchData.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/views/dataCenter/components/searchData.vue b/src/views/dataCenter/components/searchData.vue
index 97749fc..fc5052f 100644
--- a/src/views/dataCenter/components/searchData.vue
+++ b/src/views/dataCenter/components/searchData.vue
@@ -111,8 +111,7 @@
 <!--          <el-button type="primary" icon="el-icon-download" @click="allDownloadFun"-->
 <!--            >全部下载</el-button-->
 <!--          >-->
-        <el-button type="primary"  @click="handleswitchFolders" >切换文件夹</el-button>
-
+        <el-button type="primary" plain  @click="handleswitchFolders" ><el-icon><FolderOpened /></el-icon></el-button>
           <div class="downloadBtn" @click="htsjzx === 100 && downloadFun()">
             <el-progress v-if="htsjzx !== 100" :percentage="htsjzx" :show-text="false" striped striped-flow :duration="1" />
             <div class="downloadBtnText">
@@ -141,14 +140,13 @@
 const userAreaCode = computed(() => store.getters.userInfo.detail.areaCode);
 const selectedAreaCode = computed(() => store.state.user.selectedAreaCode);
 const htsjzx = computed(() => store.state.common.downloadProgress?.htsjzx || 100)
-
 const emit = defineEmits(['search', 'downFun', 'allDownFun','handleswitchFolders']);
 const startTime = dayjs().subtract(6, 'day').startOf('day');
 const endTime = dayjs().endOf('day');
 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: '', //文件名称
@@ -158,6 +156,7 @@
   deviceSn: '', // 所属机巢
   resultType: '', //文件格式
   photoType: '', //文件类别
+  wayLineJobId:''
 });
 const disabled = ref(false);
 const treeProps = {
@@ -214,8 +213,8 @@
   },
   { deep: true }
 );
-watch(() => props.jobName, (newVal) => {
-  searchForm.jobName = newVal;
+watch(() => props.searchjobId, (newVal) => {
+  searchForm.wayLineJobId = newVal;
   handleSearch()
 });
 const foldersDisabled  = ref(false)

--
Gitblit v1.9.3