|  |  | @ -72,7 +72,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     presenter(), | 
			
		
	
		
			
				
					|  |  |  |     header(), | 
			
		
	
		
			
				
					|  |  |  |     form(function() { | 
			
		
	
		
			
				
					|  |  |  |       return Object.assign({ dic_pid: this.dictId }, defaultForm) | 
			
		
	
		
			
				
					|  |  |  |       return Object.assign({ dic_pid: this.dicPid }, defaultForm) | 
			
		
	
		
			
				
					|  |  |  |     })], | 
			
		
	
		
			
				
					|  |  |  |   props: { | 
			
		
	
		
			
				
					|  |  |  |     activeAddBtn: { | 
			
		
	
	
		
			
				
					|  |  | @ -81,7 +81,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |     return { | 
			
		
	
		
			
				
					|  |  |  |       dictId: null, | 
			
		
	
		
			
				
					|  |  |  |       dicPid: null, | 
			
		
	
		
			
				
					|  |  |  |       rules: { | 
			
		
	
		
			
				
					|  |  |  |         label: [ | 
			
		
	
		
			
				
					|  |  |  |           { required: true, message: '请输入字典名称', trigger: 'blur' } | 
			
		
	
	
		
			
				
					|  |  | @ -108,7 +108,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     // 获取数据前设置默认参数 | 
			
		
	
		
			
				
					|  |  |  |     [CRUD.HOOK.beforeRefresh]() { | 
			
		
	
		
			
				
					|  |  |  |       this.crud.query.id = this.dictId | 
			
		
	
		
			
				
					|  |  |  |       this.crud.query.id = this.dicPid | 
			
		
	
		
			
				
					|  |  |  |       return true | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
	
		
			
				
					|  |  | 
 |