From 6ffd743b39f77511952ecf9bbed45f37beccd87a Mon Sep 17 00:00:00 2001
From: fanluyan <754122931@qq.com>
Date: Thu, 8 Jun 2023 13:31:59 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E5=8A=A8=E6=8B=8D=E7=85=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/common/Sidebar.vue | 4 +
src/router/index.js | 8 ++
src/views/realTimeMonitor/index.vue | 2 +
src/views/system/globalTools/index.vue | 114 +++++++++++++++++++++++++
4 files changed, 128 insertions(+)
create mode 100644 src/views/system/globalTools/index.vue
diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue
index 70ebf9b..98cf55d 100644
--- a/src/components/common/Sidebar.vue
+++ b/src/components/common/Sidebar.vue
@@ -126,6 +126,10 @@ export default {
index: "/userManagement",
title: "用户管理",
},
+ {
+ index: "/globalTools",
+ title: "全局设置",
+ },
],
},
],
diff --git a/src/router/index.js b/src/router/index.js
index f08cf27..6a927d0 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -137,6 +137,14 @@ const routes = [
),
meta: { title: "用户管理", icon: "el-icon-monitor" },
},
+ {
+ path: "/globalTools",
+ component: () =>
+ import(
+ /* webpackChunkName: "tabs" */ "../views/system/globalTools/index.vue"
+ ),
+ meta: { title: "全局设置" },
+ },
// {
// path: "/videoMonitor",
diff --git a/src/views/realTimeMonitor/index.vue b/src/views/realTimeMonitor/index.vue
index 525757c..ff02ff3 100644
--- a/src/views/realTimeMonitor/index.vue
+++ b/src/views/realTimeMonitor/index.vue
@@ -582,6 +582,7 @@ export default {
captureType: 0,
channel: command,
cmdid: this.cmdid,
+ termId: this.newTermId,
preset: 255,
})
.then((res) => {
@@ -612,6 +613,7 @@ export default {
captureType: 1,
channel: command,
cmdid: this.cmdid,
+ termId: this.newTermId,
preset: 255,
})
.then((res) => {
diff --git a/src/views/system/globalTools/index.vue b/src/views/system/globalTools/index.vue
new file mode 100644
index 0000000..5e5b624
--- /dev/null
+++ b/src/views/system/globalTools/index.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+ 线缆开启关闭
+
+
+
+
+
+
+
+
+ 设置告警可信度
+
+
+
+
+
+ 设置
+
+
+
+
+
+