|
@@ -119,7 +119,7 @@
|
|
|
<h5 class="card-title">
|
|
|
<i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small>
|
|
|
</h5>
|
|
|
- <% if (auditors[iA].status === auditConst.status.checked) { %>
|
|
|
+ <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNoPre) { %>
|
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
|
<% } else if (auditors[iA].status === auditConst.status.checking) { %>
|
|
|
<div class="form-group">
|
|
@@ -190,7 +190,7 @@
|
|
|
<h5 class="card-title">
|
|
|
<i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small>
|
|
|
</h5>
|
|
|
- <% if (auditors[iA].status === auditConst.status.checked) { %>
|
|
|
+ <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNoPre) { %>
|
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
|
<% } else if (auditors[iA].status === auditConst.status.checking) { %>
|
|
|
<div class="form-group">
|
|
@@ -202,7 +202,7 @@
|
|
|
<input class="form-check-input" type="radio" name="checkType" id="inlineRadio1" value="<%- auditConst.status.checkNo %>">
|
|
|
<label class="form-check-label" for="inlineRadio1">退回上报 <%- ctx.stage.user.name %></label>
|
|
|
</div>
|
|
|
- <% if (auditors[iA].order > 1) { %>
|
|
|
+ <% if (auditors[iA].order > 1 && auditors[iA].aid !== auditors[0].aid) { %>
|
|
|
<div class="form-check form-check-inline">
|
|
|
<input class="form-check-input" type="radio" name="checkType" id="inlineRadio2" value="<%- auditConst.status.checkNoPre %>">
|
|
|
<label class="form-check-label" for="inlineRadio2">退回上一审批人 <%- auditors[iA-1].name %></label>
|
|
@@ -849,7 +849,7 @@
|
|
|
<h5 class="card-title">
|
|
|
<i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small>
|
|
|
</h5>
|
|
|
- <% if (auditors[iA].status === auditConst.status.checked) { %>
|
|
|
+ <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNoPre) { %>
|
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
|
<% } else if (auditors[iA].status === auditConst.status.checking) { %>
|
|
|
<div class="form-group">
|
|
@@ -920,7 +920,7 @@
|
|
|
<h5 class="card-title">
|
|
|
<i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small>
|
|
|
</h5>
|
|
|
- <% if (auditors[iA].status === auditConst.status.checked) { %>
|
|
|
+ <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNoPre) { %>
|
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
|
<% } else if (auditors[iA].status === auditConst.status.checking) { %>
|
|
|
<div class="form-group">
|
|
@@ -932,7 +932,7 @@
|
|
|
<input class="form-check-input" type="radio" name="checkType" id="inlineRadio1" value="<%- auditConst.status.checkNo %>">
|
|
|
<label class="form-check-label" for="inlineRadio1">退回上报 <%- ctx.stage.user.name %></label>
|
|
|
</div>
|
|
|
- <% if (auditors[iA].order > 1) { %>
|
|
|
+ <% if (auditors[iA].order > 1 && auditors[iA].aid !== auditors[0].aid) { %>
|
|
|
<div class="form-check form-check-inline">
|
|
|
<input class="form-check-input" type="radio" name="checkType" id="inlineRadio2" value="<%- auditConst.status.checkNoPre %>">
|
|
|
<label class="form-check-label" for="inlineRadio2">退回上一审批人 <%- auditors[iA-1].name %></label>
|