37 lines
575 B
TypeScript
37 lines
575 B
TypeScript
|
|
/**
|
||
|
|
* Router ขอโอน
|
||
|
|
*/
|
||
|
|
|
||
|
|
const KPIPage = () => import("@/modules/08_KPI/views/main.vue");
|
||
|
|
const FormPage = () => import("@/modules/08_KPI/views/form.vue");
|
||
|
|
|
||
|
|
export default [
|
||
|
|
{
|
||
|
|
path: "/KPI",
|
||
|
|
name: "KPIMain",
|
||
|
|
component: KPIPage,
|
||
|
|
meta: {
|
||
|
|
Auth: true,
|
||
|
|
Key: [8],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "/KPI/add",
|
||
|
|
name: "KPIAdd",
|
||
|
|
component: FormPage,
|
||
|
|
meta: {
|
||
|
|
Auth: true,
|
||
|
|
Key: [8.1],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "/KPI/:id",
|
||
|
|
name: "KPIEdit",
|
||
|
|
component: FormPage,
|
||
|
|
meta: {
|
||
|
|
Auth: true,
|
||
|
|
Key: [8.2],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
];
|