菜单修改
This commit is contained in:
parent
87dd5041d9
commit
94a0f5a1c9
|
@ -107,7 +107,7 @@ export const constantRoutes = [
|
||||||
icon: "device",
|
icon: "device",
|
||||||
link: null,
|
link: null,
|
||||||
noCache: false,
|
noCache: false,
|
||||||
title: "设备管理",
|
title: "信息管理",
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -127,47 +127,47 @@ export const constantRoutes = [
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
// {
|
||||||
name: "areaManage",
|
// name: "areaManage",
|
||||||
alwaysShow: true,
|
// alwaysShow: true,
|
||||||
component: Layout,
|
// component: Layout,
|
||||||
hidden: false,
|
// hidden: false,
|
||||||
name: "areaManage",
|
// name: "areaManage",
|
||||||
path: "/areaManage",
|
// path: "/areaManage",
|
||||||
redirect: "noRedirect",
|
// redirect: "noRedirect",
|
||||||
meta: {
|
// meta: {
|
||||||
icon: "qygl",
|
// icon: "qygl",
|
||||||
link: null,
|
// link: null,
|
||||||
noCache: false,
|
// noCache: false,
|
||||||
title: "区域管理",
|
// title: "区域管理",
|
||||||
},
|
// },
|
||||||
children: [
|
// children: [
|
||||||
{
|
// {
|
||||||
component: () => import('@/views/areaManage/area'),
|
// component: () => import('@/views/areaManage/area'),
|
||||||
hidden: false,
|
// hidden: false,
|
||||||
name: "area",
|
// name: "area",
|
||||||
path: "area",
|
// path: "area",
|
||||||
meta: {
|
// meta: {
|
||||||
icon: "areai",
|
// icon: "areai",
|
||||||
link: null,
|
// link: null,
|
||||||
noCache: false,
|
// noCache: false,
|
||||||
title: "分区管理",
|
// title: "分区管理",
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
component: () => import('@/views/areaManage/cabin'),
|
// component: () => import('@/views/areaManage/cabin'),
|
||||||
hidden: false,
|
// hidden: false,
|
||||||
name: "cabin",
|
// name: "cabin",
|
||||||
path: "cabin",
|
// path: "cabin",
|
||||||
meta: {
|
// meta: {
|
||||||
icon: "cabini",
|
// icon: "cabini",
|
||||||
link: null,
|
// link: null,
|
||||||
noCache: false,
|
// noCache: false,
|
||||||
title: "舱室管理",
|
// title: "舱室管理",
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
]
|
// ]
|
||||||
},
|
// },
|
||||||
|
|
||||||
{
|
{
|
||||||
name: "operationManage",
|
name: "operationManage",
|
||||||
|
@ -181,7 +181,7 @@ export const constantRoutes = [
|
||||||
icon: "ywgl",
|
icon: "ywgl",
|
||||||
link: null,
|
link: null,
|
||||||
noCache: false,
|
noCache: false,
|
||||||
title: "运维管理",
|
title: "数据管理",
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -196,30 +196,19 @@ export const constantRoutes = [
|
||||||
title: "维保管理",
|
title: "维保管理",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
component: () => import('@/views/operationManage/patrol'),
|
// component: () => import('@/views/operationManage/patrol'),
|
||||||
hidden: false,
|
// hidden: false,
|
||||||
name: "patrol",
|
// name: "patrol",
|
||||||
path: "patrol",
|
// path: "patrol",
|
||||||
meta: {
|
// meta: {
|
||||||
icon: "xjgl",
|
// icon: "xjgl",
|
||||||
link: null,
|
// link: null,
|
||||||
noCache: false,
|
// noCache: false,
|
||||||
title: "巡检管理",
|
// title: "巡检管理",
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
{
|
//
|
||||||
component: () => import('@/views/operationManage/alarm'),
|
|
||||||
hidden: false,
|
|
||||||
name: "alarm",
|
|
||||||
path: "alarm",
|
|
||||||
meta: {
|
|
||||||
icon: "bjgl",
|
|
||||||
link: null,
|
|
||||||
noCache: false,
|
|
||||||
title: "报警管理",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
component: () => import('@/views/operationManage/report'),
|
component: () => import('@/views/operationManage/report'),
|
||||||
hidden: false,
|
hidden: false,
|
||||||
|
@ -247,7 +236,7 @@ export const constantRoutes = [
|
||||||
icon: "xtjk",
|
icon: "xtjk",
|
||||||
link: null,
|
link: null,
|
||||||
noCache: false,
|
noCache: false,
|
||||||
title: "智能化控制系统",
|
title: "运行监测",
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -327,79 +316,103 @@ export const constantRoutes = [
|
||||||
icon: "gongc",
|
icon: "gongc",
|
||||||
link: null,
|
link: null,
|
||||||
noCache: false,
|
noCache: false,
|
||||||
title: "工程保障系统",
|
title: "联动管理",
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
// {
|
||||||
component: () => import('@/views/EngineerSupport/etherphone'),
|
// component: () => import('@/views/EngineerSupport/etherphone'),
|
||||||
hidden: false,
|
// hidden: false,
|
||||||
name: "etherphone",
|
// name: "etherphone",
|
||||||
path: "etherphone",
|
// path: "etherphone",
|
||||||
meta: {
|
// meta: {
|
||||||
icon: "guangb",
|
// icon: "guangb",
|
||||||
link: null,
|
// link: null,
|
||||||
noCache: false,
|
// noCache: false,
|
||||||
title: "广播电话",
|
// title: "广播电话",
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
component: () => import('@/views/EngineerSupport/visualizedDispatch'),
|
// component: () => import('@/views/EngineerSupport/visualizedDispatch'),
|
||||||
hidden: false,
|
// hidden: false,
|
||||||
name: "visualizedDispatch",
|
// name: "visualizedDispatch",
|
||||||
path: "visualizedDispatch",
|
// path: "visualizedDispatch",
|
||||||
meta: {
|
// meta: {
|
||||||
icon: "kshtd",
|
// icon: "kshtd",
|
||||||
link: null,
|
// link: null,
|
||||||
noCache: false,
|
// noCache: false,
|
||||||
title: "可视化调度",
|
// title: "可视化调度",
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
|
{
|
||||||
|
component: () => import('@/views/equipment/ventilation'),
|
||||||
|
|
||||||
]
|
|
||||||
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Security",
|
|
||||||
alwaysShow: true,
|
|
||||||
component: Layout,
|
|
||||||
hidden: false,
|
|
||||||
name: "Security",
|
|
||||||
path: "/Security",
|
|
||||||
redirect: "noRedirect",
|
|
||||||
meta: {
|
|
||||||
icon: "afxt",
|
|
||||||
link: null,
|
|
||||||
noCache: false,
|
|
||||||
title: "安防系统",
|
|
||||||
},
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
component: () => import('@/views/Security/videoSurveillance'),
|
|
||||||
hidden: false,
|
hidden: false,
|
||||||
name: "videoSurveillance",
|
name: "ventilation",
|
||||||
path: "videoSurveillance",
|
path: "ventilation",
|
||||||
meta: {
|
meta: {
|
||||||
icon: "afmj",
|
icon: "tongf",
|
||||||
link: null,
|
link: null,
|
||||||
noCache: false,
|
noCache: false,
|
||||||
title: "视频监控",
|
title: "风机联动",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: () => import('@/views/Security/doorControl'),
|
component: () => import('@/views/equipment/electric'),
|
||||||
hidden: false,
|
hidden: false,
|
||||||
name: "doorControl",
|
name: "electric",
|
||||||
path: "doorControl",
|
path: "electric",
|
||||||
meta: {
|
meta: {
|
||||||
icon: "spjk",
|
icon: "dianli",
|
||||||
link: null,
|
link: null,
|
||||||
noCache: false,
|
noCache: false,
|
||||||
title: "门禁",
|
title: "三防联通",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// name: "Security",
|
||||||
|
// alwaysShow: true,
|
||||||
|
// component: Layout,
|
||||||
|
// hidden: false,
|
||||||
|
// name: "Security",
|
||||||
|
// path: "/Security",
|
||||||
|
// redirect: "noRedirect",
|
||||||
|
// meta: {
|
||||||
|
// icon: "afxt",
|
||||||
|
// link: null,
|
||||||
|
// noCache: false,
|
||||||
|
// title: "安防系统",
|
||||||
|
// },
|
||||||
|
// children: [
|
||||||
|
// {
|
||||||
|
// component: () => import('@/views/Security/videoSurveillance'),
|
||||||
|
// hidden: false,
|
||||||
|
// name: "videoSurveillance",
|
||||||
|
// path: "videoSurveillance",
|
||||||
|
// meta: {
|
||||||
|
// icon: "afmj",
|
||||||
|
// link: null,
|
||||||
|
// noCache: false,
|
||||||
|
// title: "视频监控",
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// component: () => import('@/views/Security/doorControl'),
|
||||||
|
// hidden: false,
|
||||||
|
// name: "doorControl",
|
||||||
|
// path: "doorControl",
|
||||||
|
// meta: {
|
||||||
|
// icon: "spjk",
|
||||||
|
// link: null,
|
||||||
|
// noCache: false,
|
||||||
|
// title: "门禁",
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
// ]
|
||||||
|
//
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
name: "System",
|
name: "System",
|
||||||
alwaysShow: true,
|
alwaysShow: true,
|
||||||
|
@ -412,7 +425,7 @@ export const constantRoutes = [
|
||||||
icon: "xtgl",
|
icon: "xtgl",
|
||||||
link: null,
|
link: null,
|
||||||
noCache: false,
|
noCache: false,
|
||||||
title: "系统管理",
|
title: "运维管理",
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -450,6 +463,18 @@ export const constantRoutes = [
|
||||||
noCache: false,
|
noCache: false,
|
||||||
title: "日志管理",
|
title: "日志管理",
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
component: () => import('@/views/operationManage/alarm'),
|
||||||
|
hidden: false,
|
||||||
|
name: "alarm",
|
||||||
|
path: "alarm",
|
||||||
|
meta: {
|
||||||
|
icon: "bjgl",
|
||||||
|
link: null,
|
||||||
|
noCache: false,
|
||||||
|
title: "报警管理",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -173,9 +173,9 @@ const faultData = reactive({
|
||||||
|
|
||||||
// 快捷入口数据
|
// 快捷入口数据
|
||||||
const quickEntries = ref([
|
const quickEntries = ref([
|
||||||
{ id: 1, name: "智能化控制系统", icon: "el-icon-cpu" },
|
{ id: 1, name: "数据管理", icon: "el-icon-cpu" },
|
||||||
{ id: 2, name: "信息化管理系统", icon: "el-icon-document" },
|
{ id: 2, name: "信息化管理系统", icon: "el-icon-document" },
|
||||||
{ id: 3, name: "工程保障系统", icon: "el-icon-s-tools" },
|
{ id: 3, name: "联动管理", icon: "el-icon-s-tools" },
|
||||||
{ id: 4, name: "安防系统", icon: "el-icon-lock" },
|
{ id: 4, name: "安防系统", icon: "el-icon-lock" },
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
|
@ -173,9 +173,9 @@ export default {
|
||||||
},
|
},
|
||||||
// 快捷入口数据
|
// 快捷入口数据
|
||||||
quickEntries: [
|
quickEntries: [
|
||||||
{ id: 1, name: "智能化控制系统", icon: "el-icon-cpu" },
|
{ id: 1, name: "数据管理", icon: "el-icon-cpu" },
|
||||||
{ id: 2, name: "信息化管理系统", icon: "el-icon-document" },
|
{ id: 2, name: "信息化管理系统", icon: "el-icon-document" },
|
||||||
{ id: 3, name: "工程保障系统", icon: "el-icon-s-tools" },
|
{ id: 3, name: "联动管理", icon: "el-icon-s-tools" },
|
||||||
{ id: 4, name: "安防系统", icon: "el-icon-lock" },
|
{ id: 4, name: "安防系统", icon: "el-icon-lock" },
|
||||||
],
|
],
|
||||||
// 视频监控数据
|
// 视频监控数据
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<template #label>
|
<template #label>
|
||||||
上级菜单
|
上级菜单
|
||||||
<el-tooltip content="分配到指定菜单下,例如 系统管理" placement="top">
|
<el-tooltip content="分配到指定菜单下,例如 运维管理" placement="top">
|
||||||
<el-icon><question-filled /></el-icon>
|
<el-icon><question-filled /></el-icon>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -47,7 +47,7 @@ export default defineConfig(({ mode, command }) => {
|
||||||
},
|
},
|
||||||
// vite 相关配置
|
// vite 相关配置
|
||||||
server: {
|
server: {
|
||||||
port: 80,
|
port: 8080,
|
||||||
host: true,
|
host: true,
|
||||||
open: true,
|
open: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
|
|
Loading…
Reference in New Issue