| | |
| | | } |
| | | } |
| | | |
| | | const resetCandidateSearch = () => { |
| | | candidateKeyword.value = '' |
| | | loadCandidates() |
| | | } |
| | | |
| | | const openAddDialog = () => { |
| | | dialogVisible.value = true |
| | | candidateKeyword.value = '' |
| | |
| | | <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> |
| | |
| | | <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" /> |
| | |
| | | .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; } |