From ec2f4293d56f72805313437f79125840043a8079 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 31 七月 2025 15:23:08 +0800
Subject: [PATCH] 测试完成

---
 src/components/Assistant/index.vue |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/src/components/Assistant/index.vue b/src/components/Assistant/index.vue
index a77428a..356ef75 100644
--- a/src/components/Assistant/index.vue
+++ b/src/components/Assistant/index.vue
@@ -42,7 +42,7 @@
         <div
           v-for="(item, index) in powerList"
           :key="index"
-          @click.stop="activeHandle(index)"
+          @click.stop="activeHandle(index,item.url)"
         >
           <div
             :class="activeIndex == index ? 'active power-item' : 'power-item'"
@@ -105,22 +105,27 @@
       powerList: [
         {
           path: require("@/assets/images/huanzheliebiao.png"),
+          url:'/patient/patient/',
           label: "鎮h��",
         },
         {
           path: require("@/assets/images/fwwu.png"),
-          label: "鏈嶅姟",
+          url:'/followvisit/tasklist/',
+          label: "浠诲姟",
         },
         {
           path: require("@/assets/images/duanxinjilu.png"),
+          url:'',
           label: "鐭俊",
         },
         {
           path: require("@/assets/images/dianhua.png"),
+          url:'',
           label: "鐢佃瘽",
         },
         {
           path: require("@/assets/images/zxlt.png"),
+          url:'',
           label: "鍦ㄧ嚎鑱婂ぉ",
         },
       ],
@@ -137,8 +142,8 @@
         // 鑾峰彇鍏冪礌浣嶇疆灞炴��
         this.floatDragDom = this.floatDrag.getBoundingClientRect();
         // 璁剧疆鍒濆浣嶇疆
-        // this.left = this.clientWidth - this.floatDragDom.width - this.distanceRight;
-        this.right = 0;
+        this.left = this.clientWidth - this.floatDragDom.width - this.distanceRight;
+        // this.right = 0;
         this.top =
           this.clientHeight - this.floatDragDom.height - this.distanceBottom;
         this.initDraggable();
@@ -164,9 +169,12 @@
       console.log("鏄惁灞曞紑", this.flag);
     },
     // 鐐瑰嚮鍝釜power
-    activeHandle(index) {
+    activeHandle(index,url) {
       //鎶婃垜浠嚜瀹氫箟鐨勪笅鏍囪祴鍊�
       this.activeIndex = index;
+      this.$router.push({
+        path: url,
+      })
       console.log("HHHH", index);
     },
     // 鑾峰彇瑕佹敼鍙樺緱鏍峰紡灞炴��
@@ -353,7 +361,7 @@
 
   display: block;
   background: black;
-  background: -webkit-radial-gradient(100px 100px, circle, #5788fe, #292929);
+  background: -webkit-radial-gradient(100px 100px, circle, #5788FE, #292929);
   //   background: -moz-radial-gradient(100px 100px, circle, #35a1a1, #000);Firefox 娴忚鍣ㄧ殑瀹炵幇
   //   background: radial-gradient(100px 100px, circle, #35a1a1, #000);鏍囧噯 HTML5 灞炴��
   margin: 0;

--
Gitblit v1.9.3