xinelu-applet-ui/pagesB/solution/solution.vue
2023-11-08 09:54:26 +08:00

44 lines
986 B
Vue
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<web-view :src="src" @message="handlePostMessage"></web-view>
</view>
</template>
<script>
import {
getUserSig
} from '@/api/pagesB/solution/solution.js'
export default {
data() {
return {
src: '',
userSig: '',
item: {},
};
},
methods: {
info() {
// console.log(this.item.patientId, '88585')
getUserSig(this.item.patientId).then(res => {
this.userSig = res.data
this.src =
`https://msg.xinyilu.cn?userId=5&userName=王晓燕&userSig=eJyrVgrxCdYrSy1SslIy0jNQ0gHzM1NS80oy0zLBwqZQweKU7MSCgswUJStDMwMgMLM0MYHIpFYUZBalAsVNTU2NgDIQ0ZLMXJCYmaWlsZGRoYUh1JTMdKCZFgGhHiGlhkWBZR6mKanpAVW*bpVuMfpGeY5epUZVad6G5qZBjgGZzk6GvqG2SrUAMZovIA__&roomId=456789`
console.log(this.src, '555')
})
},
},
onLoad(options) {
this.item = JSON.parse(options.item)
this.roomId = options.roomId
// console.log(this.roomId, '88888')
this.info()
}
}
</script>
<style lang="scss">
</style>