From 39f6fca28e3f78abe48f08e474ec011abb990b36 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期三, 09 九月 2026 10:39:21 +0800
Subject: [PATCH] update

---
 frontend/src/views/GuideAutoDisableView.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/frontend/src/views/GuideAutoDisableView.vue b/frontend/src/views/GuideAutoDisableView.vue
index 0fb6109..189a854 100644
--- a/frontend/src/views/GuideAutoDisableView.vue
+++ b/frontend/src/views/GuideAutoDisableView.vue
@@ -94,6 +94,11 @@
   }
 }
 
+const resetCandidateSearch = () => {
+  candidateKeyword.value = ''
+  loadCandidates()
+}
+
 const openAddDialog = () => {
   dialogVisible.value = true
   candidateKeyword.value = ''
@@ -123,7 +128,7 @@
         <small>可输入大于0的正整数</small>
       </div>
       <div class="condition-row">
-        <strong>且<br>条件2</strong><span>平均评分小于或等于</span>
+        <strong class="condition-label-with-operator"><span>且</span>条件2</strong><span>平均评分小于或等于</span>
         <el-input v-model="settings.ratingThreshold" placeholder="请输入" />
         <small>可输入数字1-5</small>
       </div>
@@ -182,6 +187,7 @@
       <div class="candidate-search">
         <el-input v-model="candidateKeyword" clearable placeholder="请输入导游手机号/姓名/编号" @keyup.enter="loadCandidates" />
         <el-button type="primary" :icon="Search" @click="loadCandidates">查询</el-button>
+        <el-button :icon="Refresh" @click="resetCandidateSearch">重置</el-button>
       </div>
       <el-table v-loading="candidateLoading" :data="candidates" border max-height="420">
         <el-table-column prop="id" label="编号" width="90" />
@@ -206,6 +212,8 @@
 .rule-description { margin: -8px 0 18px; color: #64748b; font-size: 13px; }
 .condition-row { display: grid; grid-template-columns: 56px 150px 165px 1fr; align-items: center; gap: 12px; margin: 10px 0; }
 .condition-row strong { font-size: 13px; line-height: 1.8; }
+.condition-label-with-operator { position: relative; }
+.condition-label-with-operator > span { position: absolute; bottom: 100%; left: 0; }
 .condition-row span { color: #334155; font-size: 13px; }
 .condition-row small { color: #7c8796; }
 .save-button { margin: 18px 0 0 12px; width: 74px; }

--
Gitblit v1.7.1