소스 검색

feat: cet成绩列表字段更新

chenhao 2 년 전
부모
커밋
73861056ab
2개의 변경된 파일28개의 추가작업 그리고 12개의 파일을 삭제
  1. 9 9
      src/modules/admin-data/export/index.vue
  2. 19 3
      types/api.d.ts

+ 9 - 9
src/modules/admin-data/export/index.vue

@@ -71,15 +71,15 @@ const { pagination, currentPage, loading, data } = useTable('getCetScoreList', r
 const columns: EpTableColumn[] = [
   { label: '准考证号', prop: 'examNumber' },
   { label: '科目代码', prop: 'subjectCode' },
-  { label: '作文分', prop: 'subjectCode' },
-  { label: '主观分', prop: 'subjectCode' },
-  { label: '作文评卷员代码', prop: 'subjectCode' },
-  { label: '作文题评卷标志', prop: 'subjectCode' },
-  { label: '翻译题得分', prop: 'subjectCode' },
-  { label: '翻译题评卷员代码', prop: 'subjectCode', minWidth: 100 },
-  { label: '翻译题评卷标志', prop: 'subjectCode' },
-  { label: '作文雷同标记', prop: 'subjectCode' },
-  { label: '翻译雷同标记', prop: 'subjectCode' },
+  { label: '作文分', prop: 'compositionScore' },
+  { label: '主观分', prop: 'subjectScore' },
+  { label: '作文评卷员代码', prop: 'compositionMarker' },
+  { label: '作文题评卷标志', prop: 'compositionTag' },
+  { label: '翻译题得分', prop: 'translateScore' },
+  { label: '翻译题评卷员代码', prop: 'translateMarker', minWidth: 100 },
+  { label: '翻译题评卷标志', prop: 'translateTag' },
+  { label: '作文雷同标记', prop: 'compositionSame' },
+  { label: '翻译雷同标记', prop: 'translateSame' },
 ]
 
 function onSearch() {

+ 19 - 3
types/api.d.ts

@@ -318,13 +318,29 @@ declare module 'api-type' {
     type ImportRfPaper = BaseDefine<RfPaperImport>
 
     interface ScoreListItem {
+      /** 作文评卷员代码 */
+      compositionMarker: string
+      /** 作文雷同标记 */
+      compositionSame: string
+      /** 作文分 */
+      compositionScore: string
+      /** 作文评卷标志 */
+      compositionTag: string
       /** 准考证号 */
       examNumber: string
-      firstMarker: string
-      firstScore: number
       id: number
-      subject: string
+      /** 科目代码 */
       subjectCode: string
+      /** 主观分 */
+      subjectScore: string
+      /** 翻译评卷员代码 */
+      translateMarker: string
+      /** 翻译雷同标记 */
+      translateSame: string
+      /** 翻译分 */
+      translateScore: string
+      /** 翻译评卷标志 */
+      translateTag: string
     }
 
     type GetCetScoreList = BaseDefine<MultipleQuery<{ subjectCode: string }>, MultipleResult<ScoreListItem>>