|
@@ -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>
|