45 lines
951 B
TypeScript
45 lines
951 B
TypeScript
/**
|
|
* Router ระบบทะเบียนประวัติ (Registry)
|
|
*/
|
|
|
|
const Main = () => import("@/modules/04_registry/views/Main.vue");
|
|
const Detail = () => import("@/modules/04_registry/components/Profile.vue");
|
|
const registryVerify = () =>
|
|
import("@/modules/04_registry/views/registry-verify.vue");
|
|
// const addOrder = () =>
|
|
// import(
|
|
// "@/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue"
|
|
// );
|
|
|
|
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: "/verified",
|
|
name: "verified",
|
|
component: registryVerify,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7],
|
|
Role: "registryverify",
|
|
},
|
|
},
|
|
];
|