修改
This commit is contained in:
parent
12ee94ff23
commit
de6f7760b2
@ -10,10 +10,6 @@
|
|||||||
<view class="health" v-if="tabscurrent==0">
|
<view class="health" v-if="tabscurrent==0">
|
||||||
<healthindex></healthindex>
|
<healthindex></healthindex>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 疾病预警 -->
|
|
||||||
<view class="disease">
|
|
||||||
</view>
|
|
||||||
<!-- 健康处方 -->
|
<!-- 健康处方 -->
|
||||||
<view class="" v-if="tabscurrent==2">
|
<view class="" v-if="tabscurrent==2">
|
||||||
<Precords></Precords>
|
<Precords></Precords>
|
||||||
@ -22,7 +18,7 @@
|
|||||||
<view class="disease" v-if="tabscurrent==1">
|
<view class="disease" v-if="tabscurrent==1">
|
||||||
<view class="btnleftalls">
|
<view class="btnleftalls">
|
||||||
<view class="btnleftall">
|
<view class="btnleftall">
|
||||||
<view class="btnleft" @tap="diseasecv">
|
<view class="btnleft" @tap="diseasecv(item)">
|
||||||
脑血管疾病
|
脑血管疾病
|
||||||
</view>
|
</view>
|
||||||
<view class="btnleft" @tap="diseaselc">
|
<view class="btnleft" @tap="diseaselc">
|
||||||
@ -299,7 +295,7 @@
|
|||||||
</u-table>
|
</u-table>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
|
<u-toast ref="uToast" />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -340,7 +336,7 @@
|
|||||||
backgroundColor: '#26A888',
|
backgroundColor: '#26A888',
|
||||||
},
|
},
|
||||||
datalist: null,
|
datalist: null,
|
||||||
identity: '370522196411282177',
|
identity: '',
|
||||||
cvdEvaRecord: {},
|
cvdEvaRecord: {},
|
||||||
lcdEvaRecord: {},
|
lcdEvaRecord: {},
|
||||||
ckdEvaRecord: {},
|
ckdEvaRecord: {},
|
||||||
@ -351,30 +347,70 @@
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
goodsOrderinfo() {
|
goodsOrderinfo() {
|
||||||
// this.identity=uni.getStorageSync('userinfo').cardNo
|
this.identity = uni.getStorageSync('userinfo').cardNo
|
||||||
// console.log(this.identity)
|
// console.log(this.identity)
|
||||||
riskWarning(this.identity).then(res => {
|
riskWarning(this.identity).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
if (res.code == 200) {
|
||||||
this.cvdEvaRecord = res.data.cvdEvaRecord
|
this.cvdEvaRecord = res.data.cvdEvaRecord
|
||||||
this.lucaEvaRecord = res.data.lucaEvaRecord
|
this.lucaEvaRecord = res.data.lucaEvaRecord
|
||||||
this.lcdEvaRecord = res.data.lcdEvaRecord
|
this.lcdEvaRecord = res.data.lcdEvaRecord
|
||||||
this.ckdEvaRecord = res.data.ckdEvaRecord
|
this.ckdEvaRecord = res.data.ckdEvaRecord
|
||||||
|
} else {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: res.msg,
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 脑
|
// 脑
|
||||||
diseasecv() {
|
diseasecv(item) {
|
||||||
|
console.log(item)
|
||||||
|
console.log(this.cvdEvaRecord)
|
||||||
|
if (this.cvdEvaRecord) {
|
||||||
this.open = true
|
this.open = true
|
||||||
|
} else {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '暂无内容',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 心
|
// 心
|
||||||
diseaselc() {
|
diseaselc() {
|
||||||
|
if (this.lcdEvaRecord) {
|
||||||
this.lookopen = true
|
this.lookopen = true
|
||||||
|
} else {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '暂无内容',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
// 肺癌
|
// 肺癌
|
||||||
diseaselu() {
|
diseaselu() {
|
||||||
|
if (this.lucaEvaRecord) {
|
||||||
this.openfeiai = true
|
this.openfeiai = true
|
||||||
|
} else {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '暂无内容',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
diseaseck() {
|
diseaseck() {
|
||||||
|
if (this.ckdEvaRecord) {
|
||||||
this.lookopenck = true
|
this.lookopenck = true
|
||||||
|
} else {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '暂无内容',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
getServerData() {
|
getServerData() {
|
||||||
//模拟从服务器获取数据时的延时
|
//模拟从服务器获取数据时的延时
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user