单应用项目,可以创建很多独立工具类页面 ,不用登录 初始化的页面
gx
chenyc
2025-03-07 b84b6d1f81d1c9fa87783394a509e78d4e2ff39f
src/views/deviceWindoes2.vue
@@ -76,14 +76,14 @@
                  <el-row style="height: 50%; ">
                    <div style="width: 100%; height: 100%;border-radius: 8px;">
                      <div class="item" style="background-color: #ffffff;height: 97%;">
                          <div style="height: 30%;">
                          <div style="height: 25%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 35px;" referrerpolicy="no-referrer" :src="tsl"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="tsl"
                              />
                              <span class="text-group_3">血压</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 92px;color: #70A3DD;" class="grid-container" >
                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 65px;color: #70A3DD;" class="grid-container" >
                            {{床旁血压计.sbp}} / {{床旁血压计.dbp}}
                          </div>
                      </div>
@@ -93,14 +93,14 @@
                  <el-row style="height: 50%;">
                    <div style="width: 100%; height: 100%;border-radius: 8px;">
                      <div class="item" style="background-color: #ffffff;height: 97%;">
                          <div style="height: 30%;">
                          <div style="height: 25%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 32px;" referrerpolicy="no-referrer" :src="xinlv"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="xinlv"
                              />
                              <span class="text-group_3">心率</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 92px;color: #70A3DD;" class="grid-container" >
                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 65px;color: #70A3DD;" class="grid-container" >
                            {{床旁血压计.pulseRate}}
                          </div>
                      </div>
@@ -116,42 +116,42 @@
                      <el-row style="height: 100%;" :gutter="10">
                        <el-col class="itemboy" style="height:100%" :span="7">
                          <div class="item" style="background-color: #ffffff;height: 97%;">
                          <div style="height: 30%;">
                          <div style="height: 25%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 32px;" referrerpolicy="no-referrer" :src="zlms"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="zlms"
                              />
                              <span class="text-group_3">治疗模式</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #D58E56;" class="grid-container" >
                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #D58E56;" class="grid-container" >
                            {{ deviceData.透析方案 }}
                          </div>
                        </div>
                        </el-col>
                        <el-col class="itemboy" style="height:100%" :span="7">
                          <div class="item" style="background-color: #ffffff;height: 97%;">
                          <div style="height: 30%;">
                          <div style="height: 25%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 32px;" referrerpolicy="no-referrer" :src="txztimg"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="txztimg"
                              />
                              <span class="text-group_3">治疗状态</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #70A3DD;" class="grid-container" >
                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #70A3DD;" class="grid-container" >
                          {{txztText}}
                          </div>
                        </div>
                        </el-col>
                        <el-col class="itemboy" style="height:100%" :span="10">
                          <div class="item" style="background-color: #ffffff;height: 97%;">
                          <div style="height: 30%;">
                          <div style="height: 25%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 32px;" referrerpolicy="no-referrer" :src="txq"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="txq"
                              />
                              <span class="text-group_3">人工肾</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 50px;color: #8079CB;" class="grid-container" >
                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #8079CB;" class="grid-container" >
                            {{deviceData.透析器}}
                          </div>
                        </div>
@@ -163,14 +163,14 @@
                  <!-- 签到未签到状态 -->
                  <div class="container" v-if="Number(deviceData.透析状态) < 1"  style="height: 50%; ">
                        <div class="item" style="background-color: #FFFFFF;">
                          <div style="height: 30%;">
                          <div style="height: 25%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 32px;" referrerpolicy="no-referrer" :src="xinlv"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="xinlv"
                              />
                              <span class="text-group_3">透前血压、心率</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #333333;" class="grid-container" >
                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
                            <div>
                              <span v-if="deviceData.透前血压_伸缩压" :style="{ color: tqXygj ? 'red' : '#303133' }">{{ deviceData.透前血压_伸缩压 }}/</span >
                              <span :style="{ color: tqXygj ? 'red' : '#303133' }" style="font-weight: 800; font-size: 200%; white-space: nowrap">{{ deviceData.透前血压_舒张压 }}</span>
@@ -179,14 +179,14 @@
                          </div>
                        </div>
                        <div class="item" style="background-color: #ffffff;">
                          <div style="height: 30%;">
                          <div style="height: 25%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 32px;" referrerpolicy="no-referrer" :src="tsl"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="tsl"
                              />
                              <span class="text-group_3">处方脱水量</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #8079CB;" class="grid-container" >
                          <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #8079CB;" class="grid-container" >
                            <span v-if="deviceData.处方脱水量"></span>
                            {{deviceData.处方脱水量}} L
                          </div>
@@ -195,14 +195,14 @@
                  <!-- 透析中状态 -->
                  <div  class="container" v-else  style="height: 50%; ">
                        <div class="item" style="background-color: #FFFFFF;">
                          <div style="height: 30%;">
                          <div style="height: 10%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 32px;" referrerpolicy="no-referrer" :src="sjjd"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="sjjd"
                              />
                              <span class="text-group_3">时间进度</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;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: 30%;">
                          <div style="height: 10%;">
                            <div class="container-cord" style="height: 100%;">
                              <img style="width: 32px;" referrerpolicy="no-referrer" :src="cljd"
                              <img style="width: 25px;" referrerpolicy="no-referrer" :src="cljd"
                              />
                              <span class="text-group_3">超滤进度</span>
                            </div>
                          </div>
                          <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;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"
@@ -269,65 +269,65 @@
            <div v-if="Number(deviceData.透析状态) < 1"  style="height: 70%;width: 100%;">
              <div class="container">
                <div class="item">
                  <div style="height: 30%;">
                  <div style="height: 25%;">
                    <div class="container-cord" style="height: 100%;">
                      <img style="width: 32px;" referrerpolicy="no-referrer" :src="tizhong"
                      <img style="width: 25px;" referrerpolicy="no-referrer" :src="tizhong"
                      />
                      <span class="text-group_3">干体重</span>
                    </div>
                    
                  </div>
                  <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #333333;" class="grid-container" >
                  <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
                    {{ Number(deviceData.干体重).toFixed(1) }}
                  </div>
                </div>
                <div class="item">
                  <div style="height: 30%;">
                  <div style="height: 25%;">
                    <div class="container-cord" style="height: 100%;">
                      <img style="width: 32px;" referrerpolicy="no-referrer" :src="tizhong"
                      <img style="width: 25px;" referrerpolicy="no-referrer" :src="tizhong"
                      />
                      <span class="text-group_3" >透前称重</span>
                    </div>
                  </div>
                  <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #333333;" class="grid-container" >
                  <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
                    {{ Number(deviceData.透前称重).toFixed(1) }}
                  </div>
                </div>
                <div class="item">
                  <div style="height: 30%;">
                  <div style="height: 25%;">
                    <div class="container-cord" style="height: 100%;">
                      <img style="width: 32px;" referrerpolicy="no-referrer" :src="tizhong"
                      <img style="width: 25px;" referrerpolicy="no-referrer" :src="tizhong"
                      />
                      <span class="text-group_3">上次透后体重</span>
                    </div>
                  </div>
                  <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #333333;" class="grid-container" >
                  <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
                    {{ Number(deviceData.上次透后称重).toFixed(1) }}
                  </div>
                </div>
                <div class="item">
                  <div style="height: 30%;">
                  <div style="height: 25%;">
                    <div class="container-cord" style="height: 100%;">
                      <img style="width: 32px;" referrerpolicy="no-referrer" :src="tizhong"
                      <img style="width: 25px;" referrerpolicy="no-referrer" :src="tizhong"
                      />
                      <span class="text-group_3" >体重增长</span>
                    </div>
                  </div>
                  <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #333333;" class="grid-container" >
                  <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
                    +{{
                        Number(deviceData.透前称重 - deviceData.干体重).toFixed(1)
                      }}
                  </div>
                </div>
                <div class="item">
                  <div style="height: 30%;">
                  <div style="height: 25%;">
                    <div class="container-cord" style="height: 100%;">
                      <img style="width: 32px;" referrerpolicy="no-referrer" :src="tizhong"
                      <img style="width: 25px;" referrerpolicy="no-referrer" :src="tizhong"
                      />
                      <span class="text-group_3">增长率</span>
                    </div>
                  </div>
                  <div style="height: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #333333;" class="grid-container" >
                  <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #333333;" class="grid-container" >
                    {{ deviceData.体重增长率 }}%
                  </div>
                </div>
@@ -338,15 +338,15 @@
              <el-row style="height:100%" :gutter="20">
                <el-col :span="6" style="height: 100%; ">
                  <div class="item" style="height: 100%;padding-bottom: 10px; gap: 10px; /* 设置所有方向的间距为10px */">
                    <div style="height: 30%;">
                    <div style="height: 25%;">
                      <div class="container-cord" style="height: 100%;">
                        <img style="width: 32px;" referrerpolicy="no-referrer" :src="xinlv"
                        <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: 70%; text-align: center;font-weight: 600;font-size: 78px;color: #333333;" class="grid-container" >
                    <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>
@@ -370,7 +370,7 @@
              </el-row>
            </div>
            <!-- 消息提示一直显示最新的消息 -->
            <div  style="height: 30%;width: 100%;background: #FEF0E1;;border-radius: 8px; font-size: 25px;">
            <div  style="height: 30%;width: 100%;background: #FEF0E1;;border-radius: 8px; font-size: 30px;">
              <div style="height: 100%;">
                <div class="container-cord" style="height: 100%;padding-left: 20PX;">
                  <img style="width: 25px;"
@@ -1524,7 +1524,7 @@
      margin-left:10px;
          font-family: PingFangSC, PingFang SC;
          font-weight: 600;
          font-size: 26px;
          font-size: 20px;
      }
  }