Browse Source

全局监视模块完成

Koishi 3 years ago
parent
commit
64cf806ce2
2 changed files with 44 additions and 0 deletions
  1. 6 0
      src/router/index.js
  2. 38 0
      src/views/globalMonitor/index.vue

+ 6 - 0
src/router/index.js

@@ -786,6 +786,12 @@ const routes = [{
 	component: () =>
 		import( /* webpackChunkName: "malfunctionStatistics" */ "../views/malfunctionRecall/index.vue"),
 },
+{
+	path: "/globalMonitor", // 全局监视
+	name: "globalMonitor",
+	component: () =>
+		import( /* webpackChunkName: "malfunctionStatistics" */ "../views/globalMonitor/index.vue"),
+},
 ]
 const router = createRouter({
 	history: createWebHashHistory(),

+ 38 - 0
src/views/globalMonitor/index.vue

@@ -0,0 +1,38 @@
+<template>
+  <div style="width: 100%; height: 100%">
+    <iframe
+      class="videoBoxiframe"
+      width="100%"
+      height="100%"
+      src="http://10.155.32.4:8070/monitor/index.html"
+    ></iframe>
+  </div>
+</template>
+
+<script>
+export default {
+  // 名称
+  name: "globalMonitor",
+
+  // 数据
+  data() {
+    return {};
+  },
+
+  // 函数
+  methods: {},
+
+  created() {},
+
+  mounted() {},
+
+  unmounted() {},
+};
+</script>
+
+<style lang="less" scoped>
+.videoBoxiframe {
+  border: none;
+  overflow: hidden;
+}
+</style>