| 
					
				 | 
			
			
				@@ -27,7 +27,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         async index(ctx) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (!ctx.session.sessionProject.page_show.openContract) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (!ctx.subProject.page_show.openContract) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     throw '该功能已关闭或无法查看'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const renderData = { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -76,7 +76,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         async tender(ctx) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (!ctx.session.sessionProject.page_show.openContract) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (!ctx.subProject.page_show.openContract) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     throw '该功能已关闭或无法查看'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 获取用户新建标段权利 
			 |