| 
					
				 | 
			
			
				@@ -6,7 +6,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ref="searchForm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       @submit="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       @reset="onReSet" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       saveKey="/main/main/teamSchedule" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      saveKey="/main/main/teamSchedule" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form-item prop="organId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-select 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -107,12 +107,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column align="center" prop="studentId" label="操作"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              v-if="scope.row.item == 'INSPECT'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              @click="gotoHander(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              >安排日程</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <auth v-if="scope.row.item == 'INSPECT'" auths="/main/scheduleDetail"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <el-button type="text" @click="gotoHander(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                >安排日程</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </auth> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-button type="text" v-else @click="gotoHander(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               >回访记录</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             > 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -165,7 +165,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         userId: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         organId: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         month: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        searchType:'' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        searchType: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       handleForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         memo: "", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -183,12 +183,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const { query } = this.$route 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const { query } = this.$route; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (query.organId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.searchForm.organId = query.organId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchForm.organId = query.organId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if( query.start&&query.end){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.searchForm.month = [query.start,query.end] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (query.start && query.end) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchForm.month = [query.start, query.end]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.$store.dispatch("setBranchs"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.getList(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -206,17 +206,16 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async getList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             let { month, ...rest } = this.searchForm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let { month, ...rest } = this.searchForm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ...rest, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         page: this.rules.page, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         rows: this.rules.limit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        ...getTimes(month, ["startTime", "endTime"],"YYYY-MM"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ...getTimes(month, ["startTime", "endTime"], "YYYY-MM"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         searchType: this.$route.query.searchType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        const res = await getInspectionItem(params 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        const res = await getInspectionItem(params); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.tableList = res.data.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.rules.total = res.data.total; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } catch (e) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -233,7 +232,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const res = await resetInspectionItem(this.handleForm); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$message.success("提交成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       this.handleVisible = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.handleVisible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } catch (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -251,8 +250,16 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 下校巡查 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          path: "/main/scheduleDetail", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          query: { teacher: row.userId, startTime, endTime,name:row.userName,organId:row.organId,itemId:row.id,times:row.times}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          path: "scheduleDetail", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          query: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            teacher: row.userId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            startTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            endTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            name: row.userName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            organId: row.organId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            itemId: row.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            times: row.times, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 |