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 @@ + + +