From 199615f20b2afbe762165c259ee267d76c381b78 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Sat, 16 Aug 2025 11:58:22 +0800
Subject: [PATCH] feat:更新搜索清空

---
 src/views/job/components/SearchBox.vue        |    4 +++-
 src/views/tickets/ticket.vue                  |    3 ++-
 src/views/job/components/TaskTop/TaskTime.vue |    2 ++
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/job/components/SearchBox.vue b/src/views/job/components/SearchBox.vue
index f374b37..b8b1fbe 100644
--- a/src/views/job/components/SearchBox.vue
+++ b/src/views/job/components/SearchBox.vue
@@ -351,7 +351,9 @@
   searchForm.area_code = userAreaCode.value;
   checked.value = 'month';
   signDevice_sn.value = ''
-	algorithmRef.value?.clear()
+  // 清除算法
+  dictKey.value = '';
+	// algorithmRef.value?.clear()
   handleNodeClick({ id: userAreaCode.value });
   handleSearch();
 };
diff --git a/src/views/job/components/TaskTop/TaskTime.vue b/src/views/job/components/TaskTop/TaskTime.vue
index 9cf0611..b90fc81 100644
--- a/src/views/job/components/TaskTop/TaskTime.vue
+++ b/src/views/job/components/TaskTop/TaskTime.vue
@@ -31,6 +31,8 @@
 		formatter: '{b}: {c} 件',
 	},
 	legend: {
+		itemWidth: 8,
+		itemHeight: 12,
 		top: '2%',
 		textStyle: {
 			color: '#6B90B5',
diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index 86165c6..a606639 100644
--- a/src/views/tickets/ticket.vue
+++ b/src/views/tickets/ticket.vue
@@ -2014,6 +2014,7 @@
     },
 
     handleReset() {
+      this.dictKey = '';
       this.filters = {
         keyword: '',
         department: '',
@@ -3101,7 +3102,7 @@
   gap: 8px; // 使用 gap 统一设置间距
 
   .filter-item {
-    width: 160px; // 减小宽度
+    width: 280px; // 减小宽度
   }
 
   .date-picker {

--
Gitblit v1.9.3