| 
					
				 | 
			
			
				@@ -198,7 +198,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 添加短信通知-需要审批提醒功能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const smsUser = await this.ctx.service.projectAccount.getDataById(audit.aid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (smsUser.auth_mobile !== '' && smsUser.auth_mobile !== undefined && smsUser.sms_type !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (smsUser.auth_mobile !== '' && smsUser.auth_mobile !== undefined && smsUser.sms_type !== '' && smsUser.sms_type !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const smsType = JSON.parse(smsUser.sms_type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (smsType[smsTypeConst.const.JL] !== undefined && smsType[smsTypeConst.const.JL].indexOf(smsTypeConst.judge.approval.toString()) !== -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         const tenderInfo = await this.ctx.service.tender.getDataById(audit.tid); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -250,7 +250,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // 添加短信通知-需要审批提醒功能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const smsUser = await this.ctx.service.projectAccount.getDataById(nextAudit.aid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (smsUser.auth_mobile !== '' && smsUser.auth_mobile !== undefined && smsUser.sms_type !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (smsUser.auth_mobile !== '' && smsUser.auth_mobile !== undefined && smsUser.sms_type !== '' && smsUser.sms_type !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         const smsType = JSON.parse(smsUser.sms_type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if (smsType[smsTypeConst.const.JL] !== undefined && smsType[smsTypeConst.const.JL].indexOf(smsTypeConst.judge.approval.toString()) !== -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             const tenderInfo = await this.ctx.service.tender.getDataById(nextAudit.tid); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -281,7 +281,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const stageInfo = await this.ctx.service.stage.getDataById(stageId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const auditList = await this.getAuditors(stageId, stageInfo.times); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const smsUser1 = await this.ctx.service.projectAccount.getDataById(stageInfo.user_id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (smsUser1.auth_mobile !== undefined && smsUser1.sms_type !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (smsUser1.auth_mobile !== undefined && smsUser1.sms_type !== '' && smsUser1.sms_type !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         const smsType = JSON.parse(smsUser1.sms_type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if (smsType[smsTypeConst.const.JL] !== undefined && smsType[smsTypeConst.const.JL].indexOf(smsTypeConst.judge.result.toString()) !== -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             mobile_array.push(smsUser1.auth_mobile); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -352,7 +352,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const stageInfo = await this.ctx.service.stage.getDataById(stageId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const auditList = await this.getAuditors(stageId, stageInfo.times); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const smsUser1 = await this.ctx.service.projectAccount.getDataById(stageInfo.user_id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (smsUser1.auth_mobile !== '' && smsUser1.auth_mobile !== undefined && smsUser1.sms_type !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (smsUser1.auth_mobile !== '' && smsUser1.auth_mobile !== undefined && smsUser1.sms_type !== '' && smsUser1.sms_type !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const smsType = JSON.parse(smsUser1.sms_type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (smsType[smsTypeConst.const.JL] !== undefined && smsType[smsTypeConst.const.JL].indexOf(smsTypeConst.judge.result.toString()) !== -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         mobile_array.push(smsUser1.auth_mobile); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -360,7 +360,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 for (const user of auditList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const smsUser = await this.ctx.service.projectAccount.getDataById(user.aid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (smsUser.auth_mobile !== '' && smsUser.auth_mobile !== undefined && smsUser.sms_type !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (smsUser.auth_mobile !== '' && smsUser.auth_mobile !== undefined && smsUser.sms_type !== '' && smsUser.sms_type !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         const smsType = JSON.parse(smsUser.sms_type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if (mobile_array.indexOf(smsUser.auth_mobile) === -1 && smsType[smsTypeConst.const.JL] !== undefined && smsType[smsTypeConst.const.JL].indexOf(smsTypeConst.judge.result.toString()) !== -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             mobile_array.push(smsUser.auth_mobile); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -426,7 +426,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 添加短信通知-需要审批提醒功能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const smsUser = await this.ctx.service.projectAccount.getDataById(preAuditor.aid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (smsUser.auth_mobile !== '' && smsUser.auth_mobile !== undefined && smsUser.sms_type !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (smsUser.auth_mobile !== '' && smsUser.auth_mobile !== undefined && smsUser.sms_type !== '' && smsUser.sms_type !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const smsType = JSON.parse(smsUser.sms_type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (smsType[smsTypeConst.const.JL] !== undefined && smsType[smsTypeConst.const.JL].indexOf(smsTypeConst.judge.approval.toString()) !== -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         const tenderInfo = await this.ctx.service.tender.getDataById(audit.tid); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -635,7 +635,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 添加短信通知-需要审批提醒功能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const smsUser = await this.ctx.service.projectAccount.getDataById(audit.aid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (smsUser.auth_mobile !== undefined && smsUser.sms_type !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (smsUser.auth_mobile !== undefined && smsUser.sms_type !== '' && smsUser.sms_type !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const smsType = JSON.parse(smsUser.sms_type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (smsType[smsTypeConst.const.JL] !== undefined && smsType[smsTypeConst.const.JL].indexOf(smsTypeConst.judge.approval.toString()) !== -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         const tenderInfo = await this.ctx.service.tender.getDataById(audit.tid); 
			 |