Explorar o código

feat: 问题卷类型名称

chenhao %!s(int64=2) %!d(string=hai) anos
pai
achega
63ce9a89e0
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      src/api/api-types/marking.d.ts
  2. 1 1
      src/modules/marking/problem/index.vue

+ 1 - 0
src/api/api-types/marking.d.ts

@@ -156,6 +156,7 @@ export namespace Marking {
     objectiveScore: number
     problemSolveType: string
     problemType: string
+    problemTypeName: string
     secretNumber: string
     solveTime: string
     taskId: number

+ 1 - 1
src/modules/marking/problem/index.vue

@@ -205,7 +205,7 @@ const formItems = computed<EpFormItem[]>(() => [
 const columns: EpTableColumn[] = [
   { label: '密号', prop: 'secretNumber', width: 45 },
   { label: '提交人', prop: 'markerName', width: 60 },
-  { label: '问题类型', prop: 'problemType', width: 45 },
+  { label: '问题类型', prop: 'problemTypeName', width: 45 },
   { label: '客观分', prop: 'objectiveScore', width: 45 },
   { label: '主观分', prop: 'markerScore', width: 45 },
   { label: '客主比', prop: 'markerRatio', width: 45 },