作者 lianghiu

BUG修改

@@ -398,12 +398,13 @@ @@ -398,12 +398,13 @@
398 } 398 }
399 if (data_qr == 1) { 399 if (data_qr == 1) {
400 var data_days = $(".day_bg i").attr("data-day").replace(/(\d{4})(\d{2})(\d{2})/, "$1-$2-$3"); 400 var data_days = $(".day_bg i").attr("data-day").replace(/(\d{4})(\d{2})(\d{2})/, "$1-$2-$3");
  401 + var weeks = $(".day_bg b").html();
401 $.ajax({ 402 $.ajax({
402 url: "{:url('yuyue_coach_do')}", 403 url: "{:url('yuyue_coach_do')}",
403 type: "post", 404 type: "post",
404 data: { 405 data: {
405 day: data_days, 406 day: data_days,
406 - week: week, 407 + week: weeks,
407 begin: parseInt(list[0].getElementsByTagName('b')[0].innerHTML.split("-")[0]), 408 begin: parseInt(list[0].getElementsByTagName('b')[0].innerHTML.split("-")[0]),
408 end: parseInt(list[list.length - 1].getElementsByTagName('b')[0].innerHTML.split('-')[1]), 409 end: parseInt(list[list.length - 1].getElementsByTagName('b')[0].innerHTML.split('-')[1]),
409 id: {$id} 410 id: {$id}