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;