From d9003851bd8d316542198ff7fd42df242ff8c218 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Mon, 12 Oct 2026 17:11:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(admin):=20=E5=88=86=E7=AB=99=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81=E6=B1=A0=E6=94=AF=E6=8C=81=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E5=B9=B6=E8=AE=B0=E4=BD=8F=E4=B8=8A=E6=AC=A1?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=9A=84=E5=88=86=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 工具栏对齐主站二维码池:关键词搜索、绑定群、过期状态、上传时间范围 - fetchSiteQrCodes 补充传递 bound/expire_status/created_start/created_end - 按管理员维度记忆上次查看的分站,站点失效时回退到首个站点 --- .../src/features/admin/api/adminQrCodes.ts | 4 + .../views/AdminDistributionQrCodePoolView.vue | 158 ++++++++++++++++-- 2 files changed, 151 insertions(+), 11 deletions(-) diff --git a/frontend/src/features/admin/api/adminQrCodes.ts b/frontend/src/features/admin/api/adminQrCodes.ts index de7f4dc..c4c1c7c 100644 --- a/frontend/src/features/admin/api/adminQrCodes.ts +++ b/frontend/src/features/admin/api/adminQrCodes.ts @@ -182,6 +182,10 @@ export async function fetchSiteQrCodes(siteId: number, query: QrCodeListQuery = params: { status: query.status || undefined, keyword: query.keyword?.trim() || undefined, + bound: query.bound || undefined, + expire_status: query.expire_status || undefined, + created_start: query.created_start || undefined, + created_end: query.created_end || undefined, page: query.page || 1, limit: query.limit || 20, }, diff --git a/frontend/src/features/admin/views/AdminDistributionQrCodePoolView.vue b/frontend/src/features/admin/views/AdminDistributionQrCodePoolView.vue index 82a7b0a..ca74406 100644 --- a/frontend/src/features/admin/views/AdminDistributionQrCodePoolView.vue +++ b/frontend/src/features/admin/views/AdminDistributionQrCodePoolView.vue @@ -1,7 +1,7 @@