add more new route menu
This commit is contained in:
@ -472,6 +472,56 @@ export const routes: RouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'material',
|
||||||
|
name: 'Material',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'daftar',
|
||||||
|
name: 'Daftar',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '1',
|
||||||
|
name: 'Daftar Gangguan Dan Material Yang Dipakai',
|
||||||
|
component: TestPage,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'rekapitulasi',
|
||||||
|
name: 'Rekapitulasi',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '1',
|
||||||
|
name: 'Rekapitulasi Pemakaian Material',
|
||||||
|
component: TestPage,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'transaksi',
|
||||||
|
name: 'Transaksi',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '1',
|
||||||
|
name: 'Transaksi APKT',
|
||||||
|
component: TestPage,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'pencarian-data',
|
||||||
|
name: 'Pencarian Data',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '1',
|
||||||
|
name: 'Pencarian Report Number',
|
||||||
|
component: TestPage,
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2,21 +2,27 @@
|
|||||||
import type { MenuItemModel } from '../types/menu'
|
import type { MenuItemModel } from '../types/menu'
|
||||||
import type { RouteRecordRaw } from 'vue-router'
|
import type { RouteRecordRaw } from 'vue-router'
|
||||||
import {
|
import {
|
||||||
Gauge,
|
IconBox,
|
||||||
LightningSlash,
|
IconFileSearch,
|
||||||
Monitor,
|
IconGauge,
|
||||||
Plugs,
|
IconLightningSlash,
|
||||||
SmileySad,
|
IconMonitor,
|
||||||
Swap
|
IconPlugs,
|
||||||
|
IconSmileySad,
|
||||||
|
IconSwap,
|
||||||
|
IconWallet,
|
||||||
} from '@/utils/icons'
|
} from '@/utils/icons'
|
||||||
|
|
||||||
export const navigationIcon = [
|
export const navigationIcon = [
|
||||||
LightningSlash,
|
IconLightningSlash,
|
||||||
SmileySad,
|
IconSmileySad,
|
||||||
Monitor,
|
IconMonitor,
|
||||||
Swap,
|
IconSwap,
|
||||||
Plugs,
|
IconPlugs,
|
||||||
Gauge
|
IconGauge,
|
||||||
|
IconBox,
|
||||||
|
IconWallet,
|
||||||
|
IconFileSearch
|
||||||
]
|
]
|
||||||
|
|
||||||
const convertToDashedString = (input: string): string => {
|
const convertToDashedString = (input: string): string => {
|
||||||
|
Reference in New Issue
Block a user