From 9aa5fbcea01f45b372bee158a09632defdfe12e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=A0?= <2091066548@qq.com> Date: Tue, 23 Sep 2025 10:41:09 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Abug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/types.ts | 15 +- src/views/CourseExchanged.vue | 147 ++++++++++++++++-- .../ExamPages/QuestionBankManagement.vue | 44 +++++- 3 files changed, 182 insertions(+), 24 deletions(-) diff --git a/src/api/types.ts b/src/api/types.ts index be28d1a..5ac4b60 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -720,13 +720,14 @@ export interface Repo { id: string title: string remark: string - questionCount?: number - createBy: string - createTime: string - updateBy: string - updateTime: string - courseId?: string // 所属课程ID - courseName?: string // 所属课程名称 + question_count?: number // 匹配API返回的字段名 + create_by: string // 匹配API返回的字段名 + create_time: string // 匹配API返回的字段名 + update_by: string // 匹配API返回的字段名 + update_time: string // 匹配API返回的字段名 + createByName?: string // 创建人姓名 + courseId?: string // 所属课程ID + courseName?: string // 所属课程名称 } export interface Question { diff --git a/src/views/CourseExchanged.vue b/src/views/CourseExchanged.vue index 6b1b726..ae02f8a 100644 --- a/src/views/CourseExchanged.vue +++ b/src/views/CourseExchanged.vue @@ -152,9 +152,12 @@ - -