From 20c197e5f67ee0ddd542065f53728033460aac21 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 10 Dec 2025 09:39:34 +0800
Subject: [PATCH] feat:更新历史任务详情功能

---
 src/views/job/components/JobRelatedEvents.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/views/job/components/JobRelatedEvents.vue b/src/views/job/components/JobRelatedEvents.vue
index ec190a4..8dc20b1 100644
--- a/src/views/job/components/JobRelatedEvents.vue
+++ b/src/views/job/components/JobRelatedEvents.vue
@@ -13,7 +13,7 @@
 		<div class="searchBox">
 			<div class="item">
 				<div class="itemchild">模糊查询:</div>
-				<el-input v-model="params.event_name" placeholder="请输入事件名称" clearable></el-input>
+				<el-input class="ztzf-input selectInput" v-model="params.event_name" placeholder="请输入事件名称" clearable></el-input>
 			</div>
 			<!-- <div class="item">
 				<div class="itemchild">任务执行日期:</div>
@@ -30,7 +30,7 @@
 			</div> -->
 			<div class="item">
 				<div class="itemchild">关联算法:</div>
-				<TaskAlgorithmBusiness :setWidth="186" :showAlgorithm="true" @algorithmChange="algorithmChange" />
+				<TaskAlgorithmBusiness ref="algorithmRef" :setWidth="186" :showAlgorithm="true" @algorithmChange="algorithmChange" />
 			</div>
 		</div>
 		<div class="search-btn">
@@ -126,6 +126,8 @@
 const emit = defineEmits(['refresh'])
 const props = defineProps(['jobTimes', 'batchNo', 'waylineJobId','detailName','isShowExportTheTask'])
 const taskData = ref('')
+const algorithmRef = ref()
+
 const algorithmChange = val => {
 	params.value.ai_types = val
   handleSearch()
@@ -203,8 +205,9 @@
 	params.value.end_date = null
 	params.value.start_date = null
 	taskData.value = ''
+  algorithmRef.value?.handleClear()
 	algorithmChange([])
-	getList()
+	// getList()
 }
 const handleSearch = () => {
 	getList()
@@ -322,6 +325,10 @@
 	display: flex;
 }
 
+  :deep(.selectInput.el-input) {
+    width: 200px !important;
+  }
+
 .search-btn {
 			display: flex;
 			justify-content: space-between;

--
Gitblit v1.9.3