|
@@ -5,6 +5,10 @@
|
|
|
<template #form-item-button>
|
|
|
<el-button type="primary" @click="onStartCheck">开始检查</el-button>
|
|
|
</template>
|
|
|
+ <template #form-item-info>
|
|
|
+ <span>待回收:</span>
|
|
|
+ <span class="recovery-count">{{ recoveryCountRes?.count }}</span>
|
|
|
+ </template>
|
|
|
</base-form>
|
|
|
</div>
|
|
|
<div class="m-t-base flex">
|
|
@@ -180,7 +184,6 @@ const SelectionCell: any = (obj: any) => {
|
|
|
const { value, intermediate = false, onChange } = obj
|
|
|
return <ElCheckbox onChange={onChange} modelValue={value} indeterminate={intermediate} />
|
|
|
}
|
|
|
-
|
|
|
const mainLayout = useMainLayoutStore()
|
|
|
// const table1 = ref()
|
|
|
// const table2 = ref()
|
|
@@ -290,6 +293,8 @@ const {
|
|
|
loading: loading3,
|
|
|
} = useFetch('unProcessSimilarList')
|
|
|
|
|
|
+const { fetch: getRecoveryCount, result: recoveryCountRes, loading: loading5 } = useFetch('getRecoveryTaskCount')
|
|
|
+
|
|
|
watch(dataModel, () => {
|
|
|
model.subjectCode = dataModel.subject || ''
|
|
|
model.questionMainNumber = dataModel.question
|
|
@@ -298,8 +303,9 @@ watch(dataModel, () => {
|
|
|
|
|
|
const { defineColumn, _ } = useForm()
|
|
|
|
|
|
-const OneRow = defineColumn(_, 'row-1', { span: 6 })
|
|
|
+const OneRow = defineColumn(_, 'row-1', { span: 5 })
|
|
|
const btnRow = defineColumn(_, 'row-1', { span: 2 })
|
|
|
+const infoRow = defineColumn(_, 'row-1', { span: 3 })
|
|
|
|
|
|
const items = computed<EpFormItem[]>(() => [
|
|
|
OneRow({
|
|
@@ -334,6 +340,10 @@ const items = computed<EpFormItem[]>(() => [
|
|
|
slotName: 'button',
|
|
|
labelWidth: '20px',
|
|
|
}),
|
|
|
+ infoRow({
|
|
|
+ slotName: 'info',
|
|
|
+ labelWidth: '20px',
|
|
|
+ }),
|
|
|
])
|
|
|
|
|
|
/** 未评卷 table */
|
|
@@ -440,6 +450,7 @@ const onStartCheck = () => {
|
|
|
getUnMarkBackPaperList({ pageNumber: 1, pageSize: 999999, ...model })
|
|
|
getUnProcessProblemList(model)
|
|
|
getUnProcessSimilarList(model)
|
|
|
+ getRecoveryCount({ questionMainNumber: model.questionMainNumber, subjectCode: model.subjectCode })
|
|
|
}
|
|
|
|
|
|
const currentTask = ref<ExtractMultipleApiResponse<'unMarkPaperList'>>()
|
|
@@ -509,6 +520,11 @@ onOptionInit(onStartCheck)
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
+.recovery-count {
|
|
|
+ color: $color--primary;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 16px;
|
|
|
+}
|
|
|
.table-wrap {
|
|
|
height: calc(100vh - 280px);
|
|
|
overflow: auto;
|