ทำเบียนประวัติลูกจ้างชั่วคราว

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-10 18:00:12 +07:00
parent 40b46b8c62
commit ba64953315
25 changed files with 4679 additions and 848 deletions

View file

@ -4,14 +4,17 @@ import { defineAsyncComponent } from "vue";
const Main = defineAsyncComponent(
() => import("@/modules/08_registryEmployee/views/Main.vue")
);
const CreateEmployee = defineAsyncComponent(
() => import("@/modules/08_registryEmployee/views/Add.vue")
const DetailView = defineAsyncComponent(
() => import("@/modules/08_registryEmployee/views/DetailView.vue")
);
const EditDetail = defineAsyncComponent(
() => import("@/modules/08_registryEmployee/views/EditDetail.vue")
);
// const CreateEmployee = defineAsyncComponent(
// () => import("@/modules/08_registryEmployee/views/Add.vue")
// );
// const EditDetail = defineAsyncComponent(
// () => import("@/modules/08_registryEmployee/views/EditDetail.vue")
// );
export default [
{
@ -25,23 +28,33 @@ export default [
},
},
{
path: "/registry-employee/add",
name: "registryEmployeeAdd",
component: CreateEmployee,
meta: {
Auth: true,
Key: [11],
Role: "registryEmployee",
},
},
{
path: "/registry-employee/edit/:id",
name: "registryEmployeeEdit",
component: EditDetail,
path: "/registry-employee/:id",
name: "registry-employeeId",
component: DetailView,
meta: {
Auth: true,
Key: [11],
Role: "registryEmployee",
},
},
// {
// path: "/registry-employee/add",
// name: "registryEmployeeAdd",
// component: CreateEmployee,
// meta: {
// Auth: true,
// Key: [11],
// Role: "registryEmployee",
// },
// },
// {
// path: "/registry-employee/edit/:id",
// name: "registryEmployeeEdit",
// component: EditDetail,
// meta: {
// Auth: true,
// Key: [11],
// Role: "registryEmployee",
// },
// },
];