| | |
| | | <div class="page"> |
| | | <div class="box_1"> |
| | | <div class="userinfo"> |
| | | <div class="name">{{patientInfo.patientInfo.patientName}}</div> |
| | | <div class="name" v-if="patientInfo.patientInfo.patientName !== undefined">{{patientInfo.patientInfo.patientName}}</div> |
| | | <div class="userCode">卡号:{{patientInfo.patientInfo.patientCardNo}} </div> |
| | | <div class="userQRcode"> |
| | | <img |
| | |
| | | <div class="viewInfo"> |
| | | <div class="box"> |
| | | <div class="crainfo"> |
| | | <div class="tizhong">{{patientInfo.weight}}</div> |
| | | <div class="tizhong">{{最近体重血压.体重}}</div> |
| | | </div> |
| | | <div class="hanzhi">体重(kg)</div> |
| | | <div class="yinyu">Patient weight data</div> |
| | | </div> |
| | | <div class="box"> |
| | | <div class="crainfo"> |
| | | <div class="xueya">{{patientInfo.pressure}}</div> |
| | | <div class="xueya"> |
| | | <div v-if="最近体重血压.血压">{{最近体重血压.血压.split('/')[0]}}</div> |
| | | <div style="height: 1px;background-color: #909399;"></div> |
| | | <div v-if="最近体重血压.血压">{{最近体重血压.血压.split('/')[1]}}</div> |
| | | </div> |
| | | </div> |
| | | <div class="hanzhi">血压(mmHg)</div> |
| | | <div class="yinyu">Patient blood pressure data</div> |
| | |
| | | </div> |
| | | <van-tabbar v-model="active" @change="tabChang"> |
| | | <van-tabbar-item name="home" icon="like">首页</van-tabbar-item> |
| | | <van-tabbar-item name="jifen" icon="cart-circle-o">积分商城</van-tabbar-item> |
| | | <van-tabbar-item name="my" icon="manager">我的</van-tabbar-item> |
| | | </van-tabbar> |
| | | </div> |
| | |
| | | const tabChang=(index:any)=>{ |
| | | if (index==='home'){ |
| | | router.push('/') |
| | | } else { |
| | | } else if (index==='jifen') { |
| | | router.push('jifenShangCheng') |
| | | } else if (index==='my') { |
| | | router.push('my') |
| | | } |
| | | } |
| | |
| | | const patientInfo=computed(() => { |
| | | return userInfo.patient |
| | | }) |
| | | const 最近体重血压=computed(() => { |
| | | return userInfo.最近体重血压 |
| | | }) |
| | | const Info=computed(() => { |
| | | return userInfo.info |
| | | }) |
| | |
| | | } |
| | | ) |
| | | onMounted(() => { |
| | | if (userInfo.info.openid===''){ |
| | | router.push('login') |
| | | } |
| | | // if (userInfo.info.openid===''){ |
| | | // router.push('login') |
| | | // } |
| | | console.log(userInfo.patient,'患者信息') |
| | | console.log(userInfo.info,'微信账号信息') |
| | | }) |