人生啊人生 3 months ago
parent
commit
7f8dcdd2fb

+ 16 - 0
user_web/src/router/index.ts

@@ -35,6 +35,22 @@ const routes = [
         },
         component: () => import('../view/student/main/Main.vue'),
     },
+    {
+        path: '/Qv',
+        name: 'Qv',
+        meta: {
+            title: 'Qv检测实训',
+        },
+        component: () => import('../view/Qv.vue'),
+    },
+    {
+        path: '/Sonar',
+        name: 'Sonar',
+        meta: {
+            title: '声纳检测实训',
+        },
+        component: () => import('../view/Sonar.vue'),
+    },
     {
         path: '/manage',
         name: '系统后台',

+ 36 - 0
user_web/src/view/Qv.vue

@@ -0,0 +1,36 @@
+<script setup>
+import { computed, onMounted, onUnmounted, watch, ref } from "vue";
+import { useRouter } from 'vue-router';
+const router = useRouter();
+
+</script>
+
+<template>
+    <div class="Qv">
+        Qv检测实训
+    </div>
+</template>
+
+<style scoped>
+
+.Qv * {
+
+    -moz-user-select: none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    -khtml-user-select: none;
+    user-select: none;
+}
+
+.Qv {
+
+    position: fixed;
+    z-index: 0;
+    width: 0px;
+    height: 0px;
+    top: 0px;
+    left: 0px;
+
+}
+
+</style>

+ 36 - 0
user_web/src/view/Sonar.vue

@@ -0,0 +1,36 @@
+<script setup>
+import { computed, onMounted, onUnmounted, watch, ref } from "vue";
+import { useRouter } from 'vue-router';
+const router = useRouter();
+
+</script>
+
+<template>
+    <div class="Sonar">
+        声纳检测实训
+    </div>
+</template>
+
+<style scoped>
+
+.Sonar * {
+
+    -moz-user-select: none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    -khtml-user-select: none;
+    user-select: none;
+}
+
+.Sonar {
+
+    position: fixed;
+    z-index: 0;
+    width: 0px;
+    height: 0px;
+    top: 0px;
+    left: 0px;
+
+}
+
+</style>

+ 2 - 1
user_web/src/view/student/main/Main.vue

@@ -82,7 +82,8 @@ const menuListEvent = (json, index) => {
             break;
 
         case "CCTV检测实训":
-            window.open('https://www.3dyzt.com/eduTrain/web-user/index.html', '_blank');
+            // window.open('https://www.3dyzt.com/eduTrain/web-user/index.html', '_blank');
+            window.open('#/train/list', '_blank');
             break;
 
         case "QV检测实训":