From 796cb94bb1caba61b2d7703afce35b8f83484e0e Mon Sep 17 00:00:00 2001 From: zhoulexin Date: Tue, 9 Jun 2026 15:21:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=AE=A1=E7=90=86=E7=AB=AF=E6=8A=A5?= =?UTF-8?q?=E5=90=8D=E6=9C=9F=E6=AC=A1=E7=AD=9B=E9=80=89=E3=80=81=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/registration.js | 7 +++ src/views/admin/DashboardPage.vue | 99 ++++++++++++++++++++++++++++--- 2 files changed, 97 insertions(+), 9 deletions(-) diff --git a/src/api/registration.js b/src/api/registration.js index 99197aa..135e961 100644 --- a/src/api/registration.js +++ b/src/api/registration.js @@ -45,3 +45,10 @@ export function sendSmsCode(phone) { data: { phone } }) } + +export function getAllRegistrations() { + return request({ + url: '/api/registration/all', + method: 'get' + }) +} diff --git a/src/views/admin/DashboardPage.vue b/src/views/admin/DashboardPage.vue index bde57d2..157ab72 100644 --- a/src/views/admin/DashboardPage.vue +++ b/src/views/admin/DashboardPage.vue @@ -75,6 +75,10 @@ + + + + 搜索 刷新 @@ -83,19 +87,30 @@

报名信息列表

- - 导出数据 - +
+ + 已选择 {{ multipleSelection.length }} 项 + + + 导出数据{{ multipleSelection.length > 0 ? `(${multipleSelection.length}条)` : '' }} + + + 全部导出 + +
+