From 070ff71561be29e98bbc90e6d77f43f806f5b50b Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期四, 09 一月 2025 16:12:50 +0800
Subject: [PATCH] 34

---
 src/views/home/components/suifangjilu/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/home/components/suifangjilu/index.vue b/src/views/home/components/suifangjilu/index.vue
index 30b27dc..0585588 100644
--- a/src/views/home/components/suifangjilu/index.vue
+++ b/src/views/home/components/suifangjilu/index.vue
@@ -3,7 +3,8 @@
         <el-row>
             <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
                 <div class="tableDiv">
-                    <table>
+                    <el-scrollbar :height="(tableHeight-130)+'px'">
+                    <table v-if="tableHeight > 0" >
                         <tr>
                             <th colspan="7" style="text-align: left">营养服务管理记录</th>
                         </tr>
@@ -545,6 +546,7 @@
                         </tr>
 
                     </table>
+                    </el-scrollbar>
                 </div>
             </el-col>
             
@@ -660,7 +662,7 @@
         wherecondition: `survery_form_type=1 and patient_code='${patientsInfo.value.code}'`,
         ordercondition: 'survery_time desc'
     }
-    pasm.wherecondition += "and suvery_form_name='营养风险筛查表(NRS2002)'"
+    pasm.wherecondition += "and suvery_form_name='NRS2002'"
     const yinyangbiaodan1 = await list(pasm)
     return yinyangbiaodan1
 }
@@ -672,7 +674,7 @@
         wherecondition: `survery_form_type=1 and patient_code='${patientsInfo.value.code}'`,
         ordercondition: 'survery_time desc'
     }
-    pasm.wherecondition += "and suvery_form_name='GNIR营养评估分'"
+    pasm.wherecondition += "and suvery_form_name='GNRI'"
     const yinyangbiaodan1 = await list(pasm)
     return yinyangbiaodan1
 }

--
Gitblit v1.8.0