|
@@ -9,16 +9,22 @@
|
|
|
<div class="modal-body">
|
|
|
<table class="table table-sm">
|
|
|
<tr><th>审批人</th><th width="90">选择</th><th></th></tr>
|
|
|
- <% for (const [i, a] of ctx.stage.auditors.entries()) { %>
|
|
|
- <% if (a.status === auditConst.status.checked || a.status === auditConst.status.checkNoPre || a.status === auditConst.status.checkAgain ||
|
|
|
- (a.status === auditConst.status.checking && a.aid === ctx.session.sessionUser.accountId)) { %>
|
|
|
+ <% for (const [i, a] of compareAuditors.entries()) { %>
|
|
|
<tr auditorId="<%- a.aid %>">
|
|
|
<td><%- a.name %></td>
|
|
|
- <td><% if (a.status !== auditConst.status.checkAgain) {%><input type="checkbox" audit-order="<%- i + 1 %>"><% } %></td>
|
|
|
- <td class="text-center <%- auditConst.statusClass[a.status] %>" style="width: 80px"><%- auditConst.statusString[a.status] %></td>
|
|
|
+ <td>
|
|
|
+ <% if (a.status === auditConst.status.checked || a.status === auditConst.status.checkNo || a.status === auditConst.status.checkNoPre ||
|
|
|
+ (a.status === auditConst.status.checking && a.aid === ctx.session.sessionUser.accountId)) {%>
|
|
|
+ <input type="checkbox" audit-order="<%- i + 1 %>">
|
|
|
+ <% } %>
|
|
|
+ </td>
|
|
|
+ <td class="text-center <%- auditConst.statusClass[a.status] %>" style="width: 80px">
|
|
|
+ <% if (a.status !== auditConst.status.uncheck) {%>
|
|
|
+ <%- auditConst.statusString[a.status] %>
|
|
|
+ <% } %>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
<% } %>
|
|
|
- <% } %>
|
|
|
</table>
|
|
|
</div>
|
|
|
<div class="modal-footer">
|