hrms-mgt/src/modules/04_registryNew/router.ts
2024-05-13 18:06:06 +07:00

47 lines
924 B
TypeScript

const listPage = () => import("@/modules/04_registryNew/views/list.vue");
const detailPage = () =>
import("@/modules/04_registryNew/views/detailView.vue");
export default [
{
path: "/registry-new",
name: "registryNew",
component: listPage,
meta: {
Auth: true,
Key: [7],
Role: "organization",
},
},
{
path: "/registry-new/:id",
name: "registryNewByid",
component: detailPage,
meta: {
Auth: true,
Key: [7],
Role: "organization",
},
},
{
path: "/registry-new-employee/:id",
name: "registryNewEmployeeByid",
component: detailPage,
meta: {
Auth: true,
Key: [7],
Role: "organization",
},
},
// {
// path: "/registry-new/list",
// name: "registryNewList",
// component: listPage,
// meta: {
// Auth: true,
// Key: [7],
// Role: "organization",
// },
// },
];