cheng dashbord data and ui

This commit is contained in:
s.esmaeili
2026-09-19 12:42:17 +03:30
parent 81987ceae8
commit 7f20c6333e
144 changed files with 4099 additions and 858 deletions
+8 -4
View File
@@ -29,12 +29,16 @@ export const adminRoute: RouteRecordRaw[] = [
redirect: '/my-data'
},
{
// Legacy had two dashboards ("آمار تک فروشی" at /dashboard/analytics and
// "آمار عمده فروشی" at /dashboard/ecommerce) behind two rids. Merged into
// one screen behind one rid (dashboard.view) — see Dashboard.vue. Both
// old paths still resolve so any bookmarked/linked URL keeps working.
path: '/dashboard/analytics',
name: 'dashboard-analytics',
component: () => import('../views/DashboardAnalytics.vue'),
component: () => import('../views/Dashboard.vue'),
meta: {
rule: 'editor',
role: 'dashboard.tak'
role: 'dashboard.view'
}
},
{
@@ -49,10 +53,10 @@ export const adminRoute: RouteRecordRaw[] = [
{
path: '/dashboard/ecommerce',
name: 'dashboard-ecommerce',
component: () => import('../views/DashboardECommerce.vue'),
component: () => import('../views/Dashboard.vue'),
meta: {
rule: 'admin',
role: 'dashboard.omde'
role: 'dashboard.view'
}
},
{