Kaynağa Gözat

登录跳转处理 首页大屏其他按钮跳转处理

zhangsijie 1 yıl önce
ebeveyn
işleme
8891b383e8

+ 14 - 2
minggao/src/page/home/newHome/index.vue

@@ -3,7 +3,7 @@
  * @Autor: lin
  * @Date: 2024-04-09 14:29:42
  * @LastEditors: lin
- * @LastEditTime: 2024-04-19 14:11:47
+ * @LastEditTime: 2024-04-20 14:03:46
 -->
 <template>
   <div class="bigBox">
@@ -18,6 +18,15 @@
         </div>
       </router-link>
     </div>
+    <div class="topLeftBtn rightBtn">
+      <router-link to="/index/taskRegulator" target="_blank">
+        <div class="newHomeBtn">下发任务</div>
+      </router-link>
+      <router-link to="/index/cbd"  target="_blank">
+        <div :class="`newHomeBtn`">管理后台
+        </div>
+      </router-link>
+    </div>
     <div class="left"></div>
     <div class="right"></div>
     <div class="bottom">
@@ -152,7 +161,10 @@ export default {
     left: 2.2vw;
     z-index: 190;
   }
-
+  .rightBtn{
+    left: auto;
+    right: 2.2vw;
+  }
   .content {
     position: absolute;
     top: 0;

+ 2 - 1
minggao/src/page/login/login.vue

@@ -99,7 +99,8 @@ export default {
             // console.log(res);
             if (res.data.data) {
               localStorage.setItem("session", res.data.data.session_key);
-              this.$router.push("/Index/facilitydistribute");
+              // this.$router.push("/Index/facilitydistribute");
+              this.$router.push("/newHome/home");
             }
           });
         } else {