From 8534025c45b4736975730678b9ccf23570a75f95 Mon Sep 17 00:00:00 2001
From: liuyu <yu.liu@cqgbkj.com>
Date: 星期二, 22 九月 2026 09:25:48 +0800
Subject: [PATCH] feat(tms): 新增试卷、培训任务、个人任务页面

---
 apps/jnpf-web-apps-main/src/views/x/tms/selfTest/types.ts |   36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)

diff --git a/apps/jnpf-web-apps-main/src/views/x/tms/selfTest/types.ts b/apps/jnpf-web-apps-main/src/views/x/tms/selfTest/types.ts
index 2fce373..0f705e9 100644
--- a/apps/jnpf-web-apps-main/src/views/x/tms/selfTest/types.ts
+++ b/apps/jnpf-web-apps-main/src/views/x/tms/selfTest/types.ts
@@ -22,11 +22,17 @@
   judge: SelfTestTypeSetting;
 }
 
-/** 鎶介缁撴灉锛堣�冭瘯椤碉級 */
+/** 鎶介缁撴灉 / 妫�娴嬭鎯� */
 export interface SelfTestPaper {
   paperId: string;
   bankId: string;
   bankName: string;
+  testStatus?: string;
+  totalCount?: number;
+  correctCount?: number;
+  scoreRate?: number;
+  startTime?: string;
+  submitTime?: string;
   questions: SelfTestQuestionItem[];
 }
 
@@ -37,4 +43,32 @@
   difficulty?: Difficulty;
   stem: string;
   options: { optionLabel: string; optionContent: string; isCorrect: '0' | '1' }[];
+  /** 鍥為【瀛楁 */
+  correctAnswer?: string;
+  userAnswer?: string;
+  isRight?: '0' | '1';
+  sortNo?: number;
+}
+
+export interface SelfTestSubmitPayload {
+  answers: Record<string, string | string[]>;
+}
+
+export interface SelfTestSubmitResult {
+  paperId: string;
+  totalCount: number;
+  correctCount: number;
+  scoreRate: number;
+}
+
+export interface SelfTestRecordItem {
+  id: string;
+  bankId: string;
+  bankName: string;
+  totalCount: number;
+  correctCount?: number;
+  scoreRate?: number;
+  testStatus: string;
+  startTime?: string;
+  submitTime?: string;
 }

--
Gitblit v1.8.0