chenyincheng
2023-02-25 265a8092c4a0a13a35de104905b92963f578e7f1
src/views/home/index.vue
@@ -140,6 +140,7 @@
              patientCodeLs=''
              patientCodeLsXy=''
              console.log(patientCodeLs,'患者codec初始化')
        state.aimTSL = ''
              sockteStore().setweightSockte({
                      type: "体重秤",
                      state: 2,
@@ -247,9 +248,7 @@
                      speech.value?.speak({text:"没有识别的患者,请先验证患者"}).then(()=>{
                        console.log("播报完成...")
                      })  
                        settime()
                    } else {
                        settime()
                        const mode = {
                            patientCode: patientInfo.value.code,
                            weight: '',
@@ -354,20 +353,10 @@
        </el-dialog>
        <el-row class="header">
          <el-col :span="8">
              <img
              class="image_1"
              referrerpolicy="no-referrer"
              :src="logo"
            />
        <img class="image_1" referrerpolicy="no-referrer" :src="logo" />
            <div class="inpu" >
              <el-input
                v-model="inputCode"
                ref="inputRef"
                id="inputCode"
                class="inputCode"
                @change="inputChabge"
                placeholder="请输入患者卡号或扫描条码"
              />
          <el-input v-model="inputCode" ref="inputRef" id="inputCode" class="inputCode" @change="inputChabge"
            placeholder="请输入患者卡号或扫描条码" />
            </div>
          </el-col>
          <el-col :span="8" class="titleText">
@@ -424,24 +413,9 @@
              </el-col>
              <el-col  :span="12">
                <div class="tiregth">
                  <img
                  class="image_3"
                  v-if="xyjInfo.state === 2"
                  referrerpolicy="no-referrer"
                  :src="state1"
                />
                <img
                  class="image_3"
                  v-if="xyjInfo.state === 1"
                  referrerpolicy="no-referrer"
                  :src="state2"
                />
                <img
                  class="image_3"
                  v-if="xyjInfo.state === 0"
                  referrerpolicy="no-referrer"
                  :src="state3"
                />
                <img class="image_3" v-if="xyjInfo.state === 2" referrerpolicy="no-referrer" :src="state1" />
                <img class="image_3" v-if="xyjInfo.state === 1" referrerpolicy="no-referrer" :src="state2" />
                <img class="image_3" v-if="xyjInfo.state === 0" referrerpolicy="no-referrer" :src="state3" />
                </div>
              </el-col>
            </el-row>
@@ -505,24 +479,9 @@
              </el-col>
              <el-col  :span="12">
                <div class="tiregth">
                  <img
                  v-if="weightInfo.state === 2"
                  class="image_4"
                  referrerpolicy="no-referrer"
                  :src="state1"
                />
                <img
                  v-if="weightInfo.state === 1"
                  class="image_4"
                  referrerpolicy="no-referrer"
                  :src="state2"
                />
                <img
                  v-if="weightInfo.state === 0"
                  class="image_4"
                  referrerpolicy="no-referrer"
                  :src="state3"
                />
                <img v-if="weightInfo.state === 2" class="image_4" referrerpolicy="no-referrer" :src="state1" />
                <img v-if="weightInfo.state === 1" class="image_4" referrerpolicy="no-referrer" :src="state2" />
                <img v-if="weightInfo.state === 0" class="image_4" referrerpolicy="no-referrer" :src="state3" />
                </div>
              </el-col>
            </el-row>
@@ -543,15 +502,18 @@
  padding: 0;
}
.inpu{
  margin-top: 20px;
}
.header{
  height: 40px;
  background: #FFFFFF;
  box-shadow: 1px 3px 5px 0px #E9E9E9;
  margin-bottom: 10px;
}
.inputcla{
  padding-top: 5px;
  text-align: right;
@@ -561,6 +523,7 @@
  color: #FF7472;
}
.titleText{
  text-align: center;
  color: red;
@@ -580,16 +543,19 @@
  padding-right: 0.5rem;
  background: #FFFFFF;
}
.rowdiv{
  /* background: #769AFF; */
  font-size: 300%;
  height: 15%;
  margin-top: 5%;
}
.titleHand{
  /* background: #769AFF; */
  height: 15%;
}
.tilaft{
  text-align: left;
  font-size: 300%;
@@ -599,15 +565,18 @@
  line-height: 42px;
  letter-spacing: 1px;
}
.tiregth{
  text-align: right;
  padding-left: 5px;
}
.divbody{
  height: 70%;
  width: 100%;
  display:table;
}
.bodeText{
  display:table-cell; 
  vertical-align:middle;
@@ -619,18 +588,21 @@
  color: #769AFF;
  /* line-height: 100%; */
}
.imgclass{
  /* background: red; */
  height: 100%;
  /* padding-top: 5%; */
  /* padding-top: ; */
}
.userinfo{
  padding-top: 6%;
  /* background: #769AFF; */
  font-size: 300%;
  text-align: right;
}
.lableclass{
  text-align: right;
  font-weight: 400;
@@ -638,6 +610,7 @@
  /* background: #769AFF; */
}
.textclass{
  text-align: left;
  font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
@@ -645,8 +618,4 @@
  color: #769AFF;
  
}
</style>