| 
					
				 | 
			
			
				@@ -27,6 +27,8 @@ module.exports = options => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!id) throw '参数错误'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.budget = yield this.service.budget.getCurBudget(id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!this.budget) throw '项目不存在'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (this.budget.pid !== this.session.sessionProject.id) throw '您无权查看该项目'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const subProj = yield this.service.subProject.getDataByCondition({ budget_id: this.budget.id }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (subProj) this.budget.name = subProj.name || ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (this.session.sessionUser.is_admin) { 
			 |