mo пре 2 година
родитељ
комит
04b4da1b85

+ 2 - 2
src/views/activeCourseArrange/modal/course.vue

@@ -93,8 +93,8 @@ export default {
       const starTime2 = startTime
         ? Number(startTime.split(":")[1])
         : 0;
-      if (starTime1 < 6 || (starTime1 == 6 && starTime2 <= 30)) {
-        this.$toast("课程安排开始时间不可早于06:30");
+      if (starTime1 < 6 ) {
+        this.$toast("课程安排开始时间不可早于06:00");
         return;
       }
 

+ 2 - 2
src/views/activeProgram/modal/course.vue

@@ -85,8 +85,8 @@ export default {
       const starTime2 = startTime
         ? Number(startTime.split(":")[1])
         : 0;
-      if (starTime1 < 6 || (starTime1 == 6 && starTime2 <= 30)) {
-        this.$toast("课程安排开始时间不可早于06:30");
+      if (starTime1 < 6 ) {
+        this.$toast("课程安排开始时间不可早于06:00");
         return;
       }
 

+ 2 - 2
src/views/applyActive/components/theoryCourse.vue

@@ -623,8 +623,8 @@ export default {
       const starTime2 = startTime
         ? Number(startTime.split(":")[1])
         : 0;
-      if (starTime1 < 6 || (starTime1 == 6 && starTime2 <= 30)) {
-        this.$toast("课程安排开始时间不可早于06:30");
+      if (starTime1 < 6 ) {
+        this.$toast("课程安排开始时间不可早于06:00");
         return;
       }
 

+ 2 - 2
src/views/applyActive/components/vipCourse.vue

@@ -975,8 +975,8 @@ export default {
       const starTime2 = startTime
         ? Number(startTime.split(":")[1])
         : 0;
-      if (starTime1 < 6 || (starTime1 == 6 && starTime2 <= 30)) {
-        this.$toast("课程安排开始时间不可早于06:30");
+      if (starTime1 < 6 ) {
+        this.$toast("课程安排开始时间不可早于06:00");
         return;
       }
       

+ 2 - 2
src/views/teacher/PeriodAdjust.vue

@@ -312,8 +312,8 @@ export default {
       }
       const starTime1 = currentStartDateStr ? Number(currentStartDateStr.split(":")[0]) : 0;
       const starTime2 = currentStartDateStr ? Number(currentStartDateStr.split(":")[1]) : 0;
-      if (starTime1 <6 || (starTime1 ==6  && starTime2 <= 30)) {
-        this.$toast("课程安排开始时间不可早于06:30");
+      if (starTime1 <6 ) {
+        this.$toast("课程安排开始时间不可早于06:00");
         return;
       }
       

+ 2 - 2
src/views/teacher/VIP00Apply.vue

@@ -1245,8 +1245,8 @@ export default {
       const starTime2 = startTime
         ? Number(startTime.split(":")[1])
         : 0;
-      if (starTime1 < 6 || (starTime1 == 6 && starTime2 <= 30)) {
-        this.$toast("课程安排开始时间不可早于06:30");
+      if (starTime1 < 6 ) {
+        this.$toast("课程安排开始时间不可早于06:00");
         return;
       }
 

+ 2 - 2
src/views/teacher/VIP11Apply.vue

@@ -1051,8 +1051,8 @@ export default {
       const starTime2 = startTime
         ? Number(startTime.split(":")[1])
         : 0;
-      if (starTime1 < 6 || (starTime1 == 6 && starTime2 <= 30)) {
-        this.$toast("课程安排开始时间不可早于06:30");
+      if (starTime1 < 6 ) {
+        this.$toast("课程安排开始时间不可早于06:00");
         return;
       }
       if (isAdd) {