Browse Source

feat: 给分记录展示类型

chenhao 2 years ago
parent
commit
ec34bd61ac
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/api/api-types/marking.d.ts
  2. 1 1
      src/components/shared/MarkHistoryList.vue

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

@@ -175,6 +175,7 @@ export namespace Marking {
     markScore: number
     markerName: string
     scoreLevel: 'LEVEL_1' | 'LEVEL_2' | 'LEVEL_3' | 'LEVEL_4' | 'LEVEL_5'
+    historyType: string
     markTime: string
     secretNumber: string
     status: string

+ 1 - 1
src/components/shared/MarkHistoryList.vue

@@ -79,7 +79,7 @@ const columns = computed<EpTableColumn<ExtractArrayValue<ExtractApiResponse<'get
         return `${row.markScore}${props.showLevel ? `(${row.scoreLevel})` : ''}`
       },
     },
-    { label: '类型' },
+    { label: '类型', prop: 'historyType' },
     { label: '评卷时间', prop: 'markTime' },
   ]
 )