feat: 添加计算中心页面

This commit is contained in:
caoqianming 2024-08-26 15:38:10 +08:00
parent 3994d63728
commit 0671b19823
1 changed files with 55 additions and 2 deletions

View File

@ -35,6 +35,16 @@ const routes = [
}, },
component: "home/testx", component: "home/testx",
}, },
{
name: "blank",
path: "/blank",
meta: {
title: "控制台",
// icon: "el-icon-monitor",
perms: ["home_blank"],
},
component: "home/blank",
},
{ {
name: "dashboard", name: "dashboard",
path: "/dashboard", path: "/dashboard",
@ -53,7 +63,7 @@ const routes = [
title: "控制台", title: "控制台",
// icon: "el-icon-monitor", // icon: "el-icon-monitor",
affix: true, affix: true,
perms: ["enm"], perms: ["enmdashboard"],
}, },
component: "home/enm_home", component: "home/enm_home",
}, },
@ -2697,6 +2707,39 @@ const routes = [
}, },
component: "enm_base/search", component: "enm_base/search",
}, },
//计算中心
{
name: "fac_cal",
path: "/fac_cal",
meta: {
title: "计算中心",
icon: "el-icon-menu",
type: "menu",
perms: ["fac_cal"],
},
children: [
{
path: "/fac_cal/mpointstat",
meta: {
title: "计算数据",
// icon: "el-icon-postcard",
type: "menu",
perms: ["mpointstat"],
},
component: "fac_cal/mpointstat",
},
{
path: "/fac_cal/caltask",
meta: {
title: "计算任务",
// icon: "el-icon-postcard",
type: "menu",
perms: ["caltask"],
},
component: "fac_cal/caltask",
},
]
},
//基础配置 //基础配置
{ {
name: "enm_base", name: "enm_base",
@ -2720,7 +2763,7 @@ const routes = [
component: "enm_base/team", component: "enm_base/team",
}, },
{ {
name: "mgruop", name: "mgroup",
path: "/enm_base/mgruop", path: "/enm_base/mgruop",
meta: { meta: {
title: "工段", title: "工段",
@ -2869,6 +2912,16 @@ const routes = [
}, },
component: "sys/role", component: "sys/role",
}, },
{
path: "/sys/myschedule",
name: "myschedule",
meta: {
title: "定时策略",
type: "menu",
perms: ["myschedule"],
},
component: "sys/myschedule"
},
{ {
path: "/sys/dict", path: "/sys/dict",
name: "dict", name: "dict",