เพิ่มเมนู KPI
This commit is contained in:
parent
f1243f02cc
commit
cf66659b9a
6 changed files with 107 additions and 0 deletions
36
src/modules/08_KPI/router.ts
Normal file
36
src/modules/08_KPI/router.ts
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/**
|
||||
* 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],
|
||||
},
|
||||
},
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue