| 
					
				 | 
			
			
				@@ -10,7 +10,6 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   NSpace, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   NTag 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from 'naive-ui'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import numeral from 'numeral'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { useECharts } from '@/hooks/web/useECharts'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Pagination from '/src/components/pagination'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getPracticeRecordList } from '../api'; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -29,7 +28,8 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     studentId: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       type: String, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       default: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }, classGroupId: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    classGroupId: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       type: String, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       default: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -148,8 +148,8 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const res = await getPracticeRecordList({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         userId: props.studentId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ...state.pagination, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        classGroupId:props.classGroupId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        feature: "EVALUATION", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        classGroupId: props.classGroupId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        feature: 'EVALUATION', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ...getTimes(timer.value, ['startTime', 'endTime'], 'YYYY-MM-DD') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       state.tableList = res.data.rows; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -202,8 +202,8 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </NForm> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class={styles.tableWrap}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <NDataTable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             v-slots={{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              empty:()=><TheEmpty></TheEmpty> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-slots={{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              empty: () => <TheEmpty></TheEmpty> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             class={styles.classTable} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             loading={state.loading} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -222,11 +222,33 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           preset="card" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           class={['modalTitle background', styles.reportModel]} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           title={'评测报告'}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <iframe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            width={'100%'} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            height={'450px'} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            frameborder="0" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            src={reportSrc.value}></iframe> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <div class={styles.reportContainer} style={{ lineHeight: 0 }}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <iframe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              width={'100%'} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              height={'450px'} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              frameborder="0" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              onLoad={() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // const iframeDocument = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //   iframe.contentDocument || iframe.contentWindow.document; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // const styleElement = iframeDocument.createElement('style'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // styleElement.textContent = ` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //   body { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     margin: 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     font-family: 'Arial', sans-serif; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     font-size: 16px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     line-height: 1.5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     color: #333; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     background-color: #f0f0f0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //   p { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     margin-bottom: 10px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     color: red; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // `; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // iframeDocument.head.appendChild(styleElement); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              src={reportSrc.value}></iframe> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </NModal> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ); 
			 |