1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Починка добавления сотрудника 1

This commit is contained in:
MoonTestUse1
2024-12-29 21:30:31 +06:00
parent 3df33fa6e6
commit 0cc7abef5f
2 changed files with 8 additions and 6 deletions

View File

@@ -80,6 +80,7 @@ template>
import { ref } from 'vue';
import { useRouter } from 'vue-router';
import { departments } from '@/utils/constants';
type Department = typeof departments[number];
const router = useRouter();
const isSubmitting = ref(false);
@@ -92,6 +93,7 @@ const form = ref({
password: ''
});
// @vue-ignore
const handleSubmit = async () => {
try {
isSubmitting.value = true;