|
@@ -441,9 +441,30 @@ const columns: any = computed(() => {
|
|
minWidth: 110,
|
|
minWidth: 110,
|
|
},
|
|
},
|
|
{ label: '给分', prop: 'markerScore', minWidth: 70, sortable: true },
|
|
{ label: '给分', prop: 'markerScore', minWidth: 70, sortable: true },
|
|
- { label: '客观分', prop: 'objectiveScore', minWidth: 80, sortable: true },
|
|
|
|
- { label: '客主比', prop: 'markerRatio', minWidth: 80, sortable: true },
|
|
|
|
- { label: '成绩客主比', prop: 'ratio', minWidth: 110, sortable: true },
|
|
|
|
|
|
+ {
|
|
|
|
+ label: '客观分',
|
|
|
|
+ prop: 'objectiveScore',
|
|
|
|
+ minWidth: 80,
|
|
|
|
+ sortable: true,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '客主比',
|
|
|
|
+ prop: 'markerRatio',
|
|
|
|
+ minWidth: 80,
|
|
|
|
+ sortable: true,
|
|
|
|
+ sortMethod: function (a: any, b: any) {
|
|
|
|
+ return Number(a.markerRatio) - Number(b.markerRatio)
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '成绩客主比',
|
|
|
|
+ prop: 'ratio',
|
|
|
|
+ minWidth: 110,
|
|
|
|
+ sortable: true,
|
|
|
|
+ sortMethod: function (a: any, b: any) {
|
|
|
|
+ return Number(a.ratio) - Number(b.ratio)
|
|
|
|
+ },
|
|
|
|
+ },
|
|
{ label: '成绩', prop: 'markScore', minWidth: 70, sortable: true },
|
|
{ label: '成绩', prop: 'markScore', minWidth: 70, sortable: true },
|
|
{ label: '评卷时间', prop: 'markTime', minWidth: 140, sortable: true },
|
|
{ label: '评卷时间', prop: 'markTime', minWidth: 140, sortable: true },
|
|
]
|
|
]
|