From 38bb14f3dd0fd9d6b623dd0a4fa7b45a7c5d137b Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Mon, 11 Sep 2023 11:20:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Sidebar.vue | 8 ++++---- src/views/realTimeMonitor/index.vue | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue index b906383..c29485c 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -276,10 +276,10 @@ export default { index: "/photographicDevice", title: "拍照装置管理", }, - { - index: "/devicePhotoSchedule", - title: "拍照时间表设置", - }, + // { + // index: "/devicePhotoSchedule", + // title: "拍照时间表设置", + // }, // { // index: "/deviceUpgrade", // title: "装置升级", diff --git a/src/views/realTimeMonitor/index.vue b/src/views/realTimeMonitor/index.vue index fda959a..37e5e2f 100644 --- a/src/views/realTimeMonitor/index.vue +++ b/src/views/realTimeMonitor/index.vue @@ -195,7 +195,10 @@ 装置信息 - 拍照时间表 @@ -247,7 +250,11 @@ 历史图片 - + 参数配置 @@ -442,6 +449,7 @@ export default { time: 20, }, commondChannel: 1, + roleUser: "", }; }, watch: { @@ -457,6 +465,8 @@ export default { this.getDateTime(); }, created() { + this.roleUser = localStorage.getItem("role"); + console.log(this.roleUser); //获取日期 this.zzradio = JSON.parse(localStorage.getItem("radio")) !== null