From 9c0407d885a97db740419cb63cc6ec9ae257bd5e Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 04 八月 2025 18:08:42 +0800
Subject: [PATCH] gx

---
 src/views/report/index.vue |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/views/report/index.vue b/src/views/report/index.vue
index 61d27ae..ac98e7c 100644
--- a/src/views/report/index.vue
+++ b/src/views/report/index.vue
@@ -125,8 +125,7 @@
     }
 
 
-    const getDatas=(dataDate)=>{
-        console.log('获取数据', dataDate)
+    const getDatas=()=>{
         console.log(userInfo.patient.patientInfo.code)
         // const pagedata={
         // patCode :'PAT9121102427442HIiL',
@@ -143,7 +142,7 @@
                 'Content-Type': 'application/x-www-form-urlencoded',
             },
         }
-        const pasm=`date1=${dataDate.value.startDate}&date2=${dataDate.value.endDate}&isGroupByFeeItem=1&patCode=PAT9121102427442HIiL`
+        const pasm=`date1=${dataDate.value.startDate}&date2=${dataDate.value.endDate}&isGroupByFeeItem=1&patCode=${userInfo.patient.patientInfo.code}`
         loading.value = true // 开始加载
         reportList.value=[]
         const toast = Toast.loading({
@@ -173,7 +172,6 @@
         threeMonthsAgo.setMonth(now.getMonth() - 3)
         dataDate.value.startDate = formatDate(threeMonthsAgo)
         dataDate.value.endDate = formatDate(now)
-        console.log('dataDate', dataDate.value)
         getDatas()
     })
 </script>

--
Gitblit v1.8.0