51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
import type { RouteRecordRaw } from "vue-router";
|
|
|
|
const chartRoutes: RouteRecordRaw[] = [
|
|
{
|
|
path: "/management/product-data-charts",
|
|
name: "ProductDataCharts",
|
|
component: () => import("@/pages/product/ProductDataCharts.vue"),
|
|
meta: {
|
|
depth: 3,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/order-data-charts",
|
|
name: "OrderDataCharts",
|
|
component: () => import("@/pages/product/OrderDataCharts.vue"),
|
|
meta: {
|
|
depth: 3,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/customer-data-charts",
|
|
name: "CustomerDataCharts",
|
|
component: () => import("@/pages/customer/CustomerDataCharts.vue"),
|
|
meta: {
|
|
depth: 3,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/management/customers/:id/data-charts",
|
|
name: "CustomerDataChartsFromCustomer",
|
|
component: () => import("@/pages/customer/CustomerDataCharts.vue"),
|
|
meta: {
|
|
depth: 5,
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
}
|
|
];
|
|
|
|
export default chartRoutes;
|