修改
This commit is contained in:
parent
3c2871988d
commit
536a5f9a4c
@ -24,7 +24,7 @@
|
|||||||
userSig: '', //获取userSig
|
userSig: '', //获取userSig
|
||||||
roomId: '', //获取roomId
|
roomId: '', //获取roomId
|
||||||
userId: '',
|
userId: '',
|
||||||
userName:'',//医生Name
|
userName: '', //医生Name
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@ -34,10 +34,10 @@
|
|||||||
this.userName = res.data.personName
|
this.userName = res.data.personName
|
||||||
this.getUserSig()
|
this.getUserSig()
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getUserSig() {
|
getUserSig() {
|
||||||
@ -45,22 +45,21 @@
|
|||||||
getUserSig(this.userId).then(res => {
|
getUserSig(this.userId).then(res => {
|
||||||
this.userSig = res.data
|
this.userSig = res.data
|
||||||
// 获取roomId
|
// 获取roomId
|
||||||
consultation(this.datalist.goodsOrderId).then(resp => {
|
consultation(this.datalist.goodsOrderId).then(resp => {
|
||||||
if(resp.code==200){
|
if (resp.code == 200) {
|
||||||
this.roomId = resp.msg
|
this.roomId = resp.msg
|
||||||
this.src =
|
this.src =
|
||||||
`https://msg.xinyilu.cn?userId=5&userName=王晓燕&userSig=eJyrVgrxCdYrSy1SslIy0jNQ0gHzM1NS80oy0zLBwqZQweKU7MSCgswUJStDMwMgMLM0MYHIpFYUZBalAsVNTU2NgDIQ0ZLMXJCYmaWlsZGRoYUh1JTMdKCZFgGhHiGlhkWBZR6mKanpAVW*bpVuMfpGeY5epUZVad6G5qZBjgGZzk6GvqG2SrUAMZovIA__&roomId=456789`
|
`https://msg.xinyilu.cn?userId=${this.userId}&userName=${this.userName}&userSig=${this.userSig}&roomId=${this.roomId}`
|
||||||
console.log(this.src)
|
} else if (resp.code == 500) {
|
||||||
}else if(resp.code==500){
|
this.$refs.uToast.show({
|
||||||
this.$refs.uToast.show({
|
title: resp.msg,
|
||||||
title: resp.msg,
|
type: 'error',
|
||||||
type: 'error',
|
duration: '1500'
|
||||||
duration: '1500'
|
})
|
||||||
})
|
|
||||||
|
}
|
||||||
}
|
console.log(this.src, '99')
|
||||||
console.log(this.src, '99')
|
})
|
||||||
})
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user