Sfoglia il codice sorgente

Merge branch '07/06musicArchives' into test

mo 3 anni fa
parent
commit
fbd1b9bf2b

+ 1 - 1
src/views/resetTeaming/components/archicesComponents/trainPlan.vue

@@ -212,7 +212,7 @@ export default {
     this.searchForm.year = String(date.getFullYear());
     this.searchForm.year = String(date.getFullYear());
     // console.log('year',date.getFullYear())
     // console.log('year',date.getFullYear())
     let month = date.getMonth() + 1;
     let month = date.getMonth() + 1;
-    if (month > 3 && month < 8) {
+    if (month > 3 && month <= 8) {
       this.searchForm.term = "0";
       this.searchForm.term = "0";
     } else {
     } else {
       this.searchForm.term = "1";
       this.searchForm.term = "1";

+ 1 - 1
src/views/resetTeaming/components/archicesComponents/trainTimer.vue

@@ -146,7 +146,7 @@ export default {
     this.searchForm.year = String(date.getFullYear());
     this.searchForm.year = String(date.getFullYear());
     // console.log('year',date.getFullYear())
     // console.log('year',date.getFullYear())
     let month = date.getMonth() + 1;
     let month = date.getMonth() + 1;
-    if (month > 3 && month < 8) {
+    if (month > 3 && month <= 8) {
       this.searchForm.term = "0";
       this.searchForm.term = "0";
     } else {
     } else {
       this.searchForm.term = "1";
       this.searchForm.term = "1";

+ 1 - 1
src/views/resetTeaming/components/musicArchices.vue

@@ -158,7 +158,7 @@ export default {
     this.year = String(date.getFullYear());
     this.year = String(date.getFullYear());
     // console.log('year',date.getFullYear())
     // console.log('year',date.getFullYear())
     let month = date.getMonth() + 1;
     let month = date.getMonth() + 1;
-    if (month > 3 && month < 8) {
+    if (month > 3 && month <= 8) {
       this.term = "0";
       this.term = "0";
     } else {
     } else {
       this.term = "1";
       this.term = "1";