| 
					
				 | 
			
			
				@@ -2,8 +2,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <el-card class="mb10"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <slot name="prefix"></slot> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @invalid="handleInvalidQuery"></mx-condition> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <mx-condition :query-params="queryParams" :require-fields="requireFields" use-alias-mapping @query="handleQuery" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <mx-search-group justify="end" placeholder="请输入内容" v-model="form.paperName" class="mt8" @search="clickSuffix"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-col v-if="isFrontTeacher" :span="16" style="margin-bottom: 0"><span class="f-warning">*收藏后方可发布作业</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-col> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -76,8 +75,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         paperArea: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       requireFields: ['paperSubject', 'paperGrade', 'paperType', 'paperArea'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      firedParams: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       form: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        paperName: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        papername: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       pageForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         pageNum: 1, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -104,12 +104,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 获取试卷列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getPaperList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       papersList({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        subjectName: this.queryParams.paperSubject, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        gradeName: this.queryParams.paperGrade, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        paperType: this.queryParams.paperType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        area: this.queryParams.paperArea, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        year: this.queryParams.paperYear, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        papername: this.form.paperName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ...this.firedParams, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ...this.form, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ...this.pageForm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.total = res.total 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -140,7 +136,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleInvalidQuery() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // todo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    handleQuery() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleQuery(model) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.firedParams = model 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getPaperList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |