diff --git a/components/customer/CustomerManagement.vue b/components/customer/CustomerManagement.vue index 1edfb1b..43cfdd4 100644 --- a/components/customer/CustomerManagement.vue +++ b/components/customer/CustomerManagement.vue @@ -269,7 +269,8 @@ const buildQueryParams = () => { ...DEFAULT_SORT, joinUserId: filterSelf.value && currentUserId.value ? currentUserId.value : null, nextFollowDateStart: null, - nextFollowDateEnd: null + nextFollowDateEnd: null, + statusList: undefined }; const hasTodayFollowFilter = selectedFilters.value.includes(TODAY_FOLLOW_FILTER); @@ -299,6 +300,9 @@ const buildQueryParams = () => { if (!hasTodayFollowFilter && statusFilters.length === 0) { console.log('无筛选状态,返回默认参数'); + } else if (hasTodayFollowFilter && statusFilters.length === 0) { + console.log('仅筛选今日跟进,清理状态筛选参数'); + params.statusList = undefined; } return params; @@ -444,7 +448,8 @@ watch(selectedFilters, () => { pageNum: 1, pageSize: PAGE_SIZE, nextFollowDateStart: null, - nextFollowDateEnd: null + nextFollowDateEnd: null, + statusList: undefined }; refresh(); } else {