|  | @@ -2,6 +2,7 @@
 | 
	
		
			
				|  |  |    <div>
 | 
	
		
			
				|  |  |      <basic-container>
 | 
	
		
			
				|  |  |        <avue-crud
 | 
	
		
			
				|  |  | +        ref="crud"
 | 
	
		
			
				|  |  |          :data="dataList"
 | 
	
		
			
				|  |  |          :option="option"
 | 
	
		
			
				|  |  |          :page.sync="page"
 | 
	
	
		
			
				|  | @@ -17,6 +18,7 @@
 | 
	
		
			
				|  |  |          @refresh-change="refreshChange"
 | 
	
		
			
				|  |  |          @current-change="currentChange"
 | 
	
		
			
				|  |  |          @size-change="sizeChange"
 | 
	
		
			
				|  |  | +        @search-criteria-switch="searchCriteriaSwitch"
 | 
	
		
			
				|  |  |        >
 | 
	
		
			
				|  |  |          <template slot="urlForm" slot-scope="{ row }">
 | 
	
		
			
				|  |  |            <el-input
 | 
	
	
		
			
				|  | @@ -367,6 +369,15 @@ export default {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | +    // 获得高度
 | 
	
		
			
				|  |  | +    searchCriteriaSwitch(type){
 | 
	
		
			
				|  |  | +      if (type){
 | 
	
		
			
				|  |  | +        this.option.height = this.option.height - 390
 | 
	
		
			
				|  |  | +      }else {
 | 
	
		
			
				|  |  | +        this.option.height = this.option.height + 390
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      this.$refs.crud.getTableHeight()
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      onLoad(page, params) {
 | 
	
		
			
				|  |  |        const queryParams = Object.assign({}, params, {
 | 
	
		
			
				|  |  |          size: page.pageSize,
 |