|
|
|
@ -64,110 +64,16 @@ export default {
|
|
|
|
|
title: "实时监控",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-film",
|
|
|
|
|
index: "/pictureRotation",
|
|
|
|
|
title: "图片轮巡",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-bell",
|
|
|
|
|
index: "/photoAlarm",
|
|
|
|
|
title: "告警处理",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-search",
|
|
|
|
|
index: "/realTimeSearch",
|
|
|
|
|
title: "历史图片",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-files",
|
|
|
|
|
index: "/property",
|
|
|
|
|
title: "资产管理",
|
|
|
|
|
subs: [
|
|
|
|
|
{
|
|
|
|
|
index: "/lineInformation",
|
|
|
|
|
title: "线路信息管理",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: "/towerInformation",
|
|
|
|
|
title: "杆塔信息管理",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
index: "/cameraChannel",
|
|
|
|
|
title: "通道管理",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: "/photographicDevice",
|
|
|
|
|
title: "拍照装置管理",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: "/devicePhotoSchedule",
|
|
|
|
|
title: "拍照时间表设置",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: "/deviceReport",
|
|
|
|
|
title: "装置报表",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: "/waterMark",
|
|
|
|
|
title: "水印下发",
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// index: "/deviceUpgrade",
|
|
|
|
|
// title: "装置升级",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// icon: "el-icon-picture-outline",
|
|
|
|
|
// index: "imageSettings",
|
|
|
|
|
// title: "图像采集参数设置",
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-monitor",
|
|
|
|
|
index: "/system",
|
|
|
|
|
title: "系统管理",
|
|
|
|
|
subs: [
|
|
|
|
|
{
|
|
|
|
|
index: "/userManagement",
|
|
|
|
|
title: "用户管理",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: "/globalTools",
|
|
|
|
|
title: "全局设置",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// icon: "el-icon-setting",
|
|
|
|
|
// index: "/itOperation",
|
|
|
|
|
// title: "运维管理",
|
|
|
|
|
// icon: "el-icon-film",
|
|
|
|
|
// index: "/pictureRotation",
|
|
|
|
|
// title: "图片轮巡",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// icon: "el-icon-bell",
|
|
|
|
|
// index: "/photoAlarm",
|
|
|
|
|
// title: "告警处理",
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
items1: [
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-s-home",
|
|
|
|
|
index: "stritl",
|
|
|
|
|
title: "首页",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
|
index: "/realTimeMonitor",
|
|
|
|
|
title: "实时监控",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-film",
|
|
|
|
|
index: "/pictureRotation",
|
|
|
|
|
title: "图片轮巡",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-bell",
|
|
|
|
|
index: "/photoAlarm",
|
|
|
|
|
title: "告警处理",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-search",
|
|
|
|
@ -201,85 +107,13 @@ export default {
|
|
|
|
|
title: "拍照时间表设置",
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// index: "/deviceUpgrade",
|
|
|
|
|
// title: "装置升级",
|
|
|
|
|
// index: "/deviceReport",
|
|
|
|
|
// title: "装置报表",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// icon: "el-icon-picture-outline",
|
|
|
|
|
// index: "imageSettings",
|
|
|
|
|
// title: "图像采集参数设置",
|
|
|
|
|
// index: "/waterMark",
|
|
|
|
|
// title: "水印下发",
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-monitor",
|
|
|
|
|
index: "/system",
|
|
|
|
|
title: "系统管理",
|
|
|
|
|
subs: [
|
|
|
|
|
{
|
|
|
|
|
index: "/userManagement",
|
|
|
|
|
title: "用户管理",
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// index: "/globalTools",
|
|
|
|
|
// title: "全局设置",
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
items2: [
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-s-home",
|
|
|
|
|
index: "stritl",
|
|
|
|
|
title: "首页",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-camera",
|
|
|
|
|
index: "/realTimeMonitor",
|
|
|
|
|
title: "实时监控",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-film",
|
|
|
|
|
index: "/pictureRotation",
|
|
|
|
|
title: "图片轮巡",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-bell",
|
|
|
|
|
index: "photoAlarm",
|
|
|
|
|
title: "告警处理",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-search",
|
|
|
|
|
index: "/realTimeSearch",
|
|
|
|
|
title: "历史图片",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: "el-icon-files",
|
|
|
|
|
index: "/property",
|
|
|
|
|
title: "资产管理",
|
|
|
|
|
subs: [
|
|
|
|
|
{
|
|
|
|
|
index: "/lineInformation",
|
|
|
|
|
title: "线路信息管理",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: "/towerInformation",
|
|
|
|
|
title: "杆塔信息管理",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
// index: "/cameraChannel",
|
|
|
|
|
// title: "通道管理",
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
index: "/photographicDevice",
|
|
|
|
|
title: "拍照装置管理",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: "/devicePhotoSchedule",
|
|
|
|
|
title: "拍照时间表设置",
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// index: "/deviceUpgrade",
|
|
|
|
|
// title: "装置升级",
|
|
|
|
@ -291,6 +125,26 @@ export default {
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// icon: "el-icon-monitor",
|
|
|
|
|
// index: "/system",
|
|
|
|
|
// title: "系统管理",
|
|
|
|
|
// subs: [
|
|
|
|
|
// {
|
|
|
|
|
// index: "/userManagement",
|
|
|
|
|
// title: "用户管理",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// index: "/globalTools",
|
|
|
|
|
// title: "全局设置",
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// icon: "el-icon-setting",
|
|
|
|
|
// index: "/itOperation",
|
|
|
|
|
// title: "运维管理",
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
role: "",
|
|
|
|
@ -312,14 +166,6 @@ export default {
|
|
|
|
|
console.log("用户管理");
|
|
|
|
|
console.log(this.role);
|
|
|
|
|
|
|
|
|
|
if (this.role == 0) {
|
|
|
|
|
this.items = this.items;
|
|
|
|
|
} else if (this.role == 1) {
|
|
|
|
|
this.items = this.items1;
|
|
|
|
|
} else if (this.role == 2) {
|
|
|
|
|
this.items = this.items2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
console.log(this.items);
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|