<% for (const ah of auditHistory) { %>
-
<% if (auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报
<%- user.name %> <%- user.role %>
<%- ah[0].begin_time.toLocaleDateString() %>
<% for (let iA = 0; iA < ah.length; iA++) { %>
<% if (iA === ah.length - 1) { %>
-
<% if (ah[iA].status !== audit.status.uncheck) { %>
<%- audit.statusString[ah[iA].status]%><% if (ah[iA].status === audit.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- ah[iA].name %> <%- ah[iA].role %>
<% if (ah[iA].status === audit.status.checked || ah[iA].status === audit.status.checkNo) { %>
<%- ah[iA].opinion %>
<%- ah[iA].end_time.toLocaleDateString() %>
<% } %>
<% } else { %>
-
<% if (ah[iA].status !== audit.status.uncheck) { %>
<%- audit.statusString[ah[iA].status]%><% if (ah[iA].status === audit.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- ah[iA].name %> <%- ah[iA].role %>
<% if (ah[iA].status === audit.status.checked || ah[iA].status === audit.status.checkNo) { %>
<%- ah[iA].opinion %>
<%- ah[iA].end_time.toLocaleDateString() %>
<% } %>
<% } %>
<% } %>
<% } %>
<% if (revise.status === audit.status.checking || revise.status === audit.status.checked) {%>
-
<% if (revise.times > 1) { %>重新<% } %>上报
<%- user.name %> <%- user.role %>
<%- auditors[0].begin_time ? auditors[0].begin_time.toLocaleDateString() : ''%>
<% for (let iA = 0; iA < auditors.length; iA++) { %>
<% if (iA === auditors.length - 1) { %>
-
<% if (auditors[iA].status !== audit.status.uncheck) { %>
<%- audit.statusString[auditors[iA].status]%><% if (auditors[iA].status === audit.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- auditors[iA].name %> <%- auditors[iA].role %>
<% if (auditors[iA].status === audit.status.checked || auditors[iA].status === audit.status.checkNo) { %>
<%- auditors[iA].opinion %>
<%- auditors[iA].end_time.toLocaleDateString() %>
<% } %>
<% } else { %>
-
<% if (auditors[iA].status !== audit.status.uncheck) { %>
<%- audit.statusString[auditors[iA].status]%><% if (auditors[iA].status === audit.status.checkNo) { %> <%- user.name %><% } %>
<% } %>
<%- auditors[iA].name %> <%- auditors[iA].role %>
<% if (auditors[iA].status === audit.status.checked || auditors[iA].status === audit.status.checkNo) { %>
<%- auditors[iA].opinion %>
<%- auditors[iA].end_time.toLocaleDateString() %>
<% } %>
<% } %>
<% } %>
<% } %>