chenyc
2023-05-18 a5673d5a3fb9291054a98e56ab359431433ee5fa
src/views/home/index.vue
@@ -270,6 +270,8 @@
            // 计算目标脱水量
            if (Number(weightInfo.value.result) > 0 && Number(patientInfo.value.pureWeight) !== 0&&patientInfo.value.isAfterMed===0) {
              state.aimTSL = (Number(weightInfo.value.result) - Number(patientInfo.value.pureWeight)- Number(patientInfo.value.clothesWeight)).toFixed(2)
            }else if(Number(weightInfo.value.result) > 0 && Number(patientInfo.value.pureWeight) !== 0&&patientInfo.value.isAfterMed===1 && patientInfo.value.preWeight>10){
              state.aimTSL = (Number(weightInfo.value.result) - Number(patientInfo.value.preWeight)- Number(patientInfo.value.clothesWeight)).toFixed(2)
            }
          }
      }
@@ -480,7 +482,7 @@
            <el-col :span="8" class="imgclass">
              <el-image style="width: 100%; height: 85%" :src="patientInfo.patientAvatarIcon" fit="cover" />
            </el-col>
            <el-col :span="15" class="userinfo">
            <el-col :span="15" class="userinfo" style="margin-top: -5%;">
              <el-row>
                <el-col :span="12">
                  <div class="lableclass">
@@ -503,6 +505,18 @@
                <el-col :span="12">
                  <div class="textclass">
                    {{ patientInfo.hemoCode }}
                  </div>
                </el-col>
              </el-row>
              <el-row style="margin-top: 10%;">
                <el-col :span="12">
                  <div class="lableclass">
                    床号:
                  </div>
                </el-col>
                <el-col :span="12">
                  <div class="textclass">
                    {{ patientInfo.deviceNo }}
                  </div>
                </el-col>
              </el-row>
@@ -564,8 +578,11 @@
          </el-row>
          <el-row class="rowdiv">
            <el-col :span="12">
              <div class="lableclass">
              <div v-if="patientInfo.isAfterMed===0" class="lableclass">
                目标脱水量(L):
              </div>
              <div v-else class="lableclass">
                体重减少(kg):
              </div>
            </el-col>
            <el-col :span="12">
@@ -580,9 +597,12 @@
        <div class="divcol" :style="{ height: haodu }">
          <el-row class="titleHand">
            <el-col :span="12">
              <div class="tilaft">
              <div class="tilaft" v-if="patientInfo.isAfterMed===0">
                透前体重(kg):
              </div>
              <div class="tilaft" v-else>
                透后体重(kg):
              </div>
            </el-col>
            <el-col :span="12">
              <div class="tiregth">