55 lines
964 B
TypeScript
55 lines
964 B
TypeScript
/**
|
|
* Router ขอโอน
|
|
*/
|
|
|
|
const KPIPage = () => import("@/modules/08_KPI/views/main.vue");
|
|
const FormPage = () => import("@/modules/08_KPI/views/form.vue");
|
|
const KPIMainEvaluator = () => import("@/modules/08_KPI/views/mainEvaluator.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],
|
|
},
|
|
},
|
|
{
|
|
path: "/KPI-evaluator",
|
|
name: "KPIMainEvaluator",
|
|
component: KPIMainEvaluator,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.3],
|
|
},
|
|
},
|
|
{
|
|
path: "/KPI-evaluator/:id",
|
|
name: "KPIEditEvaluator",
|
|
component: FormPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.4],
|
|
},
|
|
},
|
|
];
|