รายละเอียดทะเบียนประวัติลูกจ้าง

This commit is contained in:
Thanit Konmek 2023-07-07 15:29:37 +07:00
parent bdc7ab8df3
commit 1e02f42b58
26 changed files with 2419 additions and 1031 deletions

View file

@ -1,10 +1,16 @@
/**
* Router (registryEmployee)
*/
import { defineAsyncComponent } from "vue";
const Main = () => import("@/modules/08_registryEmployee/views/Main.vue");
// const Detail = () =>
// import("@/modules/08_registryEmployee/components/Profile.vue");
// const Main = () => import("@/modules/08_registryEmployee/views/Main.vue");
// const Detail = () => import("@/modules/08_registryEmployee/views/Detail.vue");
const Main = defineAsyncComponent(
() => import("@/modules/08_registryEmployee/views/Main.vue")
);
const Detail = defineAsyncComponent(
() => import("@/modules/08_registryEmployee/views/Detail.vue")
);
export default [
{
@ -23,8 +29,18 @@ export default [
// component: Detail,
// meta: {
// Auth: true,
// Key: [9],
// Key: [10],
// Role: "registryEmployeeDetails",
// },
// },
{
path: "/registryEmployee/add",
name: "registryEmployeeAdd",
component: Detail,
meta: {
Auth: true,
Key: [11],
Role: "registryEmployee",
},
},
];