作者 654550265

BUG修改

@@ -391,6 +391,7 @@ @@ -391,6 +391,7 @@
391 acvList.push(parseInt(list[i].getAttribute("data-index"))); 391 acvList.push(parseInt(list[i].getAttribute("data-index")));
392 } 392 }
393 var degin = acvList[0]; 393 var degin = acvList[0];
  394 + var data_day = $(".day_bg i").attr("data-day").replace(/(\d{4})(\d{2})(\d{2})/, "$1-$2-$3");
394 for (var j = 0; j < acvList.length; j++) { 395 for (var j = 0; j < acvList.length; j++) {
395 if (acvList[j] != degin) { 396 if (acvList[j] != degin) {
396 boo = true; 397 boo = true;
@@ -404,7 +405,7 @@ @@ -404,7 +405,7 @@
404 url: "{:url('yuyue_coach_do')}", 405 url: "{:url('yuyue_coach_do')}",
405 type: "post", 406 type: "post",
406 data: { 407 data: {
407 - day: data_day.replace(/(\d{4})(\d{2})(\d{2})/, "$1-$2-$3"), 408 + day: data_day,
408 week: week, 409 week: week,
409 begin: parseInt(list[0].getElementsByTagName('b')[0].innerHTML.split("-")[0]), 410 begin: parseInt(list[0].getElementsByTagName('b')[0].innerHTML.split("-")[0]),
410 end: parseInt(list[list.length - 1].getElementsByTagName('b')[0].innerHTML.split('-')[1]), 411 end: parseInt(list[list.length - 1].getElementsByTagName('b')[0].innerHTML.split('-')[1]),