|
@@ -155,7 +155,7 @@ const currentHistoryData = computed(() => {
|
|
|
return scoreHistoryList.value
|
|
|
})
|
|
|
|
|
|
-const currentHistoryColumns = computed(() => [
|
|
|
+const currentHistoryColumns = computed<any>(() => [
|
|
|
{ label: '评卷员', prop: 'markerName', fixed: 'left' },
|
|
|
{
|
|
|
label: `分数`,
|
|
@@ -165,7 +165,14 @@ const currentHistoryColumns = computed(() => [
|
|
|
return `${row.markScore === null ? '' : row.markScore}`
|
|
|
},
|
|
|
},
|
|
|
- { label: '类型', prop: 'historyType' },
|
|
|
+ {
|
|
|
+ label: '类型',
|
|
|
+ prop: 'historyType',
|
|
|
+ width: 104,
|
|
|
+ formatter(row: any) {
|
|
|
+ return `${row.historyType}${row.markScore === null ? '-问题卷' : ''}`
|
|
|
+ },
|
|
|
+ },
|
|
|
{ label: '路径', prop: 'source' },
|
|
|
{ label: '评卷时间', prop: 'markTime', width: 130 },
|
|
|
])
|
|
@@ -344,8 +351,10 @@ const {
|
|
|
nextRow,
|
|
|
} = useTableCheck(subjectiveCheckList)
|
|
|
watch(currentSubjectiveCheck, () => {
|
|
|
- getMarkScoreHistoryListWithTask({ taskId: currentSubjectiveCheck.value.taskId })
|
|
|
+ // getMarkScoreHistoryListWithTask({ taskId: currentSubjectiveCheck.value.taskId })
|
|
|
if (currentSubjectiveCheck.value) {
|
|
|
+ getMarkScoreHistoryListWithTask({ taskId: currentSubjectiveCheck.value.taskId })
|
|
|
+
|
|
|
useFetch('viewActiveCheck').fetch({ taskId: currentSubjectiveCheck.value.taskId })
|
|
|
}
|
|
|
})
|