From 19ecc45a3e1d24af8cbe70a8653388d07c0b6439 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期三, 12 三月 2025 11:53:55 +0800
Subject: [PATCH] gx

---
 src/views/deviceWindoes2.vue |   30 +++++++++++++++++++-----------
 1 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/src/views/deviceWindoes2.vue b/src/views/deviceWindoes2.vue
index da7793e..47a66d4 100644
--- a/src/views/deviceWindoes2.vue
+++ b/src/views/deviceWindoes2.vue
@@ -195,14 +195,14 @@
                   <!-- 透析中状态 -->
                   <div  class="container" v-else  style="height: 50%; ">
                         <div class="item" style="background-color: #FFFFFF;">
-                          <div style="height: 25%;">
+                          <div style="height: 10%;">
                             <div class="container-cord" style="height: 100%;">
                               <img style="width: 25px;" referrerpolicy="no-referrer" :src="sjjd"
                               />
                               <span class="text-group_3">时间进度</span>
                             </div>
                           </div>
-                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
+                          <div style="height: 90%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
                           <div>
                             <span style="color: #303133">{{
                             jgTime4(deviceData.iot_透析时间)
@@ -216,7 +216,7 @@
                           <div>
                             <el-progress
                               :text-inside="true"
-                              :stroke-width="30"
+                              :stroke-width="25"
                               :show-text="false"
                               color="#70A3DD"
                               :percentage="(Number(deviceData.iot_透析时间)/(Number(deviceData.透析处方的时长)*60))*100"
@@ -226,14 +226,14 @@
                           </div>
                         </div>
                         <div class="item" style="background-color: #ffffff;">
-                          <div style="height: 25%;">
+                          <div style="height: 10%;">
                             <div class="container-cord" style="height: 100%;">
                               <img style="width: 25px;" referrerpolicy="no-referrer" :src="cljd"
                               />
                               <span class="text-group_3">超滤进度</span>
                             </div>
                           </div>
-                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #8079CB;" class="grid-container" >
+                          <div style="height: 90%; text-align: center;font-weight: 600;font-size: 50px;color: #8079CB;" class="grid-container" >
                             <div>
                               <span style="color: #303133">{{
                                   Number(deviceData.iot_当前脱水量).toFixed(1)
@@ -248,7 +248,7 @@
                             <div>
                               <el-progress
                                 :text-inside="true"
-                                :stroke-width="30"
+                                :stroke-width="25"
                                 :show-text="false"
                                 color="#70CAAE"
                                 :percentage=" Number(deviceData.iot_当前脱水量)/Number(deviceData.处方脱水量)*100"
@@ -314,9 +314,12 @@
                     </div>
                   </div>
                   <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
-                    +{{
+                    <template v-if="deviceData.透前称重&&deviceData.干体重">
+                      +{{
                         Number(deviceData.透前称重 - deviceData.干体重).toFixed(1)
                       }}
+                    </template>
+                    
                   </div>
                 </div>
                 <div class="item">
@@ -328,7 +331,10 @@
                     </div>
                   </div>
                   <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
-                    {{ deviceData.体重增长率 }}%
+                    <template v-if="deviceData.透前称重&&deviceData.干体重">
+                      {{ deviceData.体重增长率 }}%
+                    </template>
+                    
                   </div>
                 </div>
             </div>
@@ -342,14 +348,16 @@
                       <div class="container-cord" style="height: 100%;">
                         <img style="width: 25px;" referrerpolicy="no-referrer" :src="xinlv"
                         />
-                        <span class="text-group_3">跨膜压/舒张压</span>
+                        <span class="text-group_3">收缩压/舒张压</span>
                       </div>
                     
                     </div>
                     <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
                       <div>
-                         <span @click="initTupiao" v-if="deviceData.iot_静脉压" style="color: #409eff">{{ deviceData.iot_静脉压 }}</span> /
-                        <span v-if="deviceData.iot_跨膜压" :style="{ color: deviceData.iot_跨膜压 > 200 ? 'red' : '', }" >{{ deviceData.iot_跨膜压 }}</span>
+                        <span v-if="deviceData.透前血压_伸缩压" :style="{ color: tqXygj ? 'red' : '#303133' }">{{ deviceData.透前血压_伸缩压 }}/</span >
+                        <span :style="{ color: tqXygj ? 'red' : '#303133' }" style="font-weight: 800; white-space: nowrap">{{ deviceData.透前血压_舒张压 }}</span>
+                         <!-- <span @click="initTupiao" v-if="deviceData.iot_静脉压" style="color: #409eff">{{ deviceData.iot_静脉压 }}</span> /
+                        <span v-if="deviceData.iot_跨膜压" :style="{ color: deviceData.iot_跨膜压 > 200 ? 'red' : '', }" >{{ deviceData.iot_跨膜压 }}</span> -->
                       </div>
                     
                     </div>

--
Gitblit v1.8.0