50 lines
756 B
TypeScript
50 lines
756 B
TypeScript
|
|
/**
|
||
|
|
* Router ขอโอน
|
||
|
|
*/
|
||
|
|
|
||
|
|
const Main = () => import("@/modules/03_retire/views/main.vue")
|
||
|
|
|
||
|
|
const AddRetire = () => import("@/modules/03_retire/views/addRetire.vue")
|
||
|
|
|
||
|
|
const ResultQuestionair = () => import("@/modules/03_retire/views/result.vue")
|
||
|
|
|
||
|
|
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],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
]
|