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