mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 16:39:37 +08:00
1
This commit is contained in:
parent
003bb020b9
commit
cf28c9fcf8
@ -16,6 +16,7 @@ Page({
|
|||||||
data: {
|
data: {
|
||||||
IMG_NAME: app.IMG_NAME,
|
IMG_NAME: app.IMG_NAME,
|
||||||
couponId: null,
|
couponId: null,
|
||||||
|
meetingRoomId: null,
|
||||||
dataList: [],
|
dataList: [],
|
||||||
userDetail: {}
|
userDetail: {}
|
||||||
},
|
},
|
||||||
@ -28,6 +29,7 @@ Page({
|
|||||||
console.log('onLoad options', typeof options.couponId);
|
console.log('onLoad options', typeof options.couponId);
|
||||||
_this.setData({
|
_this.setData({
|
||||||
type: options.type,
|
type: options.type,
|
||||||
|
meetingRoomId: options.meetingRoomId,
|
||||||
couponId: parseInt(options.couponId),
|
couponId: parseInt(options.couponId),
|
||||||
userDetail: wx.getStorageSync('user')
|
userDetail: wx.getStorageSync('user')
|
||||||
})
|
})
|
||||||
@ -41,6 +43,7 @@ Page({
|
|||||||
getCustomerTicketRq({
|
getCustomerTicketRq({
|
||||||
"userId": _this.data.userDetail.id,
|
"userId": _this.data.userDetail.id,
|
||||||
"customerId": _this.data.userDetail.icsCustomerId,
|
"customerId": _this.data.userDetail.icsCustomerId,
|
||||||
|
"meetingId" : _this.data.meetingRoomId,
|
||||||
"type": _this.data.type
|
"type": _this.data.type
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let nowTime = new Date().getTime();
|
let nowTime = new Date().getTime();
|
||||||
|
@ -124,7 +124,7 @@ Page({
|
|||||||
jumpMeetingCoupon() {
|
jumpMeetingCoupon() {
|
||||||
let _this = this;
|
let _this = this;
|
||||||
wx.navigateTo({
|
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