|
@@ -97,40 +97,43 @@ const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getStatistics
|
|
prop: 'markingGroupNumber',
|
|
prop: 'markingGroupNumber',
|
|
width: 52,
|
|
width: 52,
|
|
fixed: 'left',
|
|
fixed: 'left',
|
|
- formatter(row) {
|
|
|
|
|
|
+ formatter(row: any) {
|
|
return row.markingGroupNumber === 0 ? '全部' : `第${row.markingGroupNumber}组`
|
|
return row.markingGroupNumber === 0 ? '全部' : `第${row.markingGroupNumber}组`
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{ label: '评卷员', prop: 'markerName', minWidth: 84, slotName: 'marker' },
|
|
{ label: '评卷员', prop: 'markerName', minWidth: 84, slotName: 'marker' },
|
|
- { align: 'center', label: '评卷份数', prop: 'markingPaperCount', width: 72 },
|
|
|
|
- { align: 'center', label: '当日可阅', prop: 'markDayCount', width: 72 },
|
|
|
|
- { align: 'center', label: '剩余可阅', prop: 'todoMarkDayCount', width: 72 },
|
|
|
|
- { align: 'center', label: '客观题0分量', prop: 'objectiveZero', width: 100 },
|
|
|
|
- { align: 'center', label: '客观平均分', prop: 'objectiveAvg', width: 90 },
|
|
|
|
- { align: 'center', label: '客观标准差', prop: 'objectiveStd', width: 80 },
|
|
|
|
- { align: 'center', label: '重评/待确认', prop: 'reMarkUnConfirmCount', width: 100 },
|
|
|
|
- { align: 'center', label: '抽查量', prop: 'checkCount', width: 70 },
|
|
|
|
- { align: 'center', label: '抽查改正量', prop: 'checkCorrectCount', width: 90 },
|
|
|
|
- { align: 'center', label: '相关系数', prop: 'xyRelate', width: 70 },
|
|
|
|
- { align: 'center', label: '平均分', prop: 'avg', width: 60 },
|
|
|
|
- { align: 'center', label: '标准差', prop: 'std', width: 60 },
|
|
|
|
- { align: 'center', label: '近5分钟最高分', prop: 'scoreTop', width: 100 },
|
|
|
|
- { align: 'center', label: '近5分钟最低分', prop: 'scoreLow', width: 100 },
|
|
|
|
- { align: 'center', label: '近5分钟客主比', prop: 'objSubRate', width: 100 },
|
|
|
|
- { align: 'center', label: '平均客主比', prop: 'objSubAvgRate', width: 90 },
|
|
|
|
|
|
+ { align: 'center', label: '评卷份数', prop: 'markingPaperCount', width: 92 },
|
|
|
|
+ { align: 'center', label: '当日可阅', prop: 'markDayCount', width: 92 },
|
|
|
|
+ { align: 'center', label: '剩余可阅', prop: 'todoMarkDayCount', width: 92 },
|
|
|
|
+ { align: 'center', label: '客观题0分量', prop: 'objectiveZero', width: 120 },
|
|
|
|
+ { align: 'center', label: '客观平均分', prop: 'objectiveAvg', width: 110 },
|
|
|
|
+ { align: 'center', label: '客观标准差', prop: 'objectiveStd', width: 104 },
|
|
|
|
+ { align: 'center', label: '重评/待确认', prop: 'reMarkUnConfirmCount', width: 120 },
|
|
|
|
+ { align: 'center', label: '抽查量', prop: 'checkCount', width: 90 },
|
|
|
|
+ { align: 'center', label: '抽查改正量', prop: 'checkCorrectCount', width: 110 },
|
|
|
|
+ { align: 'center', label: '相关系数', prop: 'xyRelate', width: 90 },
|
|
|
|
+ { align: 'center', label: '平均分', prop: 'avg', width: 80 },
|
|
|
|
+ { align: 'center', label: '标准差', prop: 'std', width: 80 },
|
|
|
|
+ { align: 'center', label: '近5分钟最高分', prop: 'scoreTop', width: 124 },
|
|
|
|
+ { align: 'center', label: '近5分钟最低分', prop: 'scoreLow', width: 124 },
|
|
|
|
+ { align: 'center', label: '近5分钟客主比', prop: 'objSubRate', width: 124 },
|
|
|
|
+ { align: 'center', label: '平均客主比', prop: 'objSubAvgRate', width: 110 },
|
|
{
|
|
{
|
|
align: 'center',
|
|
align: 'center',
|
|
label: '在线',
|
|
label: '在线',
|
|
prop: 'online',
|
|
prop: 'online',
|
|
- width: 52,
|
|
|
|
- formatter(row) {
|
|
|
|
|
|
+ width: 72,
|
|
|
|
+ formatter(row: any) {
|
|
return row.online ? '在线' : '离线'
|
|
return row.online ? '在线' : '离线'
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- { align: 'center', label: '状态', prop: 'markingStatus', width: 80 },
|
|
|
|
- { align: 'center', label: '速度', prop: 'markingRate', width: 46 },
|
|
|
|
- { align: 'center', label: '综合系数', prop: 'integration', width: 70 },
|
|
|
|
-]
|
|
|
|
|
|
+ { align: 'center', label: '状态', prop: 'markingStatus', width: 100 },
|
|
|
|
+ { align: 'center', label: '速度', prop: 'markingRate', width: 66 },
|
|
|
|
+ { align: 'center', label: '综合系数', prop: 'integration', width: 90 },
|
|
|
|
+].map((col: any) => {
|
|
|
|
+ if (!['小组', '评卷员'].includes(col.label)) col.sortable = true
|
|
|
|
+ return col
|
|
|
|
+})
|
|
const visable = ref(false)
|
|
const visable = ref(false)
|
|
const rowContextmenu = (row: any, column: any, event: any) => {
|
|
const rowContextmenu = (row: any, column: any, event: any) => {
|
|
console.log(row, column, event)
|
|
console.log(row, column, event)
|