Commit 3d579215 authored by youjie's avatar youjie

意见填写

parent 55684230
......@@ -72,6 +72,9 @@ export default {
})
this.infor()
this.getUserInfo()
},
onShow(){
},
methods: {
infor(){
......@@ -183,6 +186,7 @@ export default {
this.msg.Phone = this.guestInfor.guest[0].MobilePhone;
this.setRegister()
}else if(this.guestInfor.guest&&this.guestInfor.guest.length>1){
uni.hideLoading();
this.goUrl()
}
}}, (error) => {
......@@ -195,7 +199,6 @@ export default {
},
// 手机号授权
async getPhoneNumber(e) {
console.log(e,'-----e')
let that = this
if(e.detail.errMsg&&e.detail.errMsg=="getPhoneNumber:ok"&&e.detail.code) {
// 用户点击了允许授权
......@@ -373,7 +376,7 @@ export default {
let url = `https://activity.oytour.com/html/ImpressionOpinionSurvey/opinionSurvey.html?TCID=${this.msg.TCID}&GuestId=${this.msg.Id}&OrderId=${this.msg.OrderId}&Phone=${this.msg.Phone}`
if(process.env.NODE_ENV=="development") return console.log(url,"-----url")
if (url && url.length > 0) {
uni.redirectTo({
uni.navigateTo({
url: "/pages/webbox/webbox?u=" + encodeURIComponent(url),
});
}
......
......@@ -244,7 +244,7 @@ export default {
let url = `https://activity.oytour.com/html/ImpressionOpinionSurvey/opinionSurvey.html?TCID=${this.msg.TCID}&GuestId=${this.msg.Id}&OrderId=${this.msg.OrderId}&Phone=${this.msg.Phone}`
if(process.env.NODE_ENV=="development") return console.log(url,"-----url")
if (url && url.length > 0) {
uni.redirectTo({
uni.navigateTo({
url: "/pages/webbox/webbox?u=" + encodeURIComponent(url),
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment