优化:完善分类规则与Excel配置维护并加速查询翻页

This commit is contained in:
2026-10-31 17:50:14 +08:00
parent 9dbe85c65c
commit aa7c320dc6
56 changed files with 1709 additions and 440 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const QueryPage = lazy(() => import('./QueryPage'));
const StageProductPage = lazy(() => import('./StageProductPage'));
const ManagementPages = lazy(() => import('./ManagementPages'));
const QUERY_PAGES: PageKey[] = ['overall', 'department', 'group', 'product', 'blackProduct', 'brightProduct'];
const retained = (page: PageKey) => QUERY_PAGES.includes(page) || page === 'analysis';
const retained = (_page: PageKey) => true;
type ResultRef = { kind: 'TOP'; resultId: string; releaseId: string };
type Entry = { initialSearch: string; search: string; key: number; scroll: number };
export type WorkspaceNavigation = { navigate: (page: PageKey, query?: QueryParams, resultRef?: ResultRef) => void; syncLocation: () => void };