nothing
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user