This commit is contained in:
brusnitsyn
2026-02-20 17:28:16 +09:00
parent 94e374c32b
commit 52a80ccd3b
41 changed files with 2555 additions and 206 deletions

View File

@@ -18,9 +18,11 @@ const authStore = useAuthStore()
const reportStore = useReportStore()
const onSubmit = () => {
reportStore.sendReportForm({
departmentId: authStore.userDepartment.department_id
reportStore.reportFormRef?.validate((errors) => {
if (!errors) reportStore.sendReportForm()
else window.$message.error('Ошибка отправки отчета')
})
// reportStore.sendReportForm()
}