From b029be200c13dc8d78537f2e6a582e78ff9c359c Mon Sep 17 00:00:00 2001 From: Cheng Zhou Date: Tue, 16 Dec 2025 22:48:05 +0800 Subject: [PATCH] =?UTF-8?q?Step=20F7=EF=BC=9A=E6=95=B0=E6=8D=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/verifications.ts | 10 +++ frontend/src/views/Verification.vue | 131 ++++++++++++++++++++++++++++ 2 files changed, 141 insertions(+) create mode 100644 frontend/src/api/verifications.ts create mode 100644 frontend/src/views/Verification.vue diff --git a/frontend/src/api/verifications.ts b/frontend/src/api/verifications.ts new file mode 100644 index 00000000..65b7c396 --- /dev/null +++ b/frontend/src/api/verifications.ts @@ -0,0 +1,10 @@ +import { apiGet, apiPost } from "./axios"; + +export const fetchVerifications = (studyId: string, params?: Record) => + apiGet(`/api/v1/studies/${studyId}/verifications/`, { params }); + +export const upsertVerification = (studyId: string, payload: Record) => + apiPost(`/api/v1/studies/${studyId}/verifications/`, payload); + +export const fetchVerification = (studyId: string, subjectId: string, level: string) => + apiGet(`/api/v1/studies/${studyId}/verifications/subjects/${subjectId}/${level}`); diff --git a/frontend/src/views/Verification.vue b/frontend/src/views/Verification.vue new file mode 100644 index 00000000..d97e9163 --- /dev/null +++ b/frontend/src/views/Verification.vue @@ -0,0 +1,131 @@ + + + + +