hrms-mgt/src/modules/08_registryEmployee/router.ts

31 lines
639 B
TypeScript
Raw Normal View History

/**
* Router }6d0hk' (Registry)
*/
const Main = () => import("@/modules/08_registryEmployee/views/Main.vue");
const Detail = () =>
import("@/modules/08_registryEmployee/components/Profile.vue");
export default [
{
path: "/registryEmployee",
name: "registryEmployee",
component: Main,
meta: {
Auth: true,
Key: [9],
Role: "registryEmployee",
},
},
{
path: "/registryEmployee/:id",
name: "registryEmployeeDetail",
component: Detail,
meta: {
Auth: true,
Key: [9],
Role: "registryEmployee",
},
},
];