From aa05304d221b1883d746e686f390d6f3fba598a7 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期五, 24 五月 2024 09:36:09 +0800
Subject: [PATCH] feat:动态数据中心

---
 src/layout/components/Navbar.vue |   28 ++++++++++++++++------------
 1 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index a122c07..7defbcf 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -38,15 +38,14 @@
       </el-dropdown>
 
     </div>
-    <div class="test-container">
-      <el-button-group style="vertical-align: text-bottom;">
-        <el-button @click="exchange(100)">鐪佸巺瑙掕壊</el-button>
-        <el-button @click="exchange(103)">鍖哄幙瑙掕壊</el-button>
-        <el-button @click="exchange(2)">杩愮淮瑙掕壊</el-button>
-      </el-button-group>
-    </div>
     <div class="button-container">
       <el-button type="primary" @click="toScreen">鍙鍖栧ぇ灞�</el-button>
+    </div>
+    <div class="button-container">
+      <el-button type="primary" @click="toSystemB">璺宠浆B绯荤粺</el-button>
+    </div>
+    <div class="button-container">
+      <el-button type="primary" @click="toSystemA">璺宠浆A绯荤粺</el-button>
     </div>
   </div>
 </template>
@@ -97,11 +96,6 @@
     }
   },
   methods: {
-    exchange(roleId) {
-      exchangeRole(roleId).then(response => {
-        this.$modal.msgSuccess("淇敼鎴愬姛");
-      }).catch(() => { });
-    },
     toggleSideBar() {
       this.$store.dispatch('app/toggleSideBar')
     },
@@ -121,6 +115,16 @@
       this.$router.push({
         path: '/screen'
       })
+    },
+    toSystemA() {
+      this.$router.push({
+        path: '/screen'
+      })
+    },
+    toSystemB() {
+      this.$router.push({
+        path: '/screen'
+      })
     }
   }
 }

--
Gitblit v1.8.0