|  | @@ -25,8 +25,8 @@
 | 
	
		
			
				|  |  |      </el-card>
 | 
	
		
			
				|  |  |      <el-card>
 | 
	
		
			
				|  |  |        <div>
 | 
	
		
			
				|  |  | -        <mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery"
 | 
	
		
			
				|  |  | -                      @invalid="handleInvalidQuery"></mx-condition>
 | 
	
		
			
				|  |  | +        <mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" :invisible-fields="invisibleFields"
 | 
	
		
			
				|  |  | +                      use-alias-mapping @query="handleQuery" />
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="content">
 | 
	
		
			
				|  |  |          <mx-table :rows="batchData" :propDefines="propDefines"> </mx-table>
 | 
	
	
		
			
				|  | @@ -53,7 +53,9 @@ export default {
 | 
	
		
			
				|  |  |          location: '',
 | 
	
		
			
				|  |  |          yearAdmission: '',
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | -      requireFields:['location'],
 | 
	
		
			
				|  |  | +      firedParams: null,
 | 
	
		
			
				|  |  | +      requireFields:['location', 'yearAdmission'],
 | 
	
		
			
				|  |  | +      invisibleFields: ['location'],
 | 
	
		
			
				|  |  |        backimg:
 | 
	
		
			
				|  |  |          "url(" + require("@/assets/images/career/icon_colleges.png") + ")",
 | 
	
		
			
				|  |  |        batchData: [],
 | 
	
	
		
			
				|  | @@ -88,28 +90,21 @@ export default {
 | 
	
		
			
				|  |  |      this.queryParams.location = this.currentUser.provinceName
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | -    handleQuery() {
 | 
	
		
			
				|  |  | +    handleQuery(model) {
 | 
	
		
			
				|  |  | +      this.firedParams = model
 | 
	
		
			
				|  |  |        this.pageForm.pageNum = 1;
 | 
	
		
			
				|  |  |        this.getBatchList()
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    handleInvalidQuery() {
 | 
	
		
			
				|  |  | -      console.log('query出错')
 | 
	
		
			
				|  |  | -      this.round = {}
 | 
	
		
			
				|  |  | -    },
 | 
	
		
			
				|  |  | -    onChangePage(page){
 | 
	
		
			
				|  |  | -      this.pageForm.pageSize = page.limit;
 | 
	
		
			
				|  |  | -      this.pageForm.pageNum = page.page;
 | 
	
		
			
				|  |  | +    onChangePage(){
 | 
	
		
			
				|  |  |        this.getBatchList();
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      getBatchList() {
 | 
	
		
			
				|  |  |        pckzxList({
 | 
	
		
			
				|  |  | -        ...this.pageForm,
 | 
	
		
			
				|  |  | -        location: this.queryParams.location,
 | 
	
		
			
				|  |  | -        year: this.queryParams.yearAdmission,
 | 
	
		
			
				|  |  | +        ...this.firedParams,
 | 
	
		
			
				|  |  | +        ...this.pageForm
 | 
	
		
			
				|  |  |        }).then((res) => {
 | 
	
		
			
				|  |  |          this.batchData = res.rows;
 | 
	
		
			
				|  |  |          this.pageForm.total = res.total;
 | 
	
		
			
				|  |  | -        console.log(res);
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |    },
 |