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

Авторизация починка 5

This commit is contained in:
MoonTestUse1
2024-12-29 21:24:20 +06:00
parent 4bd3b238ce
commit 3df33fa6e6
4 changed files with 174 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
<template>
<button
@click="openAddEmployeeModal"
class="bg-blue-500 hover:bg-blue-600 text-white font-semibold py-2 px-4 rounded-lg flex items-center gap-2 transition-colors"
>
<PlusCircle class="w-5 h-5" />
Добавить работника
</button>
</template>
<script setup lang="ts">
import { PlusCircle } from 'lucide-vue-next';
import { useRouter } from 'vue-router';
const router = useRouter();
const openAddEmployeeModal = () => {
router.push('/employees/add');
};
</script>