From 35a85b085df4c76c38c76dfda74aa4527cea0b5b Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 28 二月 2025 15:57:06 +0800
Subject: [PATCH] gx

---
 src/views/home/index.vue |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 15c14ab..e2ec58e 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -152,7 +152,7 @@
         </el-row>
         <div class="fixed-div" v-show="patientsInfo.patientName">
             <el-avatar :size="80" :src="patientsInfo.patientAvatarIcon" />
-            <div @click="state.isTable = false">{{ patientsInfo.patientName }}</div>
+            <div>{{ patientsInfo.patientName }}</div>
         </div>
     </div>
 </template>
@@ -162,6 +162,7 @@
 import { reactive, onMounted, ref, watch, nextTick, onActivated, markRaw } from 'vue';
 import { QueryList,getRecordsInToday2 } from '/@/api/Patients'
 import { storeToRefs } from 'pinia';
+import {formatDate} from '/@/utils/formatTime'
 import { useUserInfo } from '/@/stores/userInfo';
 import { usePatientsInfo } from '/@/stores/patientsInfo';
 const stores = useUserInfo();
@@ -261,8 +262,8 @@
         patientName:state.search.toLowerCase(),
         orderCondition:2,
         clientCode:userInfos.value.clientCode,
-        dateBegin:"2025-02-18 00:00:00",
-        dateEnd:"2025-02-18 23:59:59"
+        dateBegin:formatDate(new Date(),'YYYY-mm-dd')+ " 00:00:00",
+        dateEnd:formatDate(new Date(),'YYYY-mm-dd')+" 23:59:59"
     }
     const loading = ElLoading.service({
         lock: true,
@@ -336,8 +337,6 @@
 </script>
 
 <style lang="scss">
-$homeNavLengh: 8;
-
 .home-container {
     overflow: hidden;
 
@@ -406,8 +405,4 @@
     }
 }
 
-.parent {
-    display: grid;
-    grid-template-columns: minmax(150px, 20%) 1fr;
-}
 </style>

--
Gitblit v1.8.0