|
|
@ -17,6 +17,7 @@ const routes = [
|
|
|
|
title: "首页",
|
|
|
|
title: "首页",
|
|
|
|
icon: "el-icon-s-home",
|
|
|
|
icon: "el-icon-s-home",
|
|
|
|
keepAlive: true,
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -28,6 +29,7 @@ const routes = [
|
|
|
|
permission: true,
|
|
|
|
permission: true,
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
keepAlive: true,
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -39,6 +41,7 @@ const routes = [
|
|
|
|
permission: true,
|
|
|
|
permission: true,
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
keepAlive: true,
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -50,6 +53,7 @@ const routes = [
|
|
|
|
title: "历史图片",
|
|
|
|
title: "历史图片",
|
|
|
|
permission: true,
|
|
|
|
permission: true,
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
//keepAlive: true,
|
|
|
|
//keepAlive: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -62,6 +66,7 @@ const routes = [
|
|
|
|
permission: true,
|
|
|
|
permission: true,
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
keepAlive: true,
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -69,13 +74,23 @@ const routes = [
|
|
|
|
path: "/userManagement",
|
|
|
|
path: "/userManagement",
|
|
|
|
component: () => import("../views/system/user/userManagement.vue"),
|
|
|
|
component: () => import("../views/system/user/userManagement.vue"),
|
|
|
|
name: "userManagement",
|
|
|
|
name: "userManagement",
|
|
|
|
meta: { title: "用户管理", icon: "el-icon-monitor", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "用户管理",
|
|
|
|
|
|
|
|
icon: "el-icon-monitor",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/roleManagement",
|
|
|
|
path: "/roleManagement",
|
|
|
|
component: () => import("../views/system/roleManagement/index.vue"),
|
|
|
|
component: () => import("../views/system/roleManagement/index.vue"),
|
|
|
|
name: "roleManagement",
|
|
|
|
name: "roleManagement",
|
|
|
|
meta: { title: "角色管理", icon: "el-icon-monitor", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "角色管理",
|
|
|
|
|
|
|
|
icon: "el-icon-monitor",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/menuManagement",
|
|
|
|
path: "/menuManagement",
|
|
|
@ -85,6 +100,7 @@ const routes = [
|
|
|
|
title: "菜单功能管理",
|
|
|
|
title: "菜单功能管理",
|
|
|
|
icon: "el-icon-monitor",
|
|
|
|
icon: "el-icon-monitor",
|
|
|
|
keepAlive: true,
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -92,56 +108,97 @@ const routes = [
|
|
|
|
path: "/deviceUpgrade",
|
|
|
|
path: "/deviceUpgrade",
|
|
|
|
component: () => import("../views/system/deviceUpgrade/index.vue"),
|
|
|
|
component: () => import("../views/system/deviceUpgrade/index.vue"),
|
|
|
|
name: "deviceUpgrade",
|
|
|
|
name: "deviceUpgrade",
|
|
|
|
meta: { title: "升级管理", icon: "el-icon-monitor", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "升级管理",
|
|
|
|
|
|
|
|
icon: "el-icon-monitor",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/globalTools",
|
|
|
|
path: "/globalTools",
|
|
|
|
component: () => import("../views/system/globalTools/index.vue"),
|
|
|
|
component: () => import("../views/system/globalTools/index.vue"),
|
|
|
|
name: "globalTools",
|
|
|
|
name: "globalTools",
|
|
|
|
meta: { title: "全局设置", keepAlive: true },
|
|
|
|
meta: { title: "全局设置", keepAlive: true, requiresAuth: true },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/lineInformation",
|
|
|
|
path: "/lineInformation",
|
|
|
|
component: () => import("../views/lineInformation/index.vue"),
|
|
|
|
component: () => import("../views/lineInformation/index.vue"),
|
|
|
|
name: "lineInformation",
|
|
|
|
name: "lineInformation",
|
|
|
|
meta: { title: "线路信息管理", icon: "", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "线路信息管理",
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/towerInformation",
|
|
|
|
path: "/towerInformation",
|
|
|
|
component: () => import("../views/towerInformation/index.vue"),
|
|
|
|
component: () => import("../views/towerInformation/index.vue"),
|
|
|
|
name: "towerInformation",
|
|
|
|
name: "towerInformation",
|
|
|
|
meta: { title: "杆塔信息管理", icon: "", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "杆塔信息管理",
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/cameraChannel",
|
|
|
|
path: "/cameraChannel",
|
|
|
|
component: () => import("../views/cameraChannel/index.vue"),
|
|
|
|
component: () => import("../views/cameraChannel/index.vue"),
|
|
|
|
name: "cameraChannel",
|
|
|
|
name: "cameraChannel",
|
|
|
|
meta: { title: "通道管理", icon: "", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "通道管理",
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/photographicDevice",
|
|
|
|
path: "/photographicDevice",
|
|
|
|
component: () => import("../views/photographicDevice/index.vue"),
|
|
|
|
component: () => import("../views/photographicDevice/index.vue"),
|
|
|
|
name: "photographicDevice",
|
|
|
|
name: "photographicDevice",
|
|
|
|
meta: { title: "拍照装置管理", icon: "", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "拍照装置管理",
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/devicePhotoSchedule",
|
|
|
|
path: "/devicePhotoSchedule",
|
|
|
|
component: () => import("../views/devicePhotoSchedule/index.vue"),
|
|
|
|
component: () => import("../views/devicePhotoSchedule/index.vue"),
|
|
|
|
name: "devicePhotoSchedule",
|
|
|
|
name: "devicePhotoSchedule",
|
|
|
|
meta: { title: "拍照时间表设置", icon: "", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "拍照时间表设置",
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/waterMark",
|
|
|
|
path: "/waterMark",
|
|
|
|
component: () => import("../views/waterMark/index.vue"),
|
|
|
|
component: () => import("../views/waterMark/index.vue"),
|
|
|
|
name: "waterMark",
|
|
|
|
name: "waterMark",
|
|
|
|
meta: { title: "水印下发", icon: "", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "水印下发",
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: "/echarts",
|
|
|
|
path: "/echarts",
|
|
|
|
component: () => import("../echartsDemo.vue"),
|
|
|
|
component: () => import("../echartsDemo.vue"),
|
|
|
|
name: "echartsDemo",
|
|
|
|
name: "echartsDemo",
|
|
|
|
meta: { title: "echarts图表", icon: "", keepAlive: true },
|
|
|
|
meta: {
|
|
|
|
|
|
|
|
title: "echarts图表",
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
//气象检测
|
|
|
|
//气象检测
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// path: "/weather",
|
|
|
|
// path: "/weather",
|
|
|
@ -162,7 +219,14 @@ const routes = [
|
|
|
|
path: "/login",
|
|
|
|
path: "/login",
|
|
|
|
name: "login",
|
|
|
|
name: "login",
|
|
|
|
component: () => import("../views/login/index.vue"),
|
|
|
|
component: () => import("../views/login/index.vue"),
|
|
|
|
meta: { title: "登录" },
|
|
|
|
meta: { title: "登录", noAuth: true }, // 标记为免登录页面
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// 权限页面
|
|
|
|
|
|
|
|
path: "/permission",
|
|
|
|
|
|
|
|
component: () =>
|
|
|
|
|
|
|
|
import(/* webpackChunkName: "permission" */ "../Permission.vue"),
|
|
|
|
|
|
|
|
meta: { title: "权限测试" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|