mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 09:39:38 +08:00
1
This commit is contained in:
parent
003bb020b9
commit
cf28c9fcf8
@ -16,6 +16,7 @@ Page({
|
||||
data: {
|
||||
IMG_NAME: app.IMG_NAME,
|
||||
couponId: null,
|
||||
meetingRoomId: null,
|
||||
dataList: [],
|
||||
userDetail: {}
|
||||
},
|
||||
@ -28,6 +29,7 @@ Page({
|
||||
console.log('onLoad options', typeof options.couponId);
|
||||
_this.setData({
|
||||
type: options.type,
|
||||
meetingRoomId: options.meetingRoomId,
|
||||
couponId: parseInt(options.couponId),
|
||||
userDetail: wx.getStorageSync('user')
|
||||
})
|
||||
@ -41,6 +43,7 @@ Page({
|
||||
getCustomerTicketRq({
|
||||
"userId": _this.data.userDetail.id,
|
||||
"customerId": _this.data.userDetail.icsCustomerId,
|
||||
"meetingId" : _this.data.meetingRoomId,
|
||||
"type": _this.data.type
|
||||
}).then(res => {
|
||||
let nowTime = new Date().getTime();
|
||||
|
@ -124,7 +124,7 @@ Page({
|
||||
jumpMeetingCoupon() {
|
||||
let _this = this;
|
||||
wx.navigateTo({
|
||||
url: "/pages/meeting/meetingRoom/meetingCoupon/meetingCoupon?type=1&couponId=" + _this.data.couponId,
|
||||
url : `/pages/meeting/meetingRoom/meetingCoupon/meetingCoupon?type=1&couponId=${_this.data.couponId}&meetingRoomId=${_this.data.meetingRoomId}`,
|
||||
})
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user