From 7d1201d3e0471af4ea7071f1050bf9b3ae44391d Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Fri, 21 Nov 2025 15:27:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BE=85=E8=B7=9F=E8=BF=9B?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/customer/CustomerManagement.vue | 40 ++++++++++++++++------ 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/components/customer/CustomerManagement.vue b/components/customer/CustomerManagement.vue index 7d0ba8b..525e3be 100644 --- a/components/customer/CustomerManagement.vue +++ b/components/customer/CustomerManagement.vue @@ -3,8 +3,17 @@ 搜索 - - 私有 + + + 私有 + + + 待跟进 + @@ -43,11 +52,6 @@ :class="{ 'active': isFilterSelected('invalid') }" @click="toggleFilter('invalid')" >失效 - 今日跟进 @@ -278,9 +282,9 @@ const buildQueryParams = () => { if (hasTodayFollowFilter) { const today = getTodayDate(); - params.nextFollowDateStart = today; + // params.nextFollowDateStart = today; params.nextFollowDateEnd = today; - console.log('筛选今日跟进,日期:', today); + console.log('筛选待跟进,日期:', today); } if (statusFilters.length > 0) { @@ -301,7 +305,7 @@ const buildQueryParams = () => { if (!hasTodayFollowFilter && statusFilters.length === 0) { console.log('无筛选状态,返回默认参数'); } else if (hasTodayFollowFilter && statusFilters.length === 0) { - console.log('仅筛选今日跟进,清理状态筛选参数'); + console.log('仅筛选待跟进,清理状态筛选参数'); params.statusList = undefined; } @@ -559,6 +563,22 @@ defineExpose({ font-weight: 500; } +.today-follow-btn { + padding: 6px 12px; + font-size: 14px; + color: #606266; + background-color: #f5f7fa; + border-radius: 16px; + border: 1px solid transparent; + transition: all 0.3s ease; + + &.active { + background-color: #ecf5ff; + color: #409eff; + border-color: #409eff; + } +} + .filter-icon { font-size: 12px; color: #909399;