From fae5df1d3f1ae875ac546cacfb4744b2e8230ca2 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期一, 29 七月 2024 11:07:24 +0800
Subject: [PATCH] 修改了bug

---
 ruoyi-ui/src/views/doctor/index.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue
index 7699bf1..a5ff635 100644
--- a/ruoyi-ui/src/views/doctor/index.vue
+++ b/ruoyi-ui/src/views/doctor/index.vue
@@ -842,10 +842,11 @@
       this.open2 = true
       this.title2 = "鍒嗕韩缁欐垜鐨勬暟鎹�";
       // const list = {"shareId": this.userList}
-      const list = {"shareId": 111}
-      getWhoShare(list,this.queryParams2).then(response => {
+      // const list = {"shareId": 111}
+      getWhoShare(this.queryParams2).then(response => {
         const data = response.data.data
-        console.log(data,'灞曠ず鍒嗕韩缁欐垜鐨勬暟鎹睍绀哄垎浜粰鎴戠殑鏁版嵁s')
+        this.total1 = response.data.total
+        console.log(response,'灞曠ず鍒嗕韩缁欐垜鐨勬暟鎹睍绀哄垎浜粰鎴戠殑鏁版嵁s')
         for(let i in data){
           console.log(i,'灞曠ず鍒嗕韩缁欐垜鐨勬暟鎹睍绀哄垎浜粰鎴戠殑鏁版嵁')
           this.shareList1.push(data[i])
@@ -875,7 +876,7 @@
 
     /** 鍒嗕韩鎿嶄綔 */
     handleShare(row) {
-      this.id1 = row.id
+      this.id1 = [row.id]
       this.open1 = true;
       this.title1 = "鍒嗕韩";
     },

--
Gitblit v1.9.1