<% if (inspection.finalAuditorIds.indexOf(ctx.session.sessionUser.accountId) !== -1) { %>
审批通过并指派人员整改:
<% if (inspection.rectification_uid && inspection.rectification_user) { %>
<%- inspection.rectification_user.name %>
<% } %>
style="display: none!important;" <% } %>>
<% } else if (inspection.nextAuditors.length > 0) { %>
下一个审批人:
<% const next = inspection.auditHistory[inspection.auditHistory.length - 1].find(x => { return x.audit_order === inspection.curAuditors[0].audit_order + 1}); %>
<%- (next.audit_type === auditType.key.common ? next.auditors[0].name : `${next.audit_order}审`)%>
<% } %>