| 
					
				 | 
			
			
				@@ -1225,13 +1225,29 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 await this.transaction.insert('zh_notice', records); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // 新增新一次的审批人列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 获取当前次数审批人列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const auditList = await this.ctx.service.changeAudit.getListGroupByTimes(changeData.cid, changeData.times); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const lastauditInfo = await this.ctx.service.changeAudit.getLastUser(changeData.cid, changeData.times, 1, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let usort = lastauditInfo.usort + 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const newTimes = changeData.times + 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const insert_audit_array = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // 新增一个发起修订状态到审批流程中 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                const revise_audit = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    tid: auditList[0].tid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    cid: auditList[0].cid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    uid: auditList[0].uid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    name: auditList[0].name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    jobs: auditList[0].jobs, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    company: auditList[0].company, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    times: changeData.times, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    usite: lastauditInfo.usite + 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    usort, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    status: audit.flow.auditStatus.revise, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    sin_time: new Date(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                insert_audit_array.push(revise_audit); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                usort++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // 新增新一次的审批人列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 for (const al of auditList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const insert_audit = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         tid: al.tid, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1248,6 +1264,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     insert_audit_array.push(insert_audit); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     usort++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 await this.transaction.insert(this.ctx.service.changeAudit.tableName, insert_audit_array); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const changeList = await this.ctx.service.changeAuditList.getAllDataByCondition({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     where: { cid: changeData.cid }, 
			 |