fix(projects): 微调布局显示

This commit is contained in:
2026-06-29 09:53:24 +08:00
parent 499f2115b2
commit 4f357a35a9
5 changed files with 33 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ function canEditRow(row: Api.Feedback.FeedbackItem) {
}
function getInitSearchParams(): Api.Feedback.FeedbackSearchParams {
return { pageNo: 1, pageSize: 20, type: undefined, status: undefined, title: undefined };
return { pageNo: 1, pageSize: 20, type: undefined, status: undefined, title: undefined, creator: undefined };
}
function transformPageResult(
@@ -220,9 +220,10 @@ function handleSearch() {
getDataByPage(1);
}
// 搜索区「重置」清搜索区自有字段(标题);左侧分面选中的 type/status 由分面单独控制,不在此连带清除
// 搜索区「重置」清搜索区自有字段(标题、提交人);左侧分面选中的 type/status 由分面单独控制,不在此连带清除
function resetSearchParams() {
searchParams.title = undefined;
searchParams.creator = undefined;
searchParams.pageNo = 1;
getDataByPage(1);
}