|
@@ -572,7 +572,13 @@
|
|
|
id="inlineRadio2"
|
|
|
value="<%- auditConst.status.checkNoPre %>">
|
|
|
<label class="form-check-label" for="inlineRadio2">退回上一审批人
|
|
|
- <%- auditors[index-1].status === auditConst.status.checkAgain ? auditors[index-3].name : auditors[index-1].name %></label>
|
|
|
+ <% for (const [i, a] of auditors.entries()) { %>
|
|
|
+ <% if (a.aid === ctx.stage.curAuditor.aid) { %>
|
|
|
+ <%- auditors[i-1].name %>
|
|
|
+ <% break; %>
|
|
|
+ <% } %>
|
|
|
+ <% } %>
|
|
|
+ </label>
|
|
|
</div>
|
|
|
<% } %>
|
|
|
</div>
|
|
@@ -646,7 +652,13 @@
|
|
|
id="inlineRadio2"
|
|
|
value="<%- auditConst.status.checkNoPre %>">
|
|
|
<label class="form-check-label" for="inlineRadio2">退回上一审批人
|
|
|
- <%- auditors[index-1].status === auditConst.status.checkAgain || auditors[index-1].status === auditConst.status.checkNoPre ? auditors[index-3].name : auditors[index-1].name %></label>
|
|
|
+ <% for (const [i, a] of auditors.entries()) { %>
|
|
|
+ <% if (a.aid === ctx.stage.curAuditor.aid) { %>
|
|
|
+ <%- auditors[i-1].name %>
|
|
|
+ <% break; %>
|
|
|
+ <% } %>
|
|
|
+ <% } %>
|
|
|
+ </label>
|
|
|
</div>
|
|
|
<% } %>
|
|
|
</div>
|