From 37d74dab314e02332d4d5b77ec4ec0e494c512df Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 22 七月 2022 17:03:30 +0800
Subject: [PATCH] up
---
src/views/home/index.vue | 120 +++++++++++++++++++++++++++++------------------------------
1 files changed, 59 insertions(+), 61 deletions(-)
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 143c3e4..77c3d32 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -53,6 +53,7 @@
}
else {
clearInterval(timer)
+ const datetimeCON=patientInfoStore().patientInfo.datetime
patientInfoStore().setpatientInfo({
id: 0,
code: '',
@@ -60,7 +61,8 @@
patientAvatarIcon: '',
deviceCode: '',
hemoCode: '',
- pureWeight: ''
+ pureWeight: '',
+ datetime:datetimeCON
})
state.clockNum = patientInfoStore().viewNumber
sockteStore().setweightSockte({
@@ -237,117 +239,113 @@
<el-dialog title="提示" v-model="isLink" width="30%">
<span>sockte连接失败正在重连。。。。。。</span>
</el-dialog>
- <div class="box_7 flex-col justify-between">
- <div class="header flex-col">
- <div class="box_8 flex-row">
+ <div class="header flex-row">
+ <img
+ class="image_1"
+ referrerpolicy="no-referrer"
+ :src="logo"
+ />
+ <span class="text_1">自助签到</span> <span class="text_2">{{clockNum}}</span>
+ </div>
+ <div class="body flex-col">
+ <div class="grid_6 flex-row">
+ <div class="box_1 flex-row">
<img
- class="image_1"
+ class="image_2"
referrerpolicy="no-referrer"
- :src="logo"
+ :src="patientInfo.patientAvatarIcon"
/>
- <span class="text_1">自助签到</span> <span class="text_2">{{clockNum}}</span>
- </div>
- </div>
- <div class="grid_3 flex-row">
- <div class="section_1 flex-col">
- <div class="block_2 flex-row justify-between">
- <div class="image-wrapper_1 flex-col">
- <img
- class="image_2"
- referrerpolicy="no-referrer"
- :src="patientInfo.patientAvatarIcon"
- />
+ <div class="group_9 flex-col">
+ <div class="text-wrapper_31 flex-row justify-between">
+ <span class="text_3">姓名:</span>
+ <span class="text_4">{{patientInfo.name}}</span>
</div>
- <div class="group_6 flex-col">
- <div class="text-wrapper_13 flex-row justify-between">
- <span class="text_3">姓名:</span>
- <span class="text_4">{{patientInfo.name}}</span>
- </div>
- <div class="block_1 flex-col"></div>
- <div class="text-wrapper_14 flex-row justify-between">
- <span class="text_5">透析号:</span>
- <span class="text_6">{{patientInfo.hemoCode}}</span>
- </div>
+ <div class="group_1 flex-col"></div>
+ <div class="text-wrapper_32 flex-row justify-between">
+ <span class="text_5">透析号:</span>
+ <span class="text_6">{{patientInfo.hemoCode}}</span>
</div>
</div>
</div>
- <div class="section_4 flex-col">
- <div class="group_7 flex-row justify-between">
+ <div class="box_2 flex-col">
+ <div class="block_11 flex-row justify-between">
<span class="text_7">血压(mmHg):</span>
<img
+ class="image_3"
v-if="xyjInfo.state === 2"
- class="group_1"
referrerpolicy="no-referrer"
:src="state1"
/>
<img
- v-if="xyjInfo.state === 1"
- class="group_1"
+ class="image_3"
+ v-if="xyjInfo.state === 1"
referrerpolicy="no-referrer"
:src="state2"
/>
<img
- v-if="xyjInfo.state === 0"
- class="group_1"
+ class="image_3"
+ v-if="xyjInfo.state === 0"
referrerpolicy="no-referrer"
:src="state3"
/>
</div>
- <div class="text-wrapper_15 flex-row">
+ <div class="text-wrapper_33 flex-row">
<span class="text_8">{{ gao_ya }}/{{ di_ya }}</span>
</div>
</div>
- <div class="section_5 flex-col">
- <div class="box_9 flex-col">
- <div class="text-wrapper_16 flex-row justify-between">
- <span class="text_9">机号:</span>
- <span class="text_10">{{patientInfo.deviceCode}}</span>
- </div>
- <div class="box_3 flex-col"></div>
- <div class="text-wrapper_17 flex-row justify-between">
- <span class="text_11">干体重(kg):</span>
- <span class="text_12">{{ patientInfo.pureWeight }}</span>
- </div>
- <div class="box_4 flex-col"></div>
- <div class="text-wrapper_18 flex-row justify-between">
- <span class="text_13">目标脱水量(L):</span>
- <span class="text_14">{{aimTSL}}</span>
- </div>
+ <div class="box_3 flex-col">
+ <div class="text-wrapper_34 flex-row justify-between">
+ <span class="text_9">机号:</span> <span class="text_10">{{patientInfo.deviceCode}}</span>
+ </div>
+ <div class="block_1 flex-col"></div>
+ <div class="text-wrapper_35 flex-row justify-between">
+ <span class="text_11">干体重(kg):</span>
+ <span class="text_12">{{ patientInfo.pureWeight }}</span>
+ </div>
+ <div class="block_2 flex-col"></div>
+ <div class="text-wrapper_36 flex-row justify-between">
+ <span class="text_13">目标脱水量(L):</span>
+ <span class="text_14">{{aimTSL}}</span>
</div>
</div>
- <div class="section_6 flex-col">
- <div class="section_12 flex-row justify-between">
+ <div class="box_4 flex-col">
+ <div class="section_10 flex-row justify-between">
<span class="text_15">透前体重(kg):</span>
<img
v-if="weightInfo.state === 2"
- class="group_1"
+ class="image_4"
referrerpolicy="no-referrer"
:src="state1"
/>
<img
- v-if="weightInfo.state === 1"
- class="group_1"
+ v-if="weightInfo.state === 1"
+ class="image_4"
referrerpolicy="no-referrer"
:src="state2"
/>
<img
- v-if="weightInfo.state === 0"
- class="group_1"
+ v-if="weightInfo.state === 0"
+ class="image_4"
referrerpolicy="no-referrer"
:src="state3"
/>
</div>
- <div class="section_13 flex-row justify-between">
+ <div class="section_11 flex-row justify-between">
<span class="text_16">{{ weightInfo.result }}</span>
+
</div>
</div>
</div>
</div>
- <el-input id="inputCode" style="width:50px" @change="inputChabge" v-model="inputCode" ref="inputRef" placeholder="" />
+ <div class="inputDeep" style="display:none;">1
+ <input id="inputCode" style="border-style: none;" type="text" @change="inputChabge" ref="inputRef" :value="inputCode">
+ <!-- <input @change="inputChabge" v-model="inputCode" ref="inputRef" placeholder="" /> -->
+ </div>
</div>
</template>
<style>
@import './css/common.css';
@import './css/index.css';
+
</style>
--
Gitblit v1.8.0