|
@@ -39,16 +39,6 @@ const { loading, fetch: getGroupMonitor, result } = useFetch('getGroupMonitor')
|
|
|
|
|
|
const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getGroupMonitor'>>>[] = [
|
|
|
{ label: '组长', prop: 'markingGroupLeader', fixed: 'left' },
|
|
|
- { label: '已浏览系统抽查卷数', prop: 'sysCheckCount', minWidth: 160, sortable: true },
|
|
|
- { label: '已给分系统抽查卷数', prop: 'sysCheckReScoreCount', minWidth: 160, sortable: true },
|
|
|
- { label: '打回量', prop: 'rejectCount', minWidth: 85, sortable: true },
|
|
|
- { label: '主动抽查次数', prop: 'initiativeCheckCount', minWidth: 120, sortable: true },
|
|
|
- { label: '主动抽查给分次数', prop: 'initiativeCheckReScoreCount', minWidth: 150, sortable: true },
|
|
|
-
|
|
|
- { label: '已浏览问题卷数', prop: 'problemCount', minWidth: 138, sortable: true },
|
|
|
- { label: '已给分问题卷数', prop: 'problemReScoreCount', minWidth: 138, sortable: true },
|
|
|
- { label: '已浏览自定义抽查卷数', prop: 'customCheckCount', minWidth: 178, sortable: true },
|
|
|
- { label: '已给分自定义抽查卷数', prop: 'customCheckReScoreCount', minWidth: 178, sortable: true },
|
|
|
{
|
|
|
label: '已浏览试卷总数',
|
|
|
prop: 'totalCount',
|
|
@@ -75,11 +65,28 @@ const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getGroupMonit
|
|
|
)
|
|
|
},
|
|
|
},
|
|
|
+ { label: '已浏览系统抽查卷数', prop: 'sysCheckCount', minWidth: 160, sortable: true },
|
|
|
+ { label: '已给分系统抽查卷数', prop: 'sysCheckReScoreCount', minWidth: 160, sortable: true },
|
|
|
+ { label: '打回量', prop: 'rejectCount', minWidth: 85, sortable: true },
|
|
|
+ { label: '主动抽查次数', prop: 'initiativeCheckCount', minWidth: 120, sortable: true },
|
|
|
+ { label: '主动抽查给分次数', prop: 'initiativeCheckReScoreCount', minWidth: 150, sortable: true },
|
|
|
+
|
|
|
+ { label: '已浏览问题卷数', prop: 'problemCount', minWidth: 138, sortable: true },
|
|
|
+ { label: '已给分问题卷数', prop: 'problemReScoreCount', minWidth: 138, sortable: true },
|
|
|
+ { label: '已浏览自定义抽查卷数', prop: 'customCheckCount', minWidth: 178, sortable: true },
|
|
|
+ { label: '已给分自定义抽查卷数', prop: 'customCheckReScoreCount', minWidth: 178, sortable: true },
|
|
|
]
|
|
|
|
|
|
/** 刷新按钮 */
|
|
|
function onSearch() {
|
|
|
- getGroupMonitor(formModel.value).then(() => {
|
|
|
+ let markingGroupNumbers: any = formModel.value.markingGroupNumbers
|
|
|
+ if (
|
|
|
+ !markingGroupNumbers ||
|
|
|
+ (Array.isArray(markingGroupNumbers) && markingGroupNumbers.length !== markingGroupNumbers.filter((v) => !!v).length)
|
|
|
+ ) {
|
|
|
+ markingGroupNumbers = []
|
|
|
+ }
|
|
|
+ getGroupMonitor({ ...formModel.value, markingGroupNumbers }).then(() => {
|
|
|
jumpParams.subjectCode = formModel.value.subjectCode
|
|
|
jumpParams.questionMainNumber = formModel.value.questionMainNumber
|
|
|
})
|