修复客户列表查询问题(单选今日跟进的异常)

This commit is contained in:
WindowBird 2025-11-20 17:58:22 +08:00
parent 48f58b5c1a
commit 014b3c8346

View File

@ -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 {