|
|
@@ -193,7 +193,7 @@ Page({ |
|
|
|
console.log(startTime, endTime); |
|
|
|
|
|
|
|
tt.navigateTo({ |
|
|
|
url: `/package2/pages/appointment/appointment?id=${id}&orderId=${orderId}&merOrderId=${merOrderId}&startTime=${startTime}&endTime=${endTime}`, |
|
|
|
url: `/pages2/appointment/appointment?id=${id}&orderId=${orderId}&merOrderId=${merOrderId}&startTime=${startTime}&endTime=${endTime}`, |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
@@ -208,8 +208,8 @@ Page({ |
|
|
|
}).then(res => { |
|
|
|
console.log(res, 'getUserReservation'); |
|
|
|
if (res.data) { |
|
|
|
const appointStart = util.timestampToTime(res.data.startDate, 'YYYY-MM-DD hh:mm:ss') |
|
|
|
const appointEnd = util.timestampToTime(res.data.endDate, 'hh:mm:ss') |
|
|
|
const appointStart = util.timestampToTime(res.data.startDate, 'YYYY-MM-DD hh:mm') |
|
|
|
const appointEnd = util.timestampToTime(res.data.endDate, 'hh:mm') |
|
|
|
console.log(appointStart, appointEnd); |
|
|
|
const appointmentId = res.data.id |
|
|
|
const appointmentStatus = res.data.status |
|
|
|