|  | @@ -119,15 +119,20 @@ module.exports = app => {
 | 
	
		
			
				|  |  |           * @private
 | 
	
		
			
				|  |  |           */
 | 
	
		
			
				|  |  |          async _checkCanEntry(ctx) {
 | 
	
		
			
				|  |  | +            ctx.advance.filePermission = false;
 | 
	
		
			
				|  |  |              if (ctx.advance.status === auditConst.status.uncheck) {
 | 
	
		
			
				|  |  | -                if (ctx.session.sessionUser.accountId !== ctx.advance.uid) {
 | 
	
		
			
				|  |  | +                if (ctx.session.sessionUser.accountId !== ctx.advance.uid && !ctx.tender.isTourist) {
 | 
	
		
			
				|  |  |                      throw '无权访问';
 | 
	
		
			
				|  |  | +                } else if (ctx.session.sessionUser.accountId === ctx.advance.uid) {
 | 
	
		
			
				|  |  | +                    ctx.advance.filePermission = true;
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              } else {
 | 
	
		
			
				|  |  |                  const auditors = await ctx.service.advanceAudit.getAuditorsWithOwner(ctx.advance.id, ctx.advance.times);
 | 
	
		
			
				|  |  |                  const cur_uid = ctx.session.sessionUser.accountId;
 | 
	
		
			
				|  |  | -                if (auditors.findIndex(item => item.audit_id === cur_uid) === -1) {
 | 
	
		
			
				|  |  | +                if (auditors.findIndex(item => item.audit_id === cur_uid) === -1 && !ctx.tender.isTourist) {
 | 
	
		
			
				|  |  |                      throw '无权访问';
 | 
	
		
			
				|  |  | +                } else if (auditors.findIndex(item => item.audit_id === cur_uid) !== -1 || ctx.session.sessionUser.accountId === ctx.advance.uid) {
 | 
	
		
			
				|  |  | +                    ctx.advance.filePermission = true;
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 |