| 
					
				 | 
			
			
				@@ -42,7 +42,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         class="newBand" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         v-permission="'courseSchedule/updateCoursesExpireDate'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @click="expireVisible = true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @click="onUpdateCourse(1)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        有效期调整(高权限) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        class="newBand" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        v-permission="'courseSchedule/updateCoursesExpireDateOnlyNormal'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @click="onUpdateCourse(2)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         有效期调整 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -652,6 +659,7 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   findEducationUsers, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   updateTeacherAttendance, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   updateCoursesExpireDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  updateCoursesExpireDateOnlyNormal, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   findAttendanceStudentByCourseWithPage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   updateStudentAttendances, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   resetCourse, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -796,6 +804,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         page_size: [10, 20, 40, 50], // 选择限制显示条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       accompanTime: 25, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      updateCourseStatus: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -839,6 +848,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getCourseGroup(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onUpdateCourse(type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.updateCourseStatus = type 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.expireVisible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     onCallName(item) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 点名表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.rollCall.page = 1; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -980,32 +993,61 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     submitExpireDate() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(this.updateCourseStatus) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs.expireForm.validate((some) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (some) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          updateCoursesExpireDate({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            practiceGroupId: this.practiceId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            coursesExpireDate: this.expireForm.coursesExpireDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            coursesStartDate: this.expireForm.coursesStartDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$message.success("有效期修改成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                query: merge(this.$route.query, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  coursesStartDate: this.expireForm.coursesStartDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  coursesExpireDate: this.expireForm.coursesExpireDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.timers = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.expireForm.coursesStartDate+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                "至" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.expireForm.coursesExpireDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.expireVisible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.getCourseGroup(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$message.error(res.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if(this.updateCourseStatus == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            updateCoursesExpireDate({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              practiceGroupId: this.practiceId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              coursesExpireDate: this.expireForm.coursesExpireDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              coursesStartDate: this.expireForm.coursesStartDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$message.success("有效期修改成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  query: merge(this.$route.query, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    coursesStartDate: this.expireForm.coursesStartDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    coursesExpireDate: this.expireForm.coursesExpireDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  }), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.timers = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  this.expireForm.coursesStartDate+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "至" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  this.expireForm.coursesExpireDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.expireVisible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getCourseGroup(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$message.error(res.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else if(this.updateCourseStatus == 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            updateCoursesExpireDateOnlyNormal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              practiceGroupId: this.practiceId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              coursesExpireDate: this.expireForm.coursesExpireDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              coursesStartDate: this.expireForm.coursesStartDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$message.success("有效期修改成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  query: merge(this.$route.query, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    coursesStartDate: this.expireForm.coursesStartDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    coursesExpireDate: this.expireForm.coursesExpireDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  }), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.timers = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  this.expireForm.coursesStartDate+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "至" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  this.expireForm.coursesExpireDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.expireVisible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getCourseGroup(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$message.error(res.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1417,6 +1459,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   justify-content: flex-start; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   div { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     margin-right: 20px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    max-width: inherit; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 .countWrap { 
			 |