身份证cardNo
This commit is contained in:
parent
bfc88ff4bf
commit
ab7e2f1547
@ -4,7 +4,7 @@
|
||||
<view class="health_top">
|
||||
<image image v-if="healthdata.hiEva<650" :src="require('../images/red.png')">
|
||||
<image image v-if="healthdata.hiEva>850" :src="require('../images/green.png')" image>
|
||||
<image v-if="healthdata.hiEva > 650" :src="require('../images/yellow.png')" image>
|
||||
<image v-if="850>healthdata.hiEva >= 650" :src="require('../images/yellow.png')" image>
|
||||
<view class="count">
|
||||
<view class="numbers">{{healthdata.hiEva}}</view>
|
||||
<view class="healths">健康指数</view>
|
||||
@ -12,19 +12,19 @@
|
||||
</view>
|
||||
<view class="health_body">
|
||||
<view class="healthitem">
|
||||
血压(mmHg):{{healthdata.physicalSign.bp.sbp}}/{{healthdata.physicalSign.bp.dbp}}
|
||||
血压(mmHg):{{healthdata.physicalSign.bp.sbp?healthdata.physicalSign.bp.sbp:''}}/{{healthdata.physicalSign.bp.dbp?healthdata.physicalSign.bp.dbp:''}}
|
||||
</view>
|
||||
<view class="healthitem">
|
||||
空腹血糖(mmol/L):{{healthdata.physicalSign.bg.bg}}
|
||||
空腹血糖(mmol/L):{{healthdata.physicalSign.bg.bg?healthdata.physicalSign.bg.bg:''}}
|
||||
</view>
|
||||
<view class="healthitem">
|
||||
血脂(TC/LDL-C):{{healthdata.physicalSign.bf.tc}}/{{healthdata.physicalSign.bf.ldlc}}
|
||||
血脂(TC/LDL-C):{{healthdata.physicalSign.bf.tc?healthdata.physicalSign.bf.tc:''}}/{{healthdata.physicalSign.bf.ldlc?healthdata.physicalSign.bf.ldlc:''}}
|
||||
</view>
|
||||
<view class="healthitem">
|
||||
体质指数(BMI):{{healthdata.physicalSign.bmi.bmi}}
|
||||
体质指数(BMI):{{healthdata.physicalSign.bmi.bmi?healthdata.physicalSign.bmi.bmi:''}}
|
||||
</view>
|
||||
<view class="healthitem">
|
||||
腰围(cm):{{healthdata.physicalSign.waist.waist}}
|
||||
腰围(cm):{{healthdata.physicalSign.waist.waist?healthdata.physicalSign.waist.waist:''}}
|
||||
</view>
|
||||
</view>
|
||||
<!-- 折线图 -->
|
||||
@ -118,8 +118,8 @@
|
||||
methods: {
|
||||
infohealths() {
|
||||
if (uni.getStorageSync("userinfo").cardNo) {
|
||||
// this.cardNo=uni.getStorageSync("userinfo").cardNo
|
||||
this.cardNo = '370522196411282177'
|
||||
this.cardNo=uni.getStorageSync("userinfo").cardNo
|
||||
// this.cardNo = '370522196411282177'
|
||||
healthIndexdata(this.cardNo).then(res => {
|
||||
this.healthdata = res.data
|
||||
})
|
||||
@ -201,12 +201,11 @@
|
||||
|
||||
<style lang="scss">
|
||||
.app {
|
||||
height: 100vh;
|
||||
// height: 100vh;
|
||||
background-color: #fff;
|
||||
// padding: 100rpx 40rpx;
|
||||
text-align: center;
|
||||
font-size: 36rpx;
|
||||
|
||||
// 健康
|
||||
.health {
|
||||
width: 100%;
|
||||
|
||||
@ -59,8 +59,8 @@
|
||||
},
|
||||
lastrecodelist() {
|
||||
if (uni.getStorageSync("userinfo").cardNo) {
|
||||
// this.cardNo=uni.getStorageSync("userinfo").cardNo
|
||||
this.cardNo = '370522196411282177'
|
||||
this.cardNo=uni.getStorageSync("userinfo").cardNo
|
||||
// this.cardNo = '370522196411282177'
|
||||
lastrecode(this.cardNo).then(res => {
|
||||
this.lastrecodedata = res.data
|
||||
this.show = false
|
||||
|
||||
@ -64,8 +64,8 @@
|
||||
methods: {
|
||||
lastrecodelist() {
|
||||
if (uni.getStorageSync("userinfo").cardNo) {
|
||||
// this.cardNo=uni.getStorageSync("userinfo").cardNo
|
||||
this.cardNo = '370522196411282177'
|
||||
this.cardNo=uni.getStorageSync("userinfo").cardNo
|
||||
// this.cardNo = '370522196411282177'
|
||||
dayList(this.cardNo).then(res => {
|
||||
this.itemlistleft = res.data
|
||||
this.recordCode=res.data[0].list[0].recordCode
|
||||
|
||||
@ -341,7 +341,7 @@
|
||||
orderStatus: 'WAIT_RECEIVED_GOODS',
|
||||
}],
|
||||
datalist: null,
|
||||
identity: '370522196411282177',
|
||||
identity: '',
|
||||
cvdEvaRecord: {},
|
||||
lcdEvaRecord: {},
|
||||
ckdEvaRecord: {},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user