| 
					
				 | 
			
			
				@@ -103,7 +103,9 @@ import { createNotification } from "@/helpers/notification"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { errorType } from "@/views/main/constant"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { permission } from "@/utils/directivePage"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import title from "./title"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import{Export}  from "@/utils/downLoadFile"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getSysTenantConfig } from "@/views/courseRulersManager/api"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { descs } from "../constant"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { Export } from "@/utils/downLoadFile"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const initSearch = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   organId: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -120,6 +122,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       infoByType: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       list: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       errorType: errorType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      descs: { ...descs }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   computed: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -179,9 +182,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return list; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  async mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.FetchList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    this.$store.dispatch("setBranchs"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    await this.$store.dispatch("setBranchs"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     permission, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -223,7 +226,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.FetchList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    formatData(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    async formatData(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const list = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       for (const item of data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const row = errorType[item.errorType] || {}; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -235,7 +239,30 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ...item, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ...row, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // if (item.errorType == "COURSE_TIME_ERROR") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     const res = await getSysTenantConfig({ group: "SERVER_ERROR" }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     let startStr = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     let endStr = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     res.data.forEach((item) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       // this.form[item.paramName] = item.paranValue 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       if (item.id == "195") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         startStr = item.paranValue.substring(0,5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       if (item.id == "196") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         endStr = item.paranValue.substring(0,5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     this.descs[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       "COURSE_TIME_ERROR" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     ] = `上课时间在${startStr}~${endStr}时间段内为时间安排异常`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     console.log(this.descs); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   } catch (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     console.log(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(Object.values(list)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return Object.values(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async FetchList() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -276,7 +303,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           method: "post", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           url: "/api-web/export/exportIndexErrData", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           params: this.$helpers.qs.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ...params 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ...params, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         "是否确认导出报表?" 
			 |