|
@@ -63,6 +63,7 @@ const { formRef, elFormRef } = useForm()
|
|
const model = reactive({
|
|
const model = reactive({
|
|
reason: '',
|
|
reason: '',
|
|
description: '',
|
|
description: '',
|
|
|
|
+ sendDeputy: [],
|
|
})
|
|
})
|
|
const { fetch: getExamInfo } = useFetch('getExamInfo')
|
|
const { fetch: getExamInfo } = useFetch('getExamInfo')
|
|
|
|
|
|
@@ -87,14 +88,23 @@ const reason = ['给分太高', '给分太低', '注意,评分偏紧', '注意,
|
|
}))
|
|
}))
|
|
|
|
|
|
const items: any[] = [
|
|
const items: any[] = [
|
|
- { label: '打回原因', labelWidth: '80px', prop: 'reason', slotType: 'select', slot: { options: reason } },
|
|
|
|
|
|
+ { label: '打回原因', labelWidth: '90px', prop: 'reason', slotType: 'select', slot: { options: reason } },
|
|
{
|
|
{
|
|
label: '说明',
|
|
label: '说明',
|
|
- labelWidth: '80px',
|
|
|
|
|
|
+ labelWidth: '90px',
|
|
prop: 'description',
|
|
prop: 'description',
|
|
slotType: 'input',
|
|
slotType: 'input',
|
|
slot: { type: 'textarea', maxlength: 300, resize: 'none', rows: 6, showWordLimit: true },
|
|
slot: { type: 'textarea', maxlength: 300, resize: 'none', rows: 6, showWordLimit: true },
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ prop: 'sendDeputy',
|
|
|
|
+ label: '推送给小组长',
|
|
|
|
+ slotType: 'checkbox',
|
|
|
|
+ labelWidth: '90px',
|
|
|
|
+ slot: {
|
|
|
|
+ options: [{ label: '是', slotLabel: '' }],
|
|
|
|
+ },
|
|
|
|
+ },
|
|
]
|
|
]
|
|
|
|
|
|
const { fetch: rejectMarkHistory } = useFetch('rejectMarkHistory')
|
|
const { fetch: rejectMarkHistory } = useFetch('rejectMarkHistory')
|
|
@@ -120,7 +130,12 @@ const onSendBack = async () => {
|
|
|
|
|
|
if (props.type === 'custom-check') {
|
|
if (props.type === 'custom-check') {
|
|
// await rejectCustomCheckData({ description: model.description, reason: model.reason, taskId: props.id })
|
|
// await rejectCustomCheckData({ description: model.description, reason: model.reason, taskId: props.id })
|
|
- await rejectCustomCheckData({ description: model.description, reason: model.reason, taskIds: props.id })
|
|
|
|
|
|
+ await rejectCustomCheckData({
|
|
|
|
+ description: model.description,
|
|
|
|
+ reason: model.reason,
|
|
|
|
+ taskIds: props.id,
|
|
|
|
+ sendDeputy: model.sendDeputy?.length > 0,
|
|
|
|
+ })
|
|
} else {
|
|
} else {
|
|
await ApiMap[props.type]({ description: model.description, reason: model.reason, id: props.id })
|
|
await ApiMap[props.type]({ description: model.description, reason: model.reason, id: props.id })
|
|
}
|
|
}
|