|
@@ -235,11 +235,11 @@
|
|
|
<a href="#sub-ap" data-toggle="modal" data-category="" data-target="#sub-ap" id="hideSp">修改审批流程</a>
|
|
|
<div class="card mt-3">
|
|
|
<ul class="list-group list-group-flush">
|
|
|
- <% for (const audit of auditList) { %>
|
|
|
+ <% for (const [index, audit] of auditList.entries()) { %>
|
|
|
<% if (audit.usite === 0) { %>
|
|
|
<li class="list-group-item">
|
|
|
<i class="fa fa-play-circle fa-rotate-90"></i>
|
|
|
- <%= audit.name %> <small class="text-muted"><%= audit.jobs %></small>
|
|
|
+ <%= audit.name %> <small class="text-muted"><%= audit.jobs %></small><span class="pull-right"><%= index === 0 ? '原报' : (index+1 === auditList.length ? '终审' : ctx.helper.transFormToChinese(index+1) + '审') %></span>
|
|
|
</li>
|
|
|
<% } %>
|
|
|
<% } %>
|
|
@@ -344,7 +344,7 @@
|
|
|
<% } else if (index+1 === auditList2.length) { %>
|
|
|
<i class="fa fa-stop-circle"></i>
|
|
|
<% } %>
|
|
|
- <%= a.name %> <small class="text-muted"><%= a.jobs %></small>
|
|
|
+ <%= a.name %> <small class="text-muted"><%= a.jobs %></small><span class="pull-right"><%= a.usite === 0 ? '原报' : (index+1 === auditList2.length ? '终审' : ctx.helper.transFormToChinese(index+1) + '审') %></span>
|
|
|
</li>
|
|
|
<% } %>
|
|
|
</ul>
|