chenyincheng
2023-03-18 86210aee9fd2816718b90cdfc2c2cfd5816efe8f
src/views/home/index.vue
@@ -47,6 +47,9 @@
    const weightInfo = computed(() => {
      return sockte.weightSockte
    })
    const faceInfo = computed(() => {
      return sockte.faceInfoSockte
    })
    const xyjInfo = computed(() => {
      return sockte.xyjSockte
    })
@@ -289,6 +292,14 @@
        }
      }
    );
    watch(
      ()=>faceInfo.value.result,
      ()=>{
        console.log('页面收到了人脸识别')
        sendPationCodeApi(faceInfo.value.result)
        // console.log(faceInfo.value.result)
      }
    )
    watch(() => viewNumber,
      () => {
        state.clockNum = viewNumber.value
@@ -431,12 +442,12 @@
          <el-row class="rowdiv">
            <el-col :span="12">
              <div class="lableclass">
                机号:
                衣物重(kg):
              </div>
            </el-col>
            <el-col :span="12">
              <div class="textclass">
                {{ patientInfo.deviceCode }}
                {{ patientInfo.clothesWeight }}
              </div>
            </el-col>
          </el-row>