新增通用字典页面
This commit is contained in:
@@ -25,12 +25,12 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/plan",
|
||||
name: "plan",
|
||||
redirect:"/plan/planList",
|
||||
redirect: "/plan/planList",
|
||||
children: [
|
||||
{
|
||||
path: "/plan/planList",
|
||||
name: "planList",
|
||||
component:()=> import("@/views/plan/planList/index.vue"),
|
||||
component: () => import("@/views/plan/planList/index.vue"),
|
||||
meta: {
|
||||
title: "检测计划列表",
|
||||
icon: "List",
|
||||
@@ -44,7 +44,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/plan/singlePlanList",
|
||||
name: "singlePlanList",
|
||||
component:()=> import("@/views/plan/singlePlanList/index.vue"),
|
||||
component: () => import("@/views/plan/singlePlanList/index.vue"),
|
||||
meta: {
|
||||
title: "单个计划列表",
|
||||
icon: "List",
|
||||
@@ -58,7 +58,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/plan/preTest",
|
||||
name: "preTest",
|
||||
component:()=> import("@/views/plan/preTest/index.vue"),
|
||||
component: () => import("@/views/plan/preTest/index.vue"),
|
||||
meta: {
|
||||
title: "预检测",
|
||||
icon: "List",
|
||||
@@ -72,7 +72,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/plan/autoTest",
|
||||
name: "autoTest",
|
||||
component:()=> import("@/views/plan/autoTest/index.vue"),
|
||||
component: () => import("@/views/plan/autoTest/index.vue"),
|
||||
meta: {
|
||||
title: "自动检测",
|
||||
icon: "List",
|
||||
@@ -115,6 +115,20 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/system/dict-data/:code/:id(\\d+)",
|
||||
name: "dictData",
|
||||
component: () => import("@/views/system/dict/data.vue"),
|
||||
meta: {
|
||||
title: "字典数据",
|
||||
icon: "List",
|
||||
isLink: "",
|
||||
isHide: false,
|
||||
isFull: false,
|
||||
isAffix: false,
|
||||
isKeepAlive: false,
|
||||
},
|
||||
}
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user