作者 654550265

BUG修改

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