diff --git a/src/router/dashboard.ts b/src/router/dashboard.ts index 4c7b558c..ed554960 100644 --- a/src/router/dashboard.ts +++ b/src/router/dashboard.ts @@ -176,6 +176,27 @@ export const routesDashboard: Array = [ }, ], }, + { + path: "", + redirect: "/widget/:entityScope/:metricName/:title/:metricType/:graph/:calculation", + name: "Widget", + component: () => import("@/views/dashboard/Widget.vue"), + meta: { + notShow: true, + }, + children: [ + { + path: "/widget/:entityScope/:metricName/:title/:metricType/:graph/:calculation", + component: () => import("@/views/dashboard/Widget.vue"), + name: "ViewWidget", + }, + { + path: "/widget/:entityScope/:metricName/:title/:metricType/:graph/:calculation/:duration", + component: () => import("@/views/dashboard/Widget.vue"), + name: "ViewWidget", + }, + ], + }, ], }, ]; diff --git a/src/views/dashboard/Widget.vue b/src/views/dashboard/Widget.vue new file mode 100644 index 00000000..5f64536a --- /dev/null +++ b/src/views/dashboard/Widget.vue @@ -0,0 +1,17 @@ + +