Răsfoiți Sursa

feat: 给分记录展示类型

chenhao 2 ani în urmă
părinte
comite
ec34bd61ac
2 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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
     markScore: number
     markerName: string
     markerName: string
     scoreLevel: 'LEVEL_1' | 'LEVEL_2' | 'LEVEL_3' | 'LEVEL_4' | 'LEVEL_5'
     scoreLevel: 'LEVEL_1' | 'LEVEL_2' | 'LEVEL_3' | 'LEVEL_4' | 'LEVEL_5'
+    historyType: string
     markTime: string
     markTime: string
     secretNumber: string
     secretNumber: string
     status: 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})` : ''}`
         return `${row.markScore}${props.showLevel ? `(${row.scoreLevel})` : ''}`
       },
       },
     },
     },
-    { label: '类型' },
+    { label: '类型', prop: 'historyType' },
     { label: '评卷时间', prop: 'markTime' },
     { label: '评卷时间', prop: 'markTime' },
   ]
   ]
 )
 )