diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue index 498e386..36e2e95 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -103,10 +103,13 @@ export default { title: "拍照装置管理", }, { - icon: "el-icon-setting", index: "/devicePhotoSchedule", title: "拍照时间表设置", }, + { + index: "/deviceUpgrade", + title: "装置升级", + }, // { // icon: "el-icon-picture-outline", // index: "imageSettings", diff --git a/src/router/index.js b/src/router/index.js index f703962..1e37f6e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -129,6 +129,14 @@ const routes = [ ), meta: { title: "图像采集装置设置", icon: "el-icon-picture-outline" }, }, + { + path: "/deviceUpgrade", + component: () => + import( + /* webpackChunkName: "tabs" */ "../views/deviceUpgrade/index.vue" + ), + meta: { title: "装置升级", icon: "el-icon-picture-outline" }, + }, { path: "/userManagement", component: () => diff --git a/src/views/deviceUpgrade/index.vue b/src/views/deviceUpgrade/index.vue new file mode 100644 index 0000000..ccb51ec --- /dev/null +++ b/src/views/deviceUpgrade/index.vue @@ -0,0 +1,3 @@ + diff --git a/src/views/realTimeMonitor/index.vue b/src/views/realTimeMonitor/index.vue index 1d523b7..41df415 100644 --- a/src/views/realTimeMonitor/index.vue +++ b/src/views/realTimeMonitor/index.vue @@ -300,7 +300,7 @@ export default { // }, 3000); this.getDateTime(); console.log(this.dateValue); - this.getLineTreeStatus(); + //this.getLineTreeStatus(); }, methods: { //获取当前时间