|
@@ -187,10 +187,15 @@
|
|
|
</div>
|
|
|
<div class="col-8 modal-height-500" style="overflow: auto">
|
|
|
<% auditHistory.forEach((auditors, idx) => { %>
|
|
|
+ <!-- 展开/收起历史流程 -->
|
|
|
+ <% if(idx === auditHistory.length - 1 && auditHistory.length !== 1) { %>
|
|
|
+ <div class="text-right">
|
|
|
+ <a href="javascript: void(0);" id="fold-btn" data-target="show">展开历史审批流程</a>
|
|
|
+ </div>
|
|
|
+ <% } %>
|
|
|
+ <% }) %>
|
|
|
<div class="<%- idx < auditHistory.length - 1 ? 'fold-card' : '' %>">
|
|
|
- <div class="text-center text-muted"
|
|
|
- <%- idx === auditHistory.length - 1 ? `id="end-target"` : "" %>>
|
|
|
- <%- idx === auditHistory.length - 1 ? 1 : idx+1 %>#</div>
|
|
|
+ <div class="text-center text-muted"><%- idx+1 %>#</div>
|
|
|
<ul class="timeline-list list-unstyled mt-2">
|
|
|
<% auditors.forEach((auditor, index) => { %>
|
|
|
<% if (index === 0) { %>
|
|
@@ -311,13 +316,7 @@
|
|
|
<% }) %>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <!-- 展开/收起历史流程 -->
|
|
|
- <% if(idx === auditHistory.length - 1 && auditHistory.length !== 1) { %>
|
|
|
- <div class="text-right"><a href="javascript: void(0);" id="fold-btn" data-target="show"
|
|
|
- data-idx="<%- idx + 1 %>">展开历史审批流程</a>
|
|
|
- </div>
|
|
|
- <% } %>
|
|
|
- <% }) %>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|