From ab6d3799cae09ae4dcecc4b4df357a1d2f398687 Mon Sep 17 00:00:00 2001 From: Zisu Zhang Date: Wed, 24 Jan 2024 08:31:36 +0800 Subject: [PATCH] feat: advanced solution filters (#41) * feat(server): support advanced solution filter * feat: supported advanced solution filter --- .yarn/versions/901ad692.yml | 3 + .../src/components/solution/SolutionList.vue | 25 +++- .../src/components/utils/DateTimeInput.vue | 16 +-- .../contest/[contestId]/admin/index.vue | 123 +++++++++++++----- apps/server/src/routes/common/index.ts | 10 ++ apps/server/src/routes/contest/admin.ts | 12 +- .../src/routes/contest/solution/index.ts | 19 ++- apps/server/src/routes/problem/solution.ts | 14 +- 8 files changed, 165 insertions(+), 57 deletions(-) create mode 100644 .yarn/versions/901ad692.yml diff --git a/.yarn/versions/901ad692.yml b/.yarn/versions/901ad692.yml new file mode 100644 index 0000000..85ee0e5 --- /dev/null +++ b/.yarn/versions/901ad692.yml @@ -0,0 +1,3 @@ +releases: + "@aoi-js/frontend": patch + "@aoi-js/server": patch diff --git a/apps/frontend/src/components/solution/SolutionList.vue b/apps/frontend/src/components/solution/SolutionList.vue index cd4e956..caf7a01 100644 --- a/apps/frontend/src/components/solution/SolutionList.vue +++ b/apps/frontend/src/components/solution/SolutionList.vue @@ -17,7 +17,7 @@ @update:options="({ page, itemsPerPage }) => submissions.execute(0, page, itemsPerPage)" >