fix : 简化代码模板
This commit is contained in:
@@ -33,7 +33,7 @@ const router = createRouter({
|
||||
name: "home",
|
||||
component: () => import("@/views/home/index.vue"),
|
||||
meta: {
|
||||
title: "首页",
|
||||
title: "工作台",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
@@ -46,42 +46,7 @@ const router = createRouter({
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/rapid/gen/edit/:tableId(\\d+)",
|
||||
name: "genEdit",
|
||||
component: () => import("@/views/rapid/gen/editTable.vue"),
|
||||
meta: {
|
||||
title: "数据库生成配置",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/workflow/process/edit/:deploymentId",
|
||||
name: "processEdit",
|
||||
component: () => import("@/views/workflow/process/ProcessEdit.vue"),
|
||||
meta: {
|
||||
title: "编辑流程",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/workflow/process",
|
||||
name: "process",
|
||||
component: () => import("@/views/workflow/process/index.vue"),
|
||||
meta: {
|
||||
title: "流程管理",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/workflow/process/edit",
|
||||
name: "processAdd",
|
||||
component: () => import("@/views/workflow/process/ProcessEdit.vue"),
|
||||
meta: {
|
||||
title: "新增流程",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
path: "/role-auth/user/:roleId(\\d+)",
|
||||
name: "distribute",
|
||||
@@ -109,69 +74,8 @@ const router = createRouter({
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/system/notice/inform/index/:queryId",
|
||||
name: "notify",
|
||||
component: () => import("@/views/system/notice/inform/index.vue"),
|
||||
meta: {
|
||||
title: "通知公告",
|
||||
breadcrumb: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/custom/query/sql/design/:queryId",
|
||||
name: "sql",
|
||||
component: () => import("@/views/custom-query/sql/SqlDesign.vue"),
|
||||
meta: {
|
||||
title: "自定义sql查询配置",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/custom/query/data/adapter/design/:queryId",
|
||||
name: "dataAdapter",
|
||||
component: () =>
|
||||
import("@/views/custom-query/data-adapter/DataAdapterDesign.vue"),
|
||||
meta: {
|
||||
title: "自定义数据适配器",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/custom/query/echarts/design/:queryId",
|
||||
name: "echarts",
|
||||
component: () =>
|
||||
import("@/views/custom-query/echarts-editor/EchartsDesign.vue"),
|
||||
meta: {
|
||||
title: "自定义echarts查询配置",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/rapid/data/:dsId(\\d+)",
|
||||
name: "rapid",
|
||||
component: () => import("@/views/rapid/gen/index.vue"),
|
||||
meta: {
|
||||
title: "数据源关联数据",
|
||||
breadcrumb: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/topo/design/:queryId",
|
||||
name: "topEdit",
|
||||
component: () => import("@/views/custom-query/topo/topologyDesign.vue"),
|
||||
meta: {
|
||||
title: "top",
|
||||
breadcrumb: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/forbidden",
|
||||
name: "forbidden",
|
||||
component: () => import("@/views/forbidden/index.vue"),
|
||||
},
|
||||
}
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user