pageInit: function(e) {
var appointmentId = e.data.appointmentId;
var conferenceId = e.data.conferenceId;
huiguPost(function(el) {
conferenceApplyAction.prodParams.orderState = el.data.orderState;
$(".conference-order-payCount").html(_.template($("-sharpconference-order-payCount").html())({ data: el.data }))
conferenceApplyAction.closeTime=el.data.appointEndTime
conferenceApplyAction.countDown(el);
},
huiguPostUrl.queryOrderDetails, {
appointmentId: optUrlParams("conferenceId")
});
console.log(conferenceApplyAction.prodParams.orderState);
},
huiguPost is encapsulated ajax, cannot be modified.
how to get el.data.appointEndTime to be passed to global variables.