Browse Source

审核比较,当前审批流程人可选自己

MaiXinRong 1 year ago
parent
commit
9ec68e2ca5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/view/stage/compare_modal.ejs

+ 1 - 1
app/view/stage/compare_modal.ejs

@@ -14,7 +14,7 @@
                         <td><%- group.name %></td>
                         <td>
                             <% if (group.status === auditConst.status.checked || group.status === auditConst.status.checkNo || group.status === auditConst.status.checkNoPre ||
-                                    (group.status === auditConst.status.checking && group.aid === ctx.session.sessionUser.accountId)) {%>
+                                    (group.status === auditConst.status.checking && group.auditors.findIndex(x => { return x.aid === ctx.session.sessionUser.accountId}) >= 0)) {%>
                             <input type="checkbox" audit-order="<%- i + 1 %>">
                             <% } %>
                         </td>