Commit dbc1a7d9 authored by youjie's avatar youjie

优化代码

parent d73753f3
...@@ -107,14 +107,6 @@ export default { ...@@ -107,14 +107,6 @@ export default {
if (res.resultCode == 1) { if (res.resultCode == 1) {
uni.hideLoading(); uni.hideLoading();
this.guestInfor = res.data; this.guestInfor = res.data;
// this.list = []
// for (let i = 0; i < res.data.guest.length; i++) {
// let obj ={
// name: res.data.guest[i].AllName,
// value: res.data.guest[i].Id
// }
// this.list.push(obj)
// }
this.list = res.data.guest this.list = res.data.guest
}}, (error) => { }}, (error) => {
uni.hideLoading(); uni.hideLoading();
...@@ -125,7 +117,7 @@ export default { ...@@ -125,7 +117,7 @@ export default {
}) })
}, },
goWebUrl() { goWebUrl() {
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}` 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 (url && url.length > 0) { if (url && url.length > 0) {
uni.redirectTo({ uni.redirectTo({
url: "/pages/webbox/webbox?u=" + encodeURIComponent(url), 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