xinelu-applet-ui/pagesC/H5Healthrecord/H5Healthrecord.vue
2024-05-16 08:39:26 +08:00

33 lines
550 B
Vue

<template>
<view>
<web-view :src="src"></web-view>
</view>
</template>
<script>
import {
getHealthKey
} from '@/api/pagesC/H5Healthrecord/index.js'
export default {
data() {
return {
src: '',
};
},
onLoad() {
this.info();
},
methods: {
info() {
getHealthKey(uni.getStorageSync('userinfo').cardNo, uni.getStorageSync('openid')).then(res => {
this.src = 'https://qmjk.jiankangdongying.cn/jkdy/pages/jkda/jkdady?key=' + res.data +
'&dyfs=14'
})
},
}
}
</script>
<style lang="scss">
</style>