From a07727bad02f4c7cc72185f03464f457e1111253 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期一, 22 七月 2024 16:17:56 +0800
Subject: [PATCH] 改善了分享模块,还有一点分页的问题

---
 ruoyi-ui/src/api/doctor/index.js    |    3 +--
 ruoyi-ui/src/views/doctor/index.vue |    7 ++++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ruoyi-ui/src/api/doctor/index.js b/ruoyi-ui/src/api/doctor/index.js
index cdc9dd2..6f441e2 100644
--- a/ruoyi-ui/src/api/doctor/index.js
+++ b/ruoyi-ui/src/api/doctor/index.js
@@ -97,11 +97,10 @@
   })
 }
 // 鏌ョ湅璋佸垎浜簡鏁版嵁
-export function getWhoShare(data,query) {
+export function getWhoShare(query) {
   return request({
     url: '/ZfDoctorShare/getInfoByShareId',
     method: 'get',
-    data: data,
     params: query
   })
 }
diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue
index 7699bf1..aa9d11c 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])

--
Gitblit v1.9.1