From 0878950e171bcaeb0cf8064c72d6f5a330eea4da Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期三, 07 二月 2024 16:41:59 +0800
Subject: [PATCH] g更新设备号和干体重开关

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

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 12bf9b3..d656ad0 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -77,25 +77,23 @@
                         <el-col :span="8">
                             <div class="textwenben" style="height: 28%; font-size: 25px;background-color: #DFB144; border-radius: 12px 0 0 0;">
                               <template v-if="configData.deviceType==='体重秤'">
-                                <template v-if="patientInfo.isAfterMed===0">
+                                <template v-if="patientInfo.isAfterMed===0&&!configData.gantiziShow">
                                   机号/床位号
                                 </template>
                                 <template v-else>干体重(kg)</template>
                                   
                               </template>
                               <template v-else>
-                                <template v-if="patientInfo.isAfterMed===0">
+                                <template v-if="!configData.gantiziShow">
                                   机号/床位号
                                 </template>
-                                <template v-else>
-                                  机号/床位号
-                                </template>
+                                <template v-else>干体重(kg)</template>
                                 
                               </template>
                             </div>
                             <div class="textwenben" style="height: 70%; font-size: 80px; color: #DFB144;">
                               <template v-if="configData.deviceType==='体重秤'">
-                                  <template v-if="patientInfo.isAfterMed===0">
+                                  <template v-if="patientInfo.isAfterMed===0&&!configData.gantiziShow">
                                     {{ patientInfo.deviceNo }}
                                   </template>
                                   <template v-else>{{patientInfo.pureWeight}}</template>

--
Gitblit v1.8.0