hrms-mgt/src/modules/04_registry/router.ts

44 lines
846 B
TypeScript
Raw Normal View History

2023-06-01 12:54:58 +07:00
/**
* Router (Registry)
*/
const Main = () => import("@/modules/04_registry/views/Main.vue");
const Detail = () => import("@/modules/04_registry/components/Profile.vue");
const addOrder = () =>
import(
"@/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue"
);
2023-06-01 12:54:58 +07:00
export default [
{
path: "/registry",
name: "registry",
component: Main,
meta: {
Auth: true,
Key: [7],
Role: "registry",
},
},
{
path: "/registry/:id",
name: "registryDetail",
component: Detail,
meta: {
Auth: true,
Key: [7],
Role: "registry",
},
},
{
path: "/dismiss-order/add",
name: "addOrder",
component: addOrder,
meta: {
Auth: true,
Key: [7],
Role: "registry",
},
},
2023-06-01 12:54:58 +07:00
];