| 
					
				 | 
			
			
				@@ -92,16 +92,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 >{{ scope.row.status ? "停用" : "启用" }}</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <!-- 启用的问卷不能修改 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <!-- <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @click="onQuestionOperation('update', scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                @click="exportQuestionnaire( scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 v-if=" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   $helpers.permission( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    '/operateManager/questionOperation/update' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  ) && !scope.row.status 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    'questionnaireUserResult/export' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                >修改</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              > --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                >导出</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 @click="lookAsk(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 v-if=" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -133,6 +133,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import pagination from "@/components/Pagination/index"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import QrCode from "@/components/QrCode/index"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { vaildStudentUrl } from '@/utils/validate' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { Export } from "@/utils/downLoadFile"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import cleanDeep from "clean-deep"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import qs from "qs" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   questionnaireTopicQueryPage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   questionnaireTopicUpdateStatus, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -241,6 +244,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        this.codeUrl =str 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.qrcodeStatus = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    exportQuestionnaire(row){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         Export( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          url: "/api-web/questionnaireUserResult/export", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          params: qs.stringify(cleanDeep({topicId:row.id})), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          fileName: `${row.title}导出.xls`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          method: "post", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "确定导出问卷" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 |