Bläddra i källkod

Merge branch 'master' of http://101.43.129.26:10880/psychological_camera/RZGY

root 1 år sedan
förälder
incheckning
655f515919
1 ändrade filer med 36 tillägg och 2 borttagningar
  1. 36 2
      src/renderer/components/MainTable.vue

+ 36 - 2
src/renderer/components/MainTable.vue

@@ -129,14 +129,14 @@
                 />
               </div>
               <div>
-                <img  
+                <img
                   @click="goPage('/menu/evaluation', 'xlcp')"
                   height="300px"
                   src="../assets/newImage/main_test.png"
                 />
               </div>
               <div>
-                <img  
+                <img
                   @click="goPage('/menu/relax', 'xlfs')"
                   height="300px"
                   src="../assets/newImage/main_relax.png"
@@ -229,6 +229,20 @@
         </el-col>
         <el-col :span="2">&nbsp;</el-col>
       </el-row>
+
+      <el-footer class="buttLlo1">
+        <div class="menu_main_exit">
+          <img
+            @click="userExit"
+            class="imgStyle"
+            align="center"
+            src="../assets/newImage/exit1.png"
+          />&nbsp;&nbsp;
+          <span class="exitLogin" @click="userExit" style="font-size: 14px"
+            >退出登录</span
+          >
+        </div></el-footer
+      >
       <el-footer class="buttLlo">Copyright© 北京决明科技有限公司</el-footer>
     </div>
   </div>
@@ -256,6 +270,12 @@ export default {
     this.userType = parseInt(this.userType);
   },
   methods: {
+     userExit() {
+      this.$router.push("/");
+      // ipcRenderer.removeAllListeners();
+      // Utils.$off();
+      // this.desTimer();
+    },
     getWeek(val) {
       let week = "";
       if (val === 0) {
@@ -503,4 +523,18 @@ export default {
   bottom: 0px;
   position: fixed;
 }
+.buttLlo1 {
+  color: #ffffff;
+  text-align: right;
+  left: 0px;
+  right: 40px;
+  font-size: 14px;
+  z-index:1000;
+  bottom: 0px;
+  position: fixed;
+}
+.main_exit_class {
+  position: fixed;
+  z-index: 100;
+}
 </style>