소스 검색

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

MaiXinRong 1 년 전
부모
커밋
9ec68e2ca5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>