|  | @ -37,8 +37,7 @@ async function getEnabledWorkflowProcess (ctx) { | 
			
		
	
		
		
			
				
					|  |  | async function basicDataAllProject (ctx) { |  |  | async function basicDataAllProject (ctx) { | 
			
		
	
		
		
			
				
					|  |  |    try { |  |  |    try { | 
			
		
	
		
		
			
				
					|  |  |       const { models } = ctx.fs.dc; |  |  |       const { models } = ctx.fs.dc; | 
			
		
	
		
		
			
				
					
					|  |  |       const { userId, pepUserId, userInfo, pepUserInfo } = ctx.fs.api |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					|  |  |       console.log('userId', userId); |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					|  |  |       const proRes = await models.ProjectCorrelation.findAndCountAll({ |  |  |       const proRes = await models.ProjectCorrelation.findAndCountAll({ | 
			
		
	
		
		
			
				
					|  |  |          where: { |  |  |          where: { | 
			
		
	
		
		
			
				
					|  |  |             del: false, |  |  |             del: false, | 
			
		
	
	
		
		
			
				
					|  | @ -78,7 +77,7 @@ async function basicDataAllProject (ctx) { | 
			
		
	
		
		
			
				
					|  |  |       ctx.status = 200; |  |  |       ctx.status = 200; | 
			
		
	
		
		
			
				
					|  |  |       ctx.body = list |  |  |       ctx.body = list | 
			
		
	
		
		
			
				
					|  |  |    } catch (error) { |  |  |    } catch (error) { | 
			
		
	
		
		
			
				
					
					|  |  |       ctx.fs.logger.error(`path: ${ctx.path}, error: error`); |  |  |       ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       ctx.status = 400; |  |  |       ctx.status = 400; | 
			
		
	
		
		
			
				
					|  |  |       ctx.body = { |  |  |       ctx.body = { | 
			
		
	
		
		
			
				
					|  |  |          message: typeof error == 'string' ? error : undefined |  |  |          message: typeof error == 'string' ? error : undefined | 
			
		
	
	
		
		
			
				
					|  | 
 |