|  | @@ -25,7 +25,7 @@
 | 
	
		
			
				|  |  |      </el-card>
 | 
	
		
			
				|  |  |      <el-card>
 | 
	
		
			
				|  |  |        <div>
 | 
	
		
			
				|  |  | -        <mx-condition ref="condition" :query-params="queryParams" @query="handleQuery"
 | 
	
		
			
				|  |  | +        <mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery"
 | 
	
		
			
				|  |  |                        @invalid="handleInvalidQuery"></mx-condition>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="content">
 | 
	
	
		
			
				|  | @@ -41,6 +41,7 @@
 | 
	
		
			
				|  |  |  import {  pckzxList } from "@/api/webApi/career-other";
 | 
	
		
			
				|  |  |  import MxCondition from '@/components/MxCondition/mx-condition'
 | 
	
		
			
				|  |  |  import Pagination from '@/components/Pagination/index'
 | 
	
		
			
				|  |  | +import { mapGetters } from 'vuex'
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    components:  {
 | 
	
		
			
				|  |  |      MxCondition,
 | 
	
	
		
			
				|  | @@ -52,6 +53,7 @@ export default {
 | 
	
		
			
				|  |  |          location: '',
 | 
	
		
			
				|  |  |          yearAdmission: '',
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | +      requireFields:['yearAdmission'],
 | 
	
		
			
				|  |  |        backimg:
 | 
	
		
			
				|  |  |          "url(" + require("@/assets/images/career/icon_colleges.png") + ")",
 | 
	
		
			
				|  |  |        batchData: [],
 | 
	
	
		
			
				|  | @@ -79,9 +81,12 @@ export default {
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  | +  computed:{
 | 
	
		
			
				|  |  | +    ...mapGetters(['currentUser']),
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  |    created() {
 | 
	
		
			
				|  |  | -    this.getYears();
 | 
	
		
			
				|  |  |      this.getBatchList();
 | 
	
		
			
				|  |  | +    this.queryParams.location = this.currentUser.provinceName
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  |      handleQuery() {
 |