feat: add route report and dashboard
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s

This commit is contained in:
Thanaphon Frappet 2025-03-04 11:22:31 +07:00
parent 6f256cc254
commit 4be37ad268
2 changed files with 23 additions and 13 deletions

View file

@ -172,8 +172,8 @@ onMounted(async () => {
label: 'menu.overall',
icon: 'mdi-monitor-dashboard',
children: [
{ label: 'report', route: '' },
{ label: 'dashboard', route: '' },
{ label: 'report', route: '/report' },
{ label: 'dashboard', route: '/dash-board' },
],
},
];

View file

@ -75,16 +75,16 @@ const routes: RouteRecordRaw[] = [
name: 'productAndService',
component: () => import('pages/04_product-service/MainPage.vue'),
},
{
path: '/quotation',
name: 'Quotation',
component: () => import('pages/05_quotation/MainPage.vue'),
},
{
path: '/workflow',
name: 'Workflow',
component: () => import('pages/04_flow-managment/MainPage.vue'),
},
{
path: '/quotation',
name: 'Quotation',
component: () => import('pages/05_quotation/MainPage.vue'),
},
{
path: '/document-management',
name: 'document-management',
@ -105,15 +105,20 @@ const routes: RouteRecordRaw[] = [
name: 'TaskOrder',
component: () => import('pages/09_task-order/MainPage.vue'),
},
{
path: '/invoice',
name: '/Invoice',
component: () => import('pages/10_invoice/MainPage.vue'),
},
{
path: '/credit-note',
name: 'CreditNote',
component: () => import('pages/11_credit-note/MainPage.vue'),
},
{
path: '/invoice',
name: '/Invoice',
component: () => import('pages/10_invoice/MainPage.vue'),
path: '/debit-note',
name: 'debitNote',
component: () => import('pages/12_debit-note/MainPage.vue'),
},
{
path: '/receipt',
@ -121,9 +126,14 @@ const routes: RouteRecordRaw[] = [
component: () => import('pages/13_receipt/MainPage.vue'),
},
{
path: '/debit-note',
name: 'debitNote',
component: () => import('pages/12_debit-note/MainPage.vue'),
path: '/report',
name: 'report',
component: () => import('pages/14_report/MainPage.vue'),
},
{
path: '/dash-board',
name: 'dashBoard',
component: () => import('pages/15_dash-board/MainPage.vue'),
},
],
},