2023-09-26 15:57:16 +07:00
|
|
|
/**
|
|
|
|
|
* Router ขอโอน
|
|
|
|
|
*/
|
|
|
|
|
|
2023-09-27 15:49:15 +07:00
|
|
|
const Main = () => import("@/modules/03_retire/views/Main.vue")
|
2023-09-26 15:57:16 +07:00
|
|
|
|
2023-09-27 15:49:15 +07:00
|
|
|
const AddRetire = () => import("@/modules/03_retire/views/AddRetire.vue")
|
2023-09-26 15:57:16 +07:00
|
|
|
|
2023-09-27 15:49:15 +07:00
|
|
|
const ResultQuestionair = () => import("@/modules/03_retire/views/Result.vue")
|
2023-09-26 15:57:16 +07:00
|
|
|
|
|
|
|
|
export default [
|
|
|
|
|
{
|
|
|
|
|
path: "/retire",
|
|
|
|
|
name: "Retire",
|
|
|
|
|
component: Main,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [7],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/retire/add",
|
|
|
|
|
name: "AddRetire",
|
|
|
|
|
component: AddRetire,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [7],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/retire/:id",
|
|
|
|
|
name: "detailRetire",
|
|
|
|
|
component: AddRetire,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [7],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
path: "/retire/result/:id",
|
|
|
|
|
name: "resultRetire",
|
|
|
|
|
component: ResultQuestionair,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [7],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]
|