| 
					
				 | 
			
			
				@@ -4,9 +4,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-page-header @back="goBack" :content="name"></el-page-header> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <p style="margin-bottom: 10px; margin-left: 30px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <!-- <p style="margin-bottom: 10px; margin-left: 30px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         课程有效期:{{ timers }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </p> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </p> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!--   v-permission="'vipGroupManage/updateVipBaseInfo'" --> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -39,7 +39,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         批量调整 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <!-- <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         class="newBand" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         v-permission="'courseSchedule/updateCoursesExpireDate'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @click="onUpdateCourse(1)" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -52,7 +52,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @click="onUpdateCourse(2)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         有效期调整 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </div> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="tableWrap"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -216,7 +216,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   :page-sizes="rules.page_size" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   @pagination="getList" /> 乔乔说后台没有分页所以一口气都展示--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       :title="updateCourseStatus == 2 ? '有效期调整' : '有效期调整(高权限)'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       width="400px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       :before-close="expireClose" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -259,7 +259,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button @click="expireVisible = false">取 消</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button type="primary" @click="submitExpireDate">确 定</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </el-dialog> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       title="补考勤" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       width="400px" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -608,21 +608,21 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               @click="onChangeRollCall('TRUANT', scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               round 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               >未到</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               @click="onChangeRollCall('LEAVE', scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               type="warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               round 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               >请假</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               @click="onChangeRollCall('NORMAL', scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               type="success" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               round 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1231,16 +1231,21 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // coursesExpireDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let dayjs = this.$helpers.dayjs; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let nowDate = dayjs(new Date()).valueOf() - 24 * 60 * 60 * 1000; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          let coursesStartDate = dayjs( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.expireForm.coursesStartDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ).valueOf(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          let coursesExpireDate = dayjs( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.expireForm.coursesExpireDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ).valueOf(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          let startTime = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            coursesStartDate - nowDate > 0 ? coursesStartDate : nowDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // let coursesStartDate = dayjs( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.expireForm.coursesStartDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // ).valueOf(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // let coursesExpireDate = dayjs( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.expireForm.coursesExpireDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // ).valueOf(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // let startTime = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   coursesStartDate - nowDate > 0 ? coursesStartDate : nowDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // || time.getTime() > coursesExpireDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let startTime = nowDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           return ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            time.getTime() < startTime || time.getTime() > coursesExpireDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            time.getTime() < startTime 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // return; 
			 |