feat: update router and create service list component

This commit is contained in:
Qiuxia Fan
2022-01-18 14:05:50 +08:00
parent ff29b1314e
commit db8338ffa5
7 changed files with 94 additions and 11 deletions

View File

@@ -48,9 +48,29 @@ export const routesDashboard: Array<RouteRecordRaw> = [
},
},
{
path: "/dashboard/edit/:layerId/:entity/:dashboardId",
path: "/dashboard/:layerId/:entity/:name",
component: () => import("@/views/dashboard/Edit.vue"),
name: "Edit",
name: "Create",
meta: {
title: "dashboardEdit",
exact: false,
notShow: true,
},
},
{
path: "/dashboard/:layerId/:entity/:serviceId/:name",
component: () => import("@/views/dashboard/Edit.vue"),
name: "CreateService",
meta: {
title: "dashboardEdit",
exact: false,
notShow: true,
},
},
{
path: "/dashboard/:layerId/:entity/:serviceId/:podId/:name",
component: () => import("@/views/dashboard/Edit.vue"),
name: "ViewPod",
meta: {
title: "dashboardEdit",
exact: false,