Browse Source

feat: 问题卷类型名称

chenhao 2 years ago
parent
commit
63ce9a89e0
2 changed files with 2 additions and 1 deletions
  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
     objectiveScore: number
     problemSolveType: string
     problemSolveType: string
     problemType: string
     problemType: string
+    problemTypeName: string
     secretNumber: string
     secretNumber: string
     solveTime: string
     solveTime: string
     taskId: number
     taskId: number

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

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