From 40a2d67a26ab71f85a4ed282010663af0a8d97c9 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 26 八月 2025 16:43:55 +0800
Subject: [PATCH] gx

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

diff --git a/src/views/report/index.vue b/src/views/report/index.vue
index 8aa3097..08cb07a 100644
--- a/src/views/report/index.vue
+++ b/src/views/report/index.vue
@@ -142,7 +142,10 @@
                 'Content-Type': 'application/x-www-form-urlencoded',
             },
         }
-        const pasm=`date1=${dataDate.value.startDate}&date2=${dataDate.value.endDate}&isGroupByFeeItem=1&patCode=PAT9121102427442HIiL`
+        let pasm=`date1=${dataDate.value.startDate}&date2=${dataDate.value.endDate}&isGroupByFeeItem=1&patCode=${userInfo.patient.patientInfo.code}`
+        if (!dataDate.value.startDate||!dataDate.value.endDate){
+            pasm=`date1=2020-01-01&date2=2030-01-01&isGroupByFeeItem=1&patCode=${userInfo.patient.patientInfo.code}`
+        }
         loading.value = true // 开始加载
         reportList.value=[]
         const toast = Toast.loading({
@@ -236,6 +239,7 @@
     border-radius: 5pt;
     margin-bottom: 10pt;
     padding: 7pt;
+    border-bottom: 1px solid #b4afaf;
 }
 
 .icon {

--
Gitblit v1.8.0